From: Carsten Dominik <carsten.dominik@gmail.com>
To: "Sébastien Vauban" <wxhgmqzgwmuf@spammotel.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: hitting tab on last number item in list hides next paragraph
Date: Fri, 15 Jan 2010 08:13:34 +0100 [thread overview]
Message-ID: <C1C1F51E-F428-4884-A41B-F5D74F486A7F@gmail.com> (raw)
In-Reply-To: <873a2am34b.fsf@mundaneum.com>
On Jan 13, 2010, at 4:33 PM, Sébastien Vauban wrote:
> Hi Carsten,
>
> Carsten Dominik wrote:
>> On Jan 13, 2010, at 3:11 PM, Sébastien Vauban wrote:
>>> Eric S Fraga wrote:
>>>> Carsten Dominik wrote:
>>>>> On Jan 12, 2010, at 3:20 PM, Eric S Fraga wrote:
>>>>>>
>>>>>> with the attached file, if I position the cursor on the 3rd
>>>>>> numbered
>>>>>> entry in the first list and hit tab, the following single
>>>>>> sentence
>>>>>> paragraph is hidden. This seems somewhat non-intuitive to me or
>>>>>> have I
>>>>>> misunderstood something. My impression was that indentation was
>>>>>> used to
>>>>>> identify continuing elements in a list or paragraph. Even
>>>>>> adding more
>>>>>> blank lines between that 3rd entry and the sentence doesn't
>>>>>> make any
>>>>>> difference.
>>>>>>
>>>>>> This is not critical by any means! Just a curious behaviour.
>>>>>
>>>>> Yes, this is a shortcoming of list cycling which I cannot fix.
>>>>> Folding a
>>>>> list item will always fold to the next item and not recognize
>>>>> the end of
>>>>> the item as given by indentation.
>>>>>
>>>>> If you find it too confusing, turn off `org-cycle-include-plain-
>>>>> lists'.
>>>>
>>>> I may just do that as I don't often want to hide list entries
>>>> actually.
>>>
>>> I'll do that as well, as I'm always caught when trying to indent
>>> correctly
>>> a list item...
>>>
>>> But, indeed, this is a very tiny detail.
>>
>> Well, we could consider changing the defualt value for that
>> variable......
>
> I guess it could make sense, yes.
>
> BTW, having updated that var for me (right now, in my `.emacs'
> file), it's OK
> for properly indenting the first list item, but the others don't
> move when
> TABbing. Any reason?
Yes. You might be sitting in a deeply indented list structure, and
changing the indentation of an item that has less indentation
than the item above it would change the structure.
Mind that this is inherently tricky, and it has to be heuristic.
I think there is no really good solution to this in the sense
that it would allow you to re-indent an entire buffer using
TAB just like with a programming language. Indentation has
syntactic meaning in Org.
I myself am using promotion/demotion commands to change
the indentation of list items, and I have trained myself
to make list items as much as possible with M-RET.
Best wishes
- Carsten
next prev parent reply other threads:[~2010-01-15 8:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-12 14:20 hitting tab on last number item in list hides next paragraph Eric S Fraga
2010-01-13 13:18 ` Carsten Dominik
2010-01-13 13:33 ` Eric S Fraga
2010-01-13 14:11 ` Sébastien Vauban
2010-01-13 14:26 ` Carsten Dominik
2010-01-13 15:33 ` Sébastien Vauban
2010-01-15 7:13 ` Carsten Dominik [this message]
2010-01-15 8:58 ` Sébastien Vauban
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C1C1F51E-F428-4884-A41B-F5D74F486A7F@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=wxhgmqzgwmuf@spammotel.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.