unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#56873: Make `defvar-keymap' warn on conflicting and redundant bindings
@ 2022-08-01 16:47 Stefan Kangas
  2022-08-02  8:25 ` Robert Pluim
  0 siblings, 1 reply; 9+ messages in thread
From: Stefan Kangas @ 2022-08-01 16:47 UTC (permalink / raw)
  To: 56873

Severity: wishlist

It would be useful if `defvar-keymap' could warn on conflicting
bindings, such as in:

    (defvar-keymap foo
      "a" #'next-line
      "a" #'previous-line)

It would also be useful to warn about redundant bindings, such as in:

    (defvar-keymap foo
      "a" #'next-line
      "a" #'next-line)





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

end of thread, other threads:[~2022-08-02 15:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-01 16:47 bug#56873: Make `defvar-keymap' warn on conflicting and redundant bindings Stefan Kangas
2022-08-02  8:25 ` Robert Pluim
2022-08-02  9:48   ` Lars Ingebrigtsen
2022-08-02 15:46     ` Drew Adams
2022-08-02 10:09   ` Stefan Kangas
2022-08-02 11:53     ` Robert Pluim
2022-08-02 12:01       ` Lars Ingebrigtsen
2022-08-02 12:33         ` Robert Pluim
2022-08-02 12:17       ` Stefan Kangas

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).