unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#37325: About 'latex-insert/close-block' in 'latex-mode'
@ 2019-09-06 17:31 Sebastian Urban
  2019-09-07 10:16 ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Sebastian Urban @ 2019-09-06 17:31 UTC (permalink / raw)
  To: 37325

Hello,

in 'latex-mode' (not AUCTeX) there are:

- 'latex-insert-block' (function) & 'tex-latex-block' (alias)
   on 'C-c C-o' and 'C-c C-t';

- 'latex-close-block' (function) & 'tex-close-latex-block' (alias)
   on 'C-c C-e' and 'C-c /' and 'C-c ]'.

1.  Why so many key bindings?  Can we have 'C-c [' for "insert" and
'C-c ]' for "close" - and just that?  When I do 'C-c [' it's
"undefined", so maybe...

2.  When I use 'where-is' on both aliases I get (echo area, 2 lines):

tex-latex-block is not on any key;
  its alias latex-insert-block is on C-c C-t, C-c C-o

If I'm not mistaken, it says that 'latex-insert-block' is an alias for
'tex-latex-block' when it's completely otherwise.  So 2nd line should
rather say:

  it's na alias for latex-insert-block, which is on C-c C-t, C-c C-o

2.1.  Why the one char indent in 2nd line?

3.  In INFO 25.11.2 "LaTeX Editing Commands" for 'C-c C-o' alias
'tex-latex-block' is used and for 'C-c C-e' alias
'tex-close-latex-block' is used - why not real functions names:
'latex-insert-block' and 'latex-close-block'?  They would even sound
better (look at the name of the section).

4.  And then, after all, are those aliases needed at all?


S. U.

GNU Emacs 26.2 (build 1, i686-w64-mingw32) of 2019-04-13





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-01-28 16:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-06 17:31 bug#37325: About 'latex-insert/close-block' in 'latex-mode' Sebastian Urban
2019-09-07 10:16 ` Eli Zaretskii
2019-09-07 19:15   ` Sebastian Urban
2019-09-08 17:08     ` Eli Zaretskii
2020-04-23 12:29       ` Sebastian Urban
2020-05-04 14:48         ` Sebastian Urban
2020-07-12 19:15           ` Sebastian Urban
2022-01-28 16:28             ` Lars Ingebrigtsen
2022-01-28 16:12           ` Lars Ingebrigtsen
2020-05-28 15:58         ` Sebastian Urban

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).