emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Option to override date on org-add-note?


From: Nick Dokos
Subject: Re: [O] Option to override date on org-add-note?
Date: Mon, 18 Aug 2014 12:38:53 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Edward DeMeulle <address@hidden> writes:

> Frequently I find myself logging a note for something that occurred in
> the past either because I wasn't at my computer or just not paying
> attention at the time. C-u C-c C-z doesn't change anything. I tried
> looking at the source code for the logging functions but nothing jumped
> out. Does this option already exist somewhere I've missed?
>

Not that I can see: the timestamp is obtained by calling
org-current-effective-time which doesn't have any facilities
for interactive time entering. There are two variables that
influence it:

o org-use-last-clock-out-time
o org-use-effective-time

If you use clocking, you might want to investigate the first one.  The
second one makes the function obey your org-extend-today-until
preference (good for night-owls, but perhaps not much else). Both of
them are all-or-nothing.

AFAICT, neither of them will do what you want (at least not all the
time).

But you can manually modify time stamps quickly after the fact:

    (info "(org) Creating timestamps")

In particular, S-<up>/S-<down> on any particular field of the date
will modify that entry. I generally find that easy enough to do
in the rare occasions when I need to modify a timestamp, but ymmv.

--
Nick









reply via email to

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