From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Option to override date on org-add-note? Date: Mon, 18 Aug 2014 12:38:53 -0400 Message-ID: <87siktzraa.fsf@alphaville.bos.redhat.com> References: <871tsdsvtk.fsf@demeulle.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJPxk-0004m5-0G for emacs-orgmode@gnu.org; Mon, 18 Aug 2014 12:39:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJPxd-0003Ou-0f for emacs-orgmode@gnu.org; Mon, 18 Aug 2014 12:39:15 -0400 Received: from plane.gmane.org ([80.91.229.3]:35578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJPxc-0003Oj-QT for emacs-orgmode@gnu.org; Mon, 18 Aug 2014 12:39:08 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XJPxb-0003g9-EG for emacs-orgmode@gnu.org; Mon, 18 Aug 2014 18:39:07 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Aug 2014 18:39:07 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Aug 2014 18:39:07 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Edward DeMeulle 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-/S- 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