[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
\hyperref macro seems to confuse paren matching
From: |
jfbu |
Subject: |
\hyperref macro seems to confuse paren matching |
Date: |
Mon, 6 Jun 2022 18:23:18 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 |
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
Capture d’écran 2022-06-06 à 18.03.54.png
Description: PNG image
Capture d’écran 2022-06-06 à 18.20.27.png
Description: PNG image
- \hyperref macro seems to confuse paren matching,
jfbu <=
- Re: \hyperref macro seems to confuse paren matching, jfbu, 2022/06/06
- Re: \hyperref macro seems to confuse paren matching, Arash Esbati, 2022/06/07
- Re: \hyperref macro seems to confuse paren matching, Ikumi Keita, 2022/06/08
- Re: \hyperref macro seems to confuse paren matching, Arash Esbati, 2022/06/08
- Re: \hyperref macro seems to confuse paren matching, Ikumi Keita, 2022/06/08
- Re: \hyperref macro seems to confuse paren matching, Arash Esbati, 2022/06/08
- Re: \hyperref macro seems to confuse paren matching, jfbu, 2022/06/08
- Re: \hyperref macro seems to confuse paren matching, Arash Esbati, 2022/06/08
- Re: \hyperref macro seems to confuse paren matching, jfbu, 2022/06/08
- Re: \hyperref macro seems to confuse paren matching, jfbu, 2022/06/08