emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Insert time in Org-mode


From: Russell Adams
Subject: Re: [O] Insert time in Org-mode
Date: Wed, 26 Jun 2019 21:04:27 +0200
User-agent: Mutt/1.10.1 (2018-07-13)

On Tue, Jun 25, 2019 at 06:41:15PM +0200, gmx wrote:
> Hello,
>
> How to insert the current time? I have a table in which I want to
> indicate the beginning of an oral exam (firt column), the end (second
> column), and (third column) make the difference between the two (I can
> do that).

I use this:

;; Insert immediate timestamp
(bind-key "<f9>"
                  '(lambda () (interactive)
                         (when (eq major-mode 'org-mode)
                           (org-insert-time-stamp nil t t)
                           (insert "\n"))))

I press f9 all the time while note taking to timestamp my activities.

------------------------------------------------------------------
Russell Adams                            address@hidden

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

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]