From: Manuel Uberti <manuel.uberti@inventati.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: New define-key syntax with custom keymap
Date: Tue, 19 Oct 2021 16:27:14 +0200 [thread overview]
Message-ID: <1b84123d-95e7-049b-6264-3708e2d404d1@inventati.org> (raw)
In-Reply-To: <87y26pccw7.fsf@gnus.org>
On 19/10/21 16:22, Lars Ingebrigtsen wrote:
> Ah, I see.
>
> I put:
>
> (require 'gnus-sum)
> (define-key gnus-summary-mode-map ["C-c C-n"] #'mu-cleanup-buffer)
>
> in my ~/.emacs and started an Emacs and Gnus, and the key was bound in
> Gnus summary buffers.
I see, thanks. But I am already using:
(require 'mu-lib)
At the top of my init.el, which requires the file where everything mu-* is
defined. That's why I don't understand why it does not work with the new syntax
but it does with the old one.
--
Manuel Uberti
www.manueluberti.eu
next prev parent reply other threads:[~2021-10-19 14:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-19 5:53 New define-key syntax with custom keymap Manuel Uberti
2021-10-19 13:52 ` Lars Ingebrigtsen
2021-10-19 13:54 ` Manuel Uberti
2021-10-19 13:59 ` Manuel Uberti
2021-10-19 14:14 ` Lars Ingebrigtsen
2021-10-19 14:19 ` Manuel Uberti
2021-10-19 14:22 ` Lars Ingebrigtsen
2021-10-19 14:27 ` Manuel Uberti [this message]
2021-10-19 14:32 ` Lars Ingebrigtsen
-- strict thread matches above, loose matches on Subject: below --
2021-11-23 6:51 Manuel Uberti
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1b84123d-95e7-049b-6264-3708e2d404d1@inventati.org \
--to=manuel.uberti@inventati.org \
--cc=emacs-devel@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 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).