false-list-item-mode?

2021-02-23 Thread Juan Manuel Macías
Hi, This is not a solution to what was commented in this recent thread (https://lists.gnu.org/archive/html/emacs-orgmode/2021-02/msg00239.html) on the false list item issue. But, in case anyone finds it useful, I happened to sketch this minor mode to highlight, while typing, *only* (+/-) those

Re: 'false' list item

2021-02-22 Thread Eric S Fraga
Hello all, > YMMV depending on your needs and habits, but another workaround for this > problem would be to use visual-line-mode instead of filling paragraphs. as Kyle has already mentioned, this is a well known limitation of org and no reasonable solution has been found in the past. I partly mo

Re: 'false' list item

2021-02-21 Thread Greg Minshall
Tim, > There is no plans to change anything as far as I know. What I wrote was > mainly to show why we have the situation and that any proposed solution > has its own drawbacks. thanks. (i assumed that, but ...) > Bottom line, we cannot easily prevent the 'false' lis

Re: 'false' list item

2021-02-21 Thread Tim Cross
What I wrote was mainly to show why we have the situation and that any proposed solution has its own drawbacks. Bottom line, we cannot easily prevent the 'false' list item issue without introducing either other issues or adding some additional syntax to indicate list items, which de

Re: 'false' list item

2021-02-21 Thread Greg Minshall
Tim, > If a line starts with a number, period and space, but that line is > within a paragraph (i.e. no blank line above), then I don't think it > should be interpreted as an enumerated list item. If this is what the OP > is referring to, I would argue it is a bug. If it is a 'paragraph' > startin

Re: 'false' list item

2021-02-21 Thread Juan Manuel Macías
Tim Cross writes: > The issue is, if we decide this is a bug, can we fix it? Is it a bug or > is it just an accepted limitation of the org document format and what we > have to do is ensure either no line starts with a '1. ' or we use > something like a unicode character so that it doesn't look l

Re: 'false' list item

2021-02-21 Thread Tim Cross
Samuel Wales writes: > perhaps if there is no blank line above or below, then it could be not a list. > Initially, that was my thought as well. Unfortunately, it isn't quite that straight forward. Consider the list 1. Item 1 2. Item 2 3. Item 3 The second item has no blank lin

Re: 'false' list item

2021-02-21 Thread Kyle Meyer
Juan Manuel Macías writes: > Kyle Meyer writes: > >> It seems that your approach would do a good job of helping you catch >> cases that you don't want to be treated as lists. I'm not aware of any >> related functionality in Org, so I don't think you're missing something >> there. >> >> Once you

Re: 'false' list item

2021-02-21 Thread Kyle Meyer
Diego Zamboni writes: > Juan Manuel, > > YMMV depending on your needs and habits, but another workaround for this > problem would be to use visual-line-mode instead of filling paragraphs. Note that filling paragraphs in Org should already guard against inadvertently creating a list item. (Some r

Re: 'false' list item

2021-02-21 Thread Juan Manuel Macías
Samuel Wales writes: > perhaps if there is no blank line above or below, then it could be not a list. I think this solution would be fine, although plain paragraphs starting with digit/letter + period + space would be false positives. Anyway, some kind of highlighting in the items, a defined fac

Re: 'false' list item

2021-02-21 Thread Samuel Wales
perhaps if there is no blank line above or below, then it could be not a list. On 2/21/21, Diego Zamboni wrote: > Juan Manuel, > > YMMV depending on your needs and habits, but another workaround for this > problem would be to use visual-line-mode instead of filling paragraphs. > > --Diego > > >

Re: 'false' list item

2021-02-21 Thread Diego Zamboni
Juan Manuel, YMMV depending on your needs and habits, but another workaround for this problem would be to use visual-line-mode instead of filling paragraphs. --Diego On Sun, Feb 21, 2021 at 8:34 PM Juan Manuel Macías wrote: > Kyle Meyer writes: > > > It seems that your approach would do a

Re: 'false' list item

2021-02-21 Thread Juan Manuel Macías
Kyle Meyer writes: > It seems that your approach would do a good job of helping you catch > cases that you don't want to be treated as lists. I'm not aware of any > related functionality in Org, so I don't think you're missing something > there. > > Once you know that there is a particular spot

Re: 'false' list item

2021-02-21 Thread Juan Manuel Macías
Hi, Tim Cross writes: > If a line starts with a number, period and space, but that line is > within a paragraph (i.e. no blank line above), then I don't think it > should be interpreted as an enumerated list item. If this is what the OP > is referring to, I would argue it is a bug. If it is a 'p

Re: 'false' list item

2021-02-20 Thread Tim Cross
Kyle Meyer writes: > Juan Manuel Macías writes: > >> If a line in a paragraph starts with a digit (or letter) + period + >> space, Org misinterprets that as a list item. I almost always notice >> this only when I export my document, which is a nuisance. >> >> I wonder if there is any standard s

Re: 'false' list item

2021-02-20 Thread Kyle Meyer
Juan Manuel Macías writes: > If a line in a paragraph starts with a digit (or letter) + period + > space, Org misinterprets that as a list item. I almost always notice > this only when I export my document, which is a nuisance. > > I wonder if there is any standard solution to that, or if I'm miss

'false' list item

2021-02-15 Thread Juan Manuel Macías
Hi, If a line in a paragraph starts with a digit (or letter) + period + space, Org misinterprets that as a list item. I almost always notice this only when I export my document, which is a nuisance. I wonder if there is any standard solution to that, or if I'm missing something... All that occurr