* bug#41442: 26.3; `forward-sexp' in LaTeX mode
@ 2020-05-21 20:38 Drew Adams
2020-12-09 13:55 ` Lars Ingebrigtsen
0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2020-05-21 20:38 UTC (permalink / raw)
To: 41442
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.
In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.18362
Configured using:
`configure --without-dbus --host=x86_64-w64-mingw32
--without-compress-install 'CFLAGS=-O2 -static -g3''
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#41442: 26.3; `forward-sexp' in LaTeX mode
2020-05-21 20:38 bug#41442: 26.3; `forward-sexp' in LaTeX mode Drew Adams
@ 2020-12-09 13:55 ` Lars Ingebrigtsen
2020-12-09 16:41 ` Drew Adams
0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2020-12-09 13:55 UTC (permalink / raw)
To: Drew Adams; +Cc: 41442
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#41442: 26.3; `forward-sexp' in LaTeX mode
2020-12-09 13:55 ` Lars Ingebrigtsen
@ 2020-12-09 16:41 ` Drew Adams
2020-12-09 16:49 ` Lars Ingebrigtsen
0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2020-12-09 16:41 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 41442
> Do you have a test case to reproduce this bug?
No. As I made clear, I just reported what was signaled
on emacs.SE. See the URL in the bug report - maybe that
will help (or not).
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#41442: 26.3; `forward-sexp' in LaTeX mode
2020-12-09 16:41 ` Drew Adams
@ 2020-12-09 16:49 ` Lars Ingebrigtsen
0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2020-12-09 16:49 UTC (permalink / raw)
To: Drew Adams; +Cc: 41442
Drew Adams <drew.adams@oracle.com> writes:
>> Do you have a test case to reproduce this bug?
>
> No. As I made clear, I just reported what was signaled
> on emacs.SE. See the URL in the bug report - maybe that
> will help (or not).
OK, without a test case it's unlikely that we'll make progress here, and
I'm closing this bug report. If progress can be made, respond to the
debbugs address and we'll reopen.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-12-09 16:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-21 20:38 bug#41442: 26.3; `forward-sexp' in LaTeX mode Drew Adams
2020-12-09 13:55 ` Lars Ingebrigtsen
2020-12-09 16:41 ` Drew Adams
2020-12-09 16:49 ` Lars Ingebrigtsen
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.