From: Eli Zaretskii <eliz@gnu.org>
To: Alex Branham <alex.branham@gmail.com>
Cc: monnier@IRO.UMontreal.CA, 30452-done@debbugs.gnu.org
Subject: bug#30452: [PATCH] Use 'make-sparse-keymap' rather than 'copy-keymap'
Date: Fri, 25 Jan 2019 10:50:29 +0200 [thread overview]
Message-ID: <83zhrp5dey.fsf@gnu.org> (raw)
In-Reply-To: <877eeyc8hy.fsf@gmail.com> (message from Alex Branham on Mon, 21 Jan 2019 09:53:29 -0600)
> From: Alex Branham <alex.branham@gmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>, 30452@debbugs.gnu.org
> Date: Mon, 21 Jan 2019 09:53:29 -0600
>
>
> On Sat 19 Jan 2019 at 09:33, Stefan Monnier <monnier@IRO.UMontreal.CA> wrote:
>
> >>> (defvar tabulated-list-mode-map
> >>> - (let ((map (copy-keymap special-mode-map)))
> >>> + (let ((map (make-sparse-keymap)))
> >>> (set-keymap-parent map button-buffer-map)
> >
> > Nowadays we can inherit from both with something like
> >
> > (set-keymap-parent map (make-composed-keymap
> > button-buffer-map
> > special-mode-map))
>
> Thanks, that's better! Here's the updated patch.
Thanks, pushed to the master branch.
prev parent reply other threads:[~2019-01-25 8:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-14 3:52 bug#30452: 25.3; tabulated-list-mode-map should inherit from special-mode-map Stephen Jung
2019-01-15 17:57 ` bug#30452: [PATCH] Use 'make-sparse-keymap' rather than 'copy-keymap' Alex Branham
2019-01-19 8:05 ` Eli Zaretskii
2019-01-19 15:33 ` Stefan Monnier
2019-01-21 15:53 ` Alex Branham
2019-01-25 8:50 ` Eli Zaretskii [this message]
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=83zhrp5dey.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=30452-done@debbugs.gnu.org \
--cc=alex.branham@gmail.com \
--cc=monnier@IRO.UMontreal.CA \
/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.