[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: |
Heiko Schröder |
Subject: |
Re: Keybinding C-M-a for LaTeX-find-matching-begin does not work! |
Date: |
Tue, 26 Jul 2022 22:36:51 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
I have forgotten to tell you, that C-hk gives information for C-M-e and
tells, that this key is bound to LaTeX-find-matching-end.
But C-hk gives NO information for C-M-a. As if this key does not
exist. But if that would be the case, normally you are informed, that
the key is unbound.
I copied the answer for C-hv for beginning-of-defun-funciton.
If I click on the hyperlink begin-of-defun, I get this:
============= snip =================
beginning-of-defun is an interactive compiled Lisp function in
‘lisp.el’.
It is bound to <C-M-home>, C-M-a, ESC <C-home>.
(beginning-of-defun &optional ARG)
Move backward to the beginning of a defun.
With ARG, do it that many times. Negative ARG means move forward
to the ARGth following beginning of defun.
If search is successful, return t; point ends up at the beginning
of the line where the search succeeded. Otherwise, return nil.
When ‘open-paren-in-column-0-is-defun-start’ is non-nil, a defun
is assumed to start where there is a char with open-parenthesis
syntax at the beginning of a line. If ‘defun-prompt-regexp’ is
non-nil, then a string which matches that regexp may also precede
the open-parenthesis. If ‘defun-prompt-regexp’ and
‘open-paren-in-column-0-is-defun-start’ are both nil, this
function instead finds an open-paren at the outermost level.
If the variable ‘beginning-of-defun-function’ is non-nil, its
value is called as a function, with argument ARG, to find the
defun’s beginning.
Regardless of the values of ‘defun-prompt-regexp’ and
‘beginning-of-defun-function’, point always moves to the
beginning of the line whenever the search is successful.
========= snap ==================
There it is told, as you said, that C-M-a is bound to
beginning-of-defun. But why does Emacs not tell it, if you want to get
the information by C-hk?
I think, that the whole thing is a bit annoying and could have been
avoided, I must admit.
Thanks very much for you help.
Regards Heiko