Hi,

With this source:

% 6 juin 2022
% Emacs a un problème avec ceci, il prétend qu'il y a un } en trop
% ou pas assez avec \foo ou \color à la place de \hyperref ok
% sans mic-paren il y a aussi un problème
%                  {\hyperref{}}
                  {#1}%
    \xspace }%

I have a problem. When I position the point at the opening brace before 
\hyperref, it highlights the closing brace after \xspace.

Normally I use mic-paren, which I did not load for the screen capture attached.

With it it is more spectacular (see second screenshot), when I put the point at 
the closing brace at the end of the \hyperref line, it highlights many lines 
above to find a distant opening brace.

I did not find another macro name than \hyperref triggering the same.

This is trimmed from original problem with many levels of braces until finally 
reaching this.

\hyperref{} on its own seems ok, from the point of view of highlighting (but I 
am not familiar with what is supposed to happen without mic-paren, which I 
turned off momentarily to write this).

Best,

Using AucTeX from a git clone. I updated it for a last check before posting. 
Now at d44f83de8
Emacs 28.1

Jean-François

Reply via email to