emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* orgalist list item spacing
@ 2018-09-14 21:47 Eric Abrahamsen
  2018-09-15 11:22 ` Eric S Fraga
  0 siblings, 1 reply; 7+ messages in thread
From: Eric Abrahamsen @ 2018-09-14 21:47 UTC (permalink / raw)
  To: emacs-orgmode

I'm a happy user of orgalist, it's very nice to be able to have basic
Org structures in email.

One thing I noticed is that if a paragraph line wraps so that the last
line has a number followed by a full stop, orgalist treats that as a
list item. It seems to me that text should not be considered a list item
unless there's a blank line above it. Ie, this is currently considered a
list item:

This is an email talking about some future plans that will take place in
2020. This line with the 2020<full stop> is considered a list item.

      As evidenced by the indent automatically applied to this line.
      
C-j fixes it, as usual.

Is this a bug, or a configurable option, or just the way it's supposed
to work?

Thanks,
Eric

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

* Re: orgalist list item spacing
  2018-09-14 21:47 orgalist list item spacing Eric Abrahamsen
@ 2018-09-15 11:22 ` Eric S Fraga
  2018-09-15 18:03   ` Eric Abrahamsen
  2018-09-15 18:25   ` Nicolas Goaziou
  0 siblings, 2 replies; 7+ messages in thread
From: Eric S Fraga @ 2018-09-15 11:22 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: emacs-orgmode

On Friday, 14 Sep 2018 at 14:47, Eric Abrahamsen wrote:
> One thing I noticed is that if a paragraph line wraps so that the last
> line has a number followed by a full stop, orgalist treats that as a
> list item. It seems to me that text should not be considered a list item
> unless there's a blank line above it. Ie, this is currently considered a
> list item:

[...]

> Is this a bug, or a configurable option, or just the way it's supposed
> to work?

Long standing "feature" of org.  Unless you do require a blank line
between items, it is impossible to differentiate between the start of a
numbered item and the continuation of the previous item in this case.

It's an annoyance sometimes but usually minor.

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.13-783-g97fac4

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

* Re: orgalist list item spacing
  2018-09-15 11:22 ` Eric S Fraga
@ 2018-09-15 18:03   ` Eric Abrahamsen
  2018-09-17  5:46     ` Eric S Fraga
  2018-09-15 18:25   ` Nicolas Goaziou
  1 sibling, 1 reply; 7+ messages in thread
From: Eric Abrahamsen @ 2018-09-15 18:03 UTC (permalink / raw)
  To: emacs-orgmode

Eric S Fraga <esflists@gmail.com> writes:

> On Friday, 14 Sep 2018 at 14:47, Eric Abrahamsen wrote:
>> One thing I noticed is that if a paragraph line wraps so that the last
>> line has a number followed by a full stop, orgalist treats that as a
>> list item. It seems to me that text should not be considered a list item
>> unless there's a blank line above it. Ie, this is currently considered a
>> list item:
>
> [...]
>
>> Is this a bug, or a configurable option, or just the way it's supposed
>> to work?
>
> Long standing "feature" of org.  Unless you do require a blank line
> between items, it is impossible to differentiate between the start of a
> numbered item and the continuation of the previous item in this case.
>
> It's an annoyance sometimes but usually minor.

Huh, I've never seen this in org-mode proper. I just went and did a bit
of testing, and it looks like wrapping in org-mode involves some
cleverness where it "over-wraps" lines that would otherwise start with a
number, making sure the previous word always comes down to start the
next line. Orgalist isn't that clever, which I guess is by design, and
probably a good thing.

Eric

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

* Re: orgalist list item spacing
  2018-09-15 11:22 ` Eric S Fraga
  2018-09-15 18:03   ` Eric Abrahamsen
@ 2018-09-15 18:25   ` Nicolas Goaziou
  2018-09-15 19:38     ` Eric Abrahamsen
  1 sibling, 1 reply; 7+ messages in thread
From: Nicolas Goaziou @ 2018-09-15 18:25 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: emacs-orgmode

Hello,

Eric S Fraga <esflists@gmail.com> writes:

> On Friday, 14 Sep 2018 at 14:47, Eric Abrahamsen wrote:
>> One thing I noticed is that if a paragraph line wraps so that the last
>> line has a number followed by a full stop, orgalist treats that as a
>> list item. It seems to me that text should not be considered a list item
>> unless there's a blank line above it. Ie, this is currently considered a
>> list item:
>
> [...]
>
>> Is this a bug, or a configurable option, or just the way it's supposed
>> to work?
>
> Long standing "feature" of org.  Unless you do require a blank line
> between items, it is impossible to differentiate between the start of a
> numbered item and the continuation of the previous item in this case.

Correct.

I released Orgalist 1.9, which should hopefully mitigate this issue. In
particular, it is now impossible for auto fill to create these wrong
items.

Regards,

-- 
Nicolas Goaziou

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

* Re: orgalist list item spacing
  2018-09-15 18:25   ` Nicolas Goaziou
@ 2018-09-15 19:38     ` Eric Abrahamsen
  0 siblings, 0 replies; 7+ messages in thread
From: Eric Abrahamsen @ 2018-09-15 19:38 UTC (permalink / raw)
  To: emacs-orgmode

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Eric S Fraga <esflists@gmail.com> writes:
>
>> On Friday, 14 Sep 2018 at 14:47, Eric Abrahamsen wrote:
>>> One thing I noticed is that if a paragraph line wraps so that the last
>>> line has a number followed by a full stop, orgalist treats that as a
>>> list item. It seems to me that text should not be considered a list item
>>> unless there's a blank line above it. Ie, this is currently considered a
>>> list item:
>>
>> [...]
>>
>>> Is this a bug, or a configurable option, or just the way it's supposed
>>> to work?
>>
>> Long standing "feature" of org.  Unless you do require a blank line
>> between items, it is impossible to differentiate between the start of a
>> numbered item and the continuation of the previous item in this case.
>
> Correct.
>
> I released Orgalist 1.9, which should hopefully mitigate this issue. In
> particular, it is now impossible for auto fill to create these wrong
> items.

Thanks! Maybe I was misinterpreting what I was seeing in Org mode buffers.

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

* Re: orgalist list item spacing
  2018-09-15 18:03   ` Eric Abrahamsen
@ 2018-09-17  5:46     ` Eric S Fraga
  2018-09-17 15:18       ` Eric Abrahamsen
  0 siblings, 1 reply; 7+ messages in thread
From: Eric S Fraga @ 2018-09-17  5:46 UTC (permalink / raw)
  To: Eric Abrahamsen; +Cc: emacs-orgmode

On Saturday, 15 Sep 2018 at 11:03, Eric Abrahamsen wrote:
> Eric S Fraga <esflists@gmail.com> writes:
>> Long standing "feature" of org.  Unless you do require a blank line
>> between items, it is impossible to differentiate between the start of a
>> numbered item and the continuation of the previous item in this case.
>
> Huh, I've never seen this in org-mode proper. 

Silly me.  I was comparing apples and oranges.  In org mode, I use
visual-line-mode and no filling; in message mode, I use
auto-fill.  Sorry for my intervention!

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.13-783-g97fac4

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

* Re: orgalist list item spacing
  2018-09-17  5:46     ` Eric S Fraga
@ 2018-09-17 15:18       ` Eric Abrahamsen
  0 siblings, 0 replies; 7+ messages in thread
From: Eric Abrahamsen @ 2018-09-17 15:18 UTC (permalink / raw)
  To: emacs-orgmode

Eric S Fraga <esflists@gmail.com> writes:

> On Saturday, 15 Sep 2018 at 11:03, Eric Abrahamsen wrote:
>> Eric S Fraga <esflists@gmail.com> writes:
>>> Long standing "feature" of org.  Unless you do require a blank line
>>> between items, it is impossible to differentiate between the start of a
>>> numbered item and the continuation of the previous item in this case.
>>
>> Huh, I've never seen this in org-mode proper. 
>
> Silly me.  I was comparing apples and oranges.  In org mode, I use
> visual-line-mode and no filling; in message mode, I use
> auto-fill.  Sorry for my intervention!

No worries, I still ended up learning something :)

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

end of thread, other threads:[~2018-09-17 15:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-14 21:47 orgalist list item spacing Eric Abrahamsen
2018-09-15 11:22 ` Eric S Fraga
2018-09-15 18:03   ` Eric Abrahamsen
2018-09-17  5:46     ` Eric S Fraga
2018-09-17 15:18       ` Eric Abrahamsen
2018-09-15 18:25   ` Nicolas Goaziou
2018-09-15 19:38     ` Eric Abrahamsen

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