emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* hitting tab on last number item in list hides next paragraph
@ 2010-01-12 14:20 Eric S Fraga
  2010-01-13 13:18 ` Carsten Dominik
  0 siblings, 1 reply; 8+ messages in thread
From: Eric S Fraga @ 2010-01-12 14:20 UTC (permalink / raw)
  To: org-mode mailing list

Carsten et al.,

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.

I am using org 6.34a from git repository as of half an hour ago.

Thanks,
eric

===File ~/s/test/test.org===================================
#+TITLE: test file for org mode
#+DESCRIPTION: used for bug reports

* A headline
  1. a numbered list
  2. the second entry
  3. and another

  hopefully a new paragraph which separates the lists

  1. another numbered list
  2. and the second entry
  3. and the third and last entry
============================================================

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: hitting tab on last number item in list hides next paragraph
  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
  0 siblings, 1 reply; 8+ messages in thread
From: Carsten Dominik @ 2010-01-13 13:18 UTC (permalink / raw)
  To: e.fraga; +Cc: org-mode mailing list


On Jan 12, 2010, at 3:20 PM, Eric S Fraga wrote:

> Carsten et al.,
>
> 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.

Hi Eric,


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

- Carsten

I am using org 6.34a from git repository as of half an hour ago.
>
> Thanks,
> eric
>
> ===File ~/s/test/test.org===================================
> #+TITLE: test file for org mode
> #+DESCRIPTION: used for bug reports
>
> * A headline
>  1. a numbered list
>  2. the second entry
>  3. and another
>
>  hopefully a new paragraph which separates the lists
>
>  1. another numbered list
>  2. and the second entry
>  3. and the third and last entry
> ============================================================
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: hitting tab on last number item in list hides next paragraph
  2010-01-13 13:18 ` Carsten Dominik
@ 2010-01-13 13:33   ` Eric S Fraga
  2010-01-13 14:11     ` Sébastien Vauban
  0 siblings, 1 reply; 8+ messages in thread
From: Eric S Fraga @ 2010-01-13 13:33 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode mailing list

At Wed, 13 Jan 2010 14:18:51 +0100,
Carsten Dominik wrote:
> 
> 
> On Jan 12, 2010, at 3:20 PM, Eric S Fraga wrote:
> 
> > Carsten et al.,
> >
> > 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.
> 
> Hi Eric,
> 
> 
> 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.

Okay, that's perfectly fine.  Like I said, not critical at all and
you've satisfied my curiosity ;-)

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

Thanks,
eric

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: hitting tab on last number item in list hides next paragraph
  2010-01-13 13:33   ` Eric S Fraga
@ 2010-01-13 14:11     ` Sébastien Vauban
  2010-01-13 14:26       ` Carsten Dominik
  0 siblings, 1 reply; 8+ messages in thread
From: Sébastien Vauban @ 2010-01-13 14:11 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Eric and Carsten,

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.

Thanks,
  Seb

-- 
Sébastien Vauban



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Re: hitting tab on last number item in list hides next paragraph
  2010-01-13 14:11     ` Sébastien Vauban
@ 2010-01-13 14:26       ` Carsten Dominik
  2010-01-13 15:33         ` Sébastien Vauban
  0 siblings, 1 reply; 8+ messages in thread
From: Carsten Dominik @ 2010-01-13 14:26 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: emacs-orgmode


On Jan 13, 2010, at 3:11 PM, Sébastien Vauban wrote:

> Hi Eric and Carsten,
>
> 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......

- Carsten

>
> Thanks,
>  Seb
>
> -- 
> Sébastien Vauban
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: hitting tab on last number item in list hides next paragraph
  2010-01-13 14:26       ` Carsten Dominik
@ 2010-01-13 15:33         ` Sébastien Vauban
  2010-01-15  7:13           ` Carsten Dominik
  0 siblings, 1 reply; 8+ messages in thread
From: Sébastien Vauban @ 2010-01-13 15:33 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

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?

Best regards,
  Seb

-- 
Sébastien Vauban



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Re: hitting tab on last number item in list hides next paragraph
  2010-01-13 15:33         ` Sébastien Vauban
@ 2010-01-15  7:13           ` Carsten Dominik
  2010-01-15  8:58             ` Sébastien Vauban
  0 siblings, 1 reply; 8+ messages in thread
From: Carsten Dominik @ 2010-01-15  7:13 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: hitting tab on last number item in list hides next paragraph
  2010-01-15  7:13           ` Carsten Dominik
@ 2010-01-15  8:58             ` Sébastien Vauban
  0 siblings, 0 replies; 8+ messages in thread
From: Sébastien Vauban @ 2010-01-15  8:58 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Carsten,

Carsten Dominik wrote:
> On Jan 13, 2010, at 4:33 PM, Sébastien Vauban wrote:
>> Carsten Dominik wrote:
>>> 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.

OK with me...

Thanks for answering!

Best regards,
  Seb

-- 
Sébastien Vauban



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-01-15  8:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2010-01-15  8:58             ` Sébastien Vauban

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