[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Automatically insert inactive timestamps
From: |
Russell Adams |
Subject: |
Re: [Orgmode] Automatically insert inactive timestamps |
Date: |
Tue, 7 Dec 2010 20:06:36 -0600 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
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 "<f9>")
'(lambda () (interactive)
(when (eq major-mode 'org-mode)
(org-insert-time-stamp nil t t)
(insert "\n"))))
Good luck.
------------------------------------------------------------------
Russell Adams address@hidden
PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/
Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3