From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Re: Bug: org-time-stamp loses repeater interval Date: Wed, 29 Jun 2011 14:47:22 +0200 Message-ID: <2011-06-29T14-40-11@devnull.Karl-Voit.at> References: <2011-06-24T16-30-43@devnull.Karl-Voit.at> <8772.1308931315@alphaville.dokosmarshall.org> <2011-06-26T13-23-38@devnull.Karl-Voit.at> <8739ivw8e8.fsf@gnu.org> <2011-06-28T15-28-18@devnull.Karl-Voit.at> <2011-06-28T18-04-12@devnull.Karl-Voit.at> <87sjqt6f3i.fsf@gnu.org> <2011-06-28T20-40-40@devnull.Karl-Voit.at> <874o39v9td.fsf@gnu.org> <24271.1309302652@alphaville.americas.hpqcorp.net> <87pqlxjyp9.fsf@gnu.org> <5383.1309311845@alphaville.dokosmarshall.org> Reply-To: news1142@Karl-Voit.at Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:46694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbuBC-0000gi-Hn for emacs-orgmode@gnu.org; Wed, 29 Jun 2011 08:47:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbuBA-0007vK-Gz for emacs-orgmode@gnu.org; Wed, 29 Jun 2011 08:47:42 -0400 Received: from lo.gmane.org ([80.91.229.12]:46615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbuBA-0007vF-35 for emacs-orgmode@gnu.org; Wed, 29 Jun 2011 08:47:40 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QbuB5-0001ZR-3B for emacs-orgmode@gnu.org; Wed, 29 Jun 2011 14:47:35 +0200 Received: from mail.michael-prokop.at ([88.198.6.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Jun 2011 14:47:35 +0200 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Jun 2011 14:47:35 +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 I checked out via «git pull», re-compiled Org-mode and tested again: this time, all my test cases mentioned in the original posting worked fine. Bug fixed so far. * Nick Dokos wrote: > > There is a peculiar corner case: > > If I have a headline that's both scheduled and deadlined, like this: > > --8<---------------cut here---------------start------------->8--- > * scheduled > DEADLINE: <2011-07-04 Mon +2w -3d> > SCHEDULED: <2011-07-06 Wed +1w -2d> > --8<---------------cut here---------------end--------------->8--- > > and I C-c C-s in the scheduled date, I get a second SCHEDULED: item > with the new date on the DEADLINE line. The original SCHEDULED: is > still on the next line, unchanged - like this: > > --8<---------------cut here---------------start------------->8--- > * scheduled > DEADLINE: <2011-07-04 Mon +2w -3d> SCHEDULED: <2011-07-03 Sun +1w -2d> > SCHEDULED: <2011-07-06 Wed +1w -2d> > --8<---------------cut here---------------end--------------->8--- I can confirm this behavior at my side too. But: When I create SCHEDULED (and DEADLINE) using the shortcut «C-c C-s» SCHEDULED is always in the same like as DEADLINE. In this case, I can not notice the behavior as above. The behavior described by Nick happens only (here) if SCHEDULED is not in the same like as DEADLINE. Remark regarding the order of the two entries: the last thing that gets added/modified is always the last one in this line. So if I create SCHEDULED and DEADLINE, DEADLINE is the second (last) in the line. When I modify SCHEDULED afterwards, it is SCHEDULED that gets positioned at the end of the line. Same for modifications of DEADLINE. -- Karl Voit