[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Keybinding C-M-a for LaTeX-find-matching-begin does not work!
From: |
Tassilo Horn |
Subject: |
Re: Keybinding C-M-a for LaTeX-find-matching-begin does not work! |
Date: |
Tue, 26 Jul 2022 21:24:09 +0200 |
User-agent: |
mu4e 1.8.6; emacs 29.0.50 |
Heiko Schröder <heikos@online.de> writes:
Hi Heiko,
> it is said, that C-M-a is bound to LaTeX-find-matching-begin. And it
> should move to the \begin of the environment.
Hm, the docs are a bit outdated. C-M-a is bound to `beginning-of-defun'
which in turn calls `beginning-of-defun-function' which AUCTeX sets to
`LaTeX-find-matching-begin'.
> But that is not true. It does NOTHING.
What does C-h v beginning-of-defun-function RET in your LaTeX buffer
say?
> In contrast to that: C-M-e works fine.
That should be pretty much the same. C-M-e is `end-of-defun' which
calls `end-of-defun-function' which AUCTeX sets to
`LaTeX-find-matching-end'.
> It seems to be a rather severe bug in AUCTeX.
It's always good to provide some minimal sample snippet and a
reproduction recipe. Right now, I can only say "works for me with the
latex file I've used for testing".
Bye,
Tassilo