Finally, it has nothing to do with my own settings.
It happens with this :
- zeze
- ghrghrgh
- lqlqsqs
1. sdsdsd
- sdsd
- mcpscls
because there is only one line between both lists and (I did not know
it) orgmode thinks they are the same, then any depth change in second
list changes the 1
DEBRY.Edouard writes:
> if I perform Alt-leftarrow on mmd, this element is shift on the left
> but then the whole list is turned into :
> - first
>- ssdsd
>- mmd
> - second
>
> Is there a way to avoid that ?
I am unable to reproduce on the latest main and bugfix.
Best,
Ihor
The only trouble with this is that if I have a list with both numbers
and bullets :
1. first
- ssdsd
- mmd
2. second
if I perform Alt-leftarrow on mmd, this element is shift on the left
but then the whole list is turned into :
- first
- ssdsd
- mmd
- second
Is there a w
Edouard Debry writes:
> Are you sure bullet lists are irrelevant to org ?
>
> I tried without success to make a list without "-" or "+" in my
> *scratch*.
>
Sorry, I wasn't clear enough. The 'marker' which is at the start of a
list item is important to org. What isn't important is the type of
Thanks for your information complement. Indeed, I know too few about
emacs to guess that by myself.
And it works !
For anyone interested, here are the settings :
(font-lock-add-keywords 'org-mode
'(("^ *\\([-]\\) "
(0 (let* ((depth (org-list--
Edouard Debry writes:
> The key point is the regexp. I do not know if it is possible to capture
> the depth level with a regexp. That is why I tried to use
> org-list--depth in :
>
> ...
> but it seems that "org-element-at-point" messes things.
Sorry, I though that I gave you enough information
What I am looking forward to is
1) not modifying the true "bullet" in the raw text, it will always be
"-" I just want the appearance to look "nicer"
2) having a bullet appearance level depth specific, e.g.
▪ this is first level of a list
▪ still first level
➤ this is the second level
➤ this i
Are you sure bullet lists are irrelevant to org ?
I tried without success to make a list without "-" or "+" in my
*scratch*.
Regards
Tim Cross writes:
> Samuel Wales writes:
>
>> sure.
>>
>> iiuc i think op wants 2 things:
>>
>> 1] graphical bullets. i.e. not the - + etc. that are in the
Samuel Wales writes:
> sure.
>
> iiuc i think op wants 2 things:
>
> 1] graphical bullets. i.e. not the - + etc. that are in the org
> plain text as saved to disk.
> 2] each level of a list to have the same bullet style
>
>
> examples of 2]:
>
> a conforming list:
>
> - this is level 1. f
sure.
iiuc i think op wants 2 things:
1] graphical bullets. i.e. not the - + etc. that are in the org
plain text as saved to disk.
2] each level of a list to have the same bullet style
examples of 2]:
a conforming list:
- this is level 1. for this list, we always want level 1 to
use t
Samuel Wales writes:
> i wonder if org could do the semantics in the text, while
> fontification could do the appearance only.
>
> org allows you to change the bullet style [real text bullets rather
> than fontification] upon demotion.
>
> thus, you can have it consistent that demoting + from top
grr i meant "item 1" not "level 1".
On 6/16/22, Samuel Wales wrote:
> i wonder if org could do the semantics in the text, while
> fontification could do the appearance only.
>
> org allows you to change the bullet style [real text bullets rather
> than fontification] upon demotion.
>
> thus, you
i wonder if org could do the semantics in the text, while
fontification could do the appearance only.
org allows you to change the bullet style [real text bullets rather
than fontification] upon demotion.
thus, you can have it consistent that demoting + from top level will
create - on level 2 for
DEBRY.Edouard writes:
> I mean that all custom set faces disappear, just try, if it works for
> you i am interested
I see. FYI, you can try to run M-x font-lock-debug-fontify to identify
the problem.
The issue you are seeing is because org-element-at-point alters match
data and thus your (match
I mean that all custom set faces disappear, just try, if it works for
you i am interested
Ihor Radchenko writes:
> ---
> Attention, ce
DEBRY.Edouard writes:
> But it breaks the org file.
What do you mean by "breaks the org file"?
When making a plain list in orgmode, I would like to change of bullet
autmatically depending on the list depth.
Currently, I use this to prettify bullets :
(font-lock-add-keywords 'org-mode
'(("^ *\\([-]\\) "
(0 (prog1
17 matches
Mail list logo