emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Option to override date on org-add-note?
Date: Mon, 18 Aug 2014 12:38:53 -0400	[thread overview]
Message-ID: <87siktzraa.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: 871tsdsvtk.fsf@demeulle.org

Edward DeMeulle <ed@demeulle.org> 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	other threads:[~2014-08-18 16:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-18 14:42 Option to override date on org-add-note? Edward DeMeulle
2014-08-18 16:38 ` Nick Dokos [this message]

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=87siktzraa.fsf@alphaville.bos.redhat.com \
    --to=ndokos@gmail.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).