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 11:04:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt)

Hi Carsten,

Carsten Dominik wrote:
> On Aug 18, 2011, at 10:22 AM, Sebastien Vauban wrote:
>> Bastien wrote:
>>> Markus Berlin <address@hidden> writes:
>>>> some time ago I noticed this small bug (small but it keeps annoying me!):
>>>> an extra space is introduced just before "SCHEDULED"
>> 
>> 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.
>
> It depends on the presence of *unindented* text in the entry,
> and purposefully so.
>
>> 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---
>
> See the variable `org-adapt-indentation'.

This was left untouched by me, that is set to t (default), with the above
behavior.

If I change it to nil, I'm even farer from the behavior I would like to get.
In this new case:

--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---

The indentation of both SCHEDULED lines is not changed at all.

I would like that their indentation would be changed with the heading, even if
I write all my body text starting in column 0.

So, this is not currently handled, IIUC?

The SCHEDULED lines don't have a different status than the "body text" for
indentation purpose ("follow-headline" or "stay-where-you-are")?

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

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