emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Russell Adams <RLAdams@AdamsInfoServ.Com>
To: emacs-orgmode@gnu.org
Subject: Re: Automatically insert inactive timestamps
Date: Tue, 7 Dec 2010 20:06:36 -0600	[thread overview]
Message-ID: <20101208020636.GX5515@x201> (raw)
In-Reply-To: <AANLkTi=znNNzYZJR0OqY_obiqJGqq-3-HoMiJpdRn4q8@mail.gmail.com>

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                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

  reply	other threads:[~2010-12-08  2:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-08  0:24 Automatically insert inactive timestamps Julian Burgos
2010-12-08  2:06 ` Russell Adams [this message]
2010-12-08  3:01 ` Bernt Hansen
2010-12-08 12:53   ` Andrew J. Korty
2010-12-08 15:10     ` Nick Dokos
2010-12-08 17:25       ` Andrew J. Korty
2010-12-08 17:42     ` Matt Lundin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101208020636.GX5515@x201 \
    --to=rladams@adamsinfoserv.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).