From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: property values and timestamps Date: Fri, 14 Oct 2011 01:50:03 -0400 Message-ID: <11760.1318571403@alphaville.dokosmarshall.org> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:54704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REaem-0004b6-Dx for emacs-orgmode@gnu.org; Fri, 14 Oct 2011 01:50:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1REael-0002Hg-8h for emacs-orgmode@gnu.org; Fri, 14 Oct 2011 01:50:08 -0400 Received: from g4t0014.houston.hp.com ([15.201.24.17]:4998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REael-0002F0-5Q for emacs-orgmode@gnu.org; Fri, 14 Oct 2011 01:50:07 -0400 In-Reply-To: Message from Skip Collins of "Fri, 14 Oct 2011 01:16:07 EDT." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Skip Collins Cc: nicholas.dokos@hp.com, emacs-org list Skip Collins wrote: > I store a timestamp in a property. I create the property by > typing > C-c C-x p > and then entering the property name, say BIRTHDAY. Then I > have to enter the date manually. > > It would be nice if > C-c ! > and other timestamp creation commands were available in > the minibuffer when entering property values. > They cannot be: org-time-stamp-inactive uses the minibuffer, and calling a function that uses the minibuffer *from* the minibuffer (as org-set-property would do) make emacs unhappy. You might be able to get away with a simpler function that inserts e.g. the current timestamp without asking the user any questions, but you cannot have the full generality of C-c ! Nick