From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Bug: Extra space inserted in repeated tasks' date line
Date: Thu, 18 Aug 2011 11:04:58 +0200 [thread overview]
Message-ID: <8062lvgked.fsf@somewhere.org> (raw)
In-Reply-To: FEC2D818-E13F-4F4F-97BA-5189349D335C@gmail.com
Hi Carsten,
Carsten Dominik wrote:
> On Aug 18, 2011, at 10:22 AM, Sebastien Vauban wrote:
>> Bastien wrote:
>>> Markus Berlin <ecce.berlin-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> 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
next prev parent reply other threads:[~2011-08-18 9:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-15 12:02 Bug: Extra space inserted in repeated tasks' date line Markus Berlin
2011-08-18 7:55 ` Bastien
2011-08-18 8:22 ` Sebastien Vauban
2011-08-18 8:25 ` Carsten Dominik
2011-08-18 9:04 ` Sebastien Vauban [this message]
2011-08-18 10:02 ` Carsten Dominik
2011-08-18 12:25 ` Sebastien Vauban
2011-08-18 16:19 ` Bastien
2011-08-18 20:54 ` Sebastien Vauban
2011-08-19 7:42 ` Bastien
2011-08-19 8:38 ` Sebastien Vauban
2011-08-19 8:45 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8062lvgked.fsf@somewhere.org \
--to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).