bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#41442: 26.3; `forward-sexp' in LaTeX mode


From: Lars Ingebrigtsen
Subject: bug#41442: 26.3; `forward-sexp' in LaTeX mode
Date: Wed, 09 Dec 2020 14:55:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Drew Adams <drew.adams@oracle.com> writes:

> Dunno whether this is a bug (haven't used LaTeX in 30 years).
>
> See https://emacs.stackexchange.com/q/58644/105
>
> Seems like `forward-sexp', with cursor before the `{', should move past
> the `}'.  Instead, it takes account of parens in between: if they are
> balanced then it moves to the `}'.  Else it moves to a `)' that seems to
> balance the `{'.
>
> In LaTeX does it ever really make sense for `)' to balance `{'?
> If not, then I think we have a bug.  Hopefully someone familiar with
> LaTeX will be able to judge.

emacs -Q a.tex
\foo{bar (zot) gazonk}

I tried `C-M-f' on the first { character, and it skipped to the closing
} character.

Do you have a test case to reproduce this bug?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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