emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: Extra space inserted in repeated tasks' date line


From: Sebastien Vauban
Subject: Re: [O] Bug: Extra space inserted in repeated tasks' date line
Date: Thu, 18 Aug 2011 10:22:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt)

Hi Bastien and Markus,

Bastien wrote:
> Markus Berlin <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]