From: Alexander Shukaev <emacs@Alexander.Shukaev.name>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 25189@debbugs.gnu.org
Subject: bug#25189: Use `current-global-map' in `comint-insert-input'
Date: Mon, 16 Dec 2019 02:58:04 +0100 [thread overview]
Message-ID: <62fd1b32-c3e7-2f59-31cb-12dcf973d033@Alexander.Shukaev.name> (raw)
In-Reply-To: <875znnk96a.fsf@mouse.gnus.org>
On 7/27/19 1:29 PM, Lars Ingebrigtsen wrote:
> Alexander Shukaev <emacs@Alexander.Shukaev.name> writes:
>
>> I think according to Emacs documentation it's more correct to change the
>>
>> (lookup-key global-map (vector last-key))
>>
>> form to the
>>
>> (lookup-key (current-global-map) (vector last-key))
>>
>> form.
>
> (I'm going through older Emacs bug reports that have received no
> response.)
>
> Looking at the manual section in "Controlling Active Maps", there
> doesn't seem to be anything to discourage using `global-map' directly
> there. I've grepped through the sources, though, and `global-map' is
> used all over the place (while `current-global-map' is used less).
>
> So this doesn't seem like something to be fixed, and I'm closing this
> bug report.
>
I believe you want to see the documentation of `global-map' for that point.
next prev parent reply other threads:[~2019-12-16 1:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-13 0:36 bug#25189: Use `current-global-map' in `comint-insert-input' Alexander Shukaev
2019-07-27 11:29 ` Lars Ingebrigtsen
2019-12-16 1:58 ` Alexander Shukaev [this message]
[not found] ` <45ae521c-6f37-292e-c169-9ed591cb0504@Alexander.Shukaev.name>
2019-12-24 16:25 ` Lars Ingebrigtsen
2019-12-25 9:59 ` Alexander Shukaev
2019-12-25 21:39 ` Lars Ingebrigtsen
2019-12-26 0:32 ` Alexander Shukaev
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=62fd1b32-c3e7-2f59-31cb-12dcf973d033@Alexander.Shukaev.name \
--to=emacs@alexander.shukaev.name \
--cc=25189@debbugs.gnu.org \
--cc=larsi@gnus.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.