all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sebastian Urban <mrsebastianurban@gmail.com>
To: 37325@debbugs.gnu.org
Subject: bug#37325: About 'latex-insert/close-block' in 'latex-mode'
Date: Fri, 6 Sep 2019 19:31:05 +0200	[thread overview]
Message-ID: <f123f8df-0ef5-9df2-7b08-6dc7f014f9cf@gmail.com> (raw)

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





             reply	other threads:[~2019-09-06 17:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-06 17:31 Sebastian Urban [this message]
2019-09-07 10:16 ` bug#37325: About 'latex-insert/close-block' in 'latex-mode' 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

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=f123f8df-0ef5-9df2-7b08-6dc7f014f9cf@gmail.com \
    --to=mrsebastianurban@gmail.com \
    --cc=37325@debbugs.gnu.org \
    /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.