emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] SPACE jumps to tag in header line after hidden emphasis marker


From: Ihor Radchenko
Subject: Re: [BUG] SPACE jumps to tag in header line after hidden emphasis marker [9.7-pre (release_9.6.7-562-g5b6268 @ /home/jschmidt/work/org-mode/lisp/)]
Date: Wed, 19 Jul 2023 07:10:40 +0000

Ihor Radchenko <yantar92@posteo.net> writes:

>> OTOH, to fix my bug, only the first of the new `org-rear-nonsticky-at' 
>> calls is actually needed.  So probably we could have something like the 
>> following to get my bug fixed without any changes in behavior (diff on 
>> top of main, that is, in addition to your commit):
>
> I am not sure if it is a proper fix. The basic problem is that Org's
> syntax table does not declare emphasis markup as part of a word.
>
> I need to consult Emacs devs about rules of point adjustment.

I see no good way to address this quickly, so I re-added stickiness to
the opening emphasis marker, as you suggested.

https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=724135dda

Follow-ups:
1. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64724 (for Emacs point
   adjustment rules)
2. https://orgmode.org/list/87edl41jf0.fsf@localhost (for proper
   handling of emphasis markers when moving across words)

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]