From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Chris Randle" Subject: Inactive and Active date stamp editing Date: Tue, 30 Sep 2008 09:10:26 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KkaJX-0001Dt-RK for emacs-orgmode@gnu.org; Tue, 30 Sep 2008 04:10:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KkaJX-0001Db-6w for emacs-orgmode@gnu.org; Tue, 30 Sep 2008 04:10:35 -0400 Received: from [199.232.76.173] (port=42974 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KkaJX-0001DY-3J for emacs-orgmode@gnu.org; Tue, 30 Sep 2008 04:10:35 -0400 Received: from anchor-post-35.mail.demon.net ([194.217.242.85]:4514) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KkaJX-0007qk-CN for emacs-orgmode@gnu.org; Tue, 30 Sep 2008 04:10:35 -0400 Received: from amlog.demon.co.uk ([80.177.106.135] helo=CUBE) by anchor-post-35.mail.demon.net with esmtp (Exim 4.67) id 1KkaJU-000Khc-Ig for emacs-orgmode@gnu.org; Tue, 30 Sep 2008 08:10:33 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: 'org-mode' Hi Carsten If I have an active date stamp and put my cursor in it and type `C-c . . [RET]', this happens: <2008-09-27 Sat> => <2008-09-30 Tue> If I do a similar operation in an inactive stamp with either `C-c . .' or `C-c ! . [RET]', I get [2008-09-27 Sat] => [2008-09-27 Sa[2008-09-30 Tue]t] A quick test shows a similar "corruption" behaviour doing `C-c ! .' on an active date stamp, e.g. <2008-09-27 Sat> => <2008-09-27 Sa[2008-09-30 Tue]t> Could the Date+time editor be made to update inactive date stamps in the same way as active? Also, I'd like it that `C-c .' on an inactive stamp converts it to active after the edit and `C-c !' leaves it as inactive; and similarly, that actives are converted to inactives using `C-c !'. One could argue that a mismatched `C-c .' on an inactive date stamp or `C-c !' on an active date stamp shouldn't edit them, but just insert another date stamp of the different kind, but I cannot think of a situation where one would insert a date stamp inside another. Regardless of the above conversion behaviour, if `C-c .' edits an active date stamp, I'd expect `C-c !' to edit an inactive date stamp. One tiny cosmetic niggle on a similar vein: when invoking the Date+time editor, it always shows its expected output as an active stamp, even if invoked with `C-c !'. Is there a reason for the existing behaviour? If not, please could you consider implementing these two/three suggested changes: 1) editing inactive date stamps, and 2) converting type during edit if invoked with opposite keystrokes (if you see what I mean)? And perhaps if it's a trivial tidy up, 3) the Date+time editor could show <> or [], as appropriate, around its intended output. Many thanks as always. -- Chris Randle Windows XP SP3 - GNU Emacs 22.1.1 - Org-mode 6.07b