From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Bug: Extra space inserted in repeated tasks' date line Date: Thu, 18 Aug 2011 10:22:42 +0200 Message-ID: <80ei0jgmct.fsf@somewhere.org> References: <20110815120242.GA9035@gmail.com> <877h6bcfwp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Bastien and Markus, Bastien wrote: > Markus Berlin writes: > >> some time ago I noticed this small bug (small but it keeps annoying me!): >> >> If the following are set: >> >> (setq org-log-done 'time) >> (setq org-log-repeat nil) >> >> then if you press C-c C-t on a repeated tasks, like this one: >> >> * TODO do nothing >> SCHEDULED: <2011-08-12 Fr .+2d> >> >> an extra space is introduced just before "SCHEDULED", i.e. you get: >> >> * TODO do nothing >> SCHEDULED: <2011-08-17 Mi .+2d> >> ^ >> >> instead of what you want: >> >> * TODO do nothing >> SCHEDULED: <2011-08-17 Mi .+2d> > > This is fixed in the current git repo -- please test and confirm. Similar to this, I've noticed that sometimes the SCHEDULED line (or DEADLINE, or ...) is moved synchronously with the heading when promoting/demoting, sometimes not. I now found in which cases it does and when it does not: it depends on the presence of text in the entry. So, for example: --8<---------------cut here---------------start------------->8--- * The SCHED will be moved SCHEDULED: <2011-08-18 Thu> * This one won't be moved along with the heading SCHEDULED: <2011-08-18 Thu> Because of this text here... --8<---------------cut here---------------end--------------->8--- becomes, when demoted: --8<---------------cut here---------------start------------->8--- * New section ** The SCHED will be moved SCHEDULED: <2011-08-18 Thu> ** This one won't be moved along with the heading SCHEDULED: <2011-08-18 Thu> Because of this text here... --8<---------------cut here---------------end--------------->8--- Best regards, Seb -- Sebastien Vauban