From: Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 41442@debbugs.gnu.org
Subject: bug#41442: 26.3; `forward-sexp' in LaTeX mode
Date: Wed, 09 Dec 2020 14:55:57 +0100 [thread overview]
Message-ID: <875z5b3wya.fsf@gnus.org> (raw)
In-Reply-To: <6ac8528b-ef81-4ae3-bc22-ce38f0ac5807@default> (Drew Adams's message of "Thu, 21 May 2020 13:38:42 -0700 (PDT)")
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
next prev parent reply other threads:[~2020-12-09 13:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-21 20:38 bug#41442: 26.3; `forward-sexp' in LaTeX mode Drew Adams
2020-12-09 13:55 ` Lars Ingebrigtsen [this message]
2020-12-09 16:41 ` Drew Adams
2020-12-09 16:49 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875z5b3wya.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=41442@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.