Hi Jim, >>>>> Jim writes: >> I think I can implement `ConTeXt-paragraph-commands' like LaTeX mode and >> then you can set it instead of `paragraph-start'. What do you think >> about this idea? > I spent a few minutes looking at the code; I now have a glimmer of > understanding, thanks. > I still am unclear about why the setting of paragraph-start is done in > the after-hook, rather than before the user's hook is called. However, > it may well be that I don't need to understand this. Suppose that there is a file local variable entry for `LaTeX-paragraph-commands'. LaTeX mode uses after-hook so that its value is reflected to `paragraph-start'. In addition, AUCTeX style files casually overwrite `paragraph-start' to support various paragraph commands; in that procedure, they never care what the user set to `paragraph-start' in the mode hook and just overwrite. In other words, AUCTeX doesn't consider `paragraph-start' as a variable which is to be customized in the mode hook. The users are expected to use other variables to control `paragraph-start'. > I think your solution would work for me. My current paragraph-start > does not have "[ \t]*" and yet does what I want, but perhaps having "[ > \t]*" won't hurt. Maybe it will make things better in some way I don't > see now. Time will tell. > In summary, thanks very much for the response, and if you are able to > implement that for ConTeXt-mode I would very much appreciate it. Thanks. Can you try the attached patch? If you customize the new option `ConTeXt-paragraph-commands', its value will be reflected to `paragraph-start' (for new buffers created after the customization). Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine #Gaza #StopMassiveKilling #CeasefireNOW