From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell Adams Subject: Re: Automatically insert inactive timestamps Date: Tue, 7 Dec 2010 20:06:36 -0600 Message-ID: <20101208020636.GX5515@x201> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=48153 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQ9Qq-0005vD-P7 for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 21:07:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQ9Qp-0003wc-Ct for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 21:07:00 -0500 Received: from jack.asmallorange.com ([74.52.119.82]:58538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQ9Qp-0003vG-9w for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 21:06:59 -0500 Received: from 206.180.155.43.adsl.hal-pc.org ([206.180.155.43] helo=localhost) by jack.asmallorange.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1PQ9Qj-0001yt-CS for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 21:06:53 -0500 Content-Disposition: inline In-Reply-To: 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: emacs-orgmode@gnu.org On Wed, Dec 08, 2010 at 12:24:33AM +0000, Julian Burgos wrote: > Dear list, > > This is the newbie question of the day. I would like to get an inactive > time stamp automatically in each new entry in org mode. Could somebody > explain me how to do this? > > Many thanks, > > Julian If you are using org-capture, you can include a timestamp with %U. Alternatively, I don't know about "automatically", but I use a one-touch timestamp via F9 with the following in my .emacs file. Every time I switch tasks I hit F9.... ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Insert immediate timestamp (setq org-agenda-skip-additional-timestamps nil) (define-key global-map (kbd "") '(lambda () (interactive) (when (eq major-mode 'org-mode) (org-insert-time-stamp nil t t) (insert "\n")))) Good luck. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3