From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell Adams Subject: Re: [OT] lisp func to write timestamp to buffer Date: Thu, 29 Oct 2009 21:53:05 -0500 Message-ID: <20091030025305.GY28398@thinkpad.adamsinfoserv.com> References: <1e5bcefd0910291629w187d54a1w4de9fa3185cc1a11@mail.gmail.com> <8260.1256870679@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N3hc2-0002zj-7e for emacs-orgmode@gnu.org; Thu, 29 Oct 2009 22:53:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N3hc0-0002yd-Pn for emacs-orgmode@gnu.org; Thu, 29 Oct 2009 22:53:13 -0400 Received: from [199.232.76.173] (port=34291 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3hc0-0002ya-NX for emacs-orgmode@gnu.org; Thu, 29 Oct 2009 22:53:12 -0400 Received: from squirtle.drak.net ([72.52.144.201]:36937) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N3hc0-0004QS-7Z for emacs-orgmode@gnu.org; Thu, 29 Oct 2009 22:53:12 -0400 Content-Disposition: inline In-Reply-To: <8260.1256870679@gamaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos Cc: Org Mode On Thu, Oct 29, 2009 at 10:44:39PM -0400, Nick Dokos wrote: > Marcelo de Moraes Serpa wrote: > Assuming you are in an org buffer > > C-u C-c ! > > will insert an inactive time stamp (including the current time - that's the prefix argument): > > [2009-10-29 Thu 22:34] > > Similarly > > C-u C-c . > > will insert an active time stamp: > > <2009-10-29 Thu 22:35> > > > The functions bound to C-c ! and C-c . are org-time-stamp-inactive and org-time-stamp > respectively. BTW, both are in the drop-down Org menu: Org/Dates and Scheduling/... > > Is this what you are looking for? > > Nick The function I posted does the same as C-u C-c ! , just with a single key press. I often add a timestamp every time I return to my outline on projects, it maintains a consistent timeline that I can view in the agenda with log mode and showing inactive timestamps. Thanks. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3