all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* low priority minor mode keymap?
@ 2018-10-31 17:08 Yang Zhao
  2018-11-02 15:22 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Zhao @ 2018-10-31 17:08 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 493 bytes --]

Hi,

When configuring god-mode (https://github.com/chrisdone/god-mode) I figure
that I want to put some keys at a lower priority than the local map, but
allowing this to be triggered based on the minor mode. I can simulate this
imperfectly with elisp code that looks up keymaps manually.

A better solution seems to be a minor-mode-low-priority-map-alist that
works similar to minor-mode-map-alist, but takes precedence after
local-map. Is something like this useful enough to get into emacs?

[-- Attachment #2: Type: text/html, Size: 636 bytes --]

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

end of thread, other threads:[~2018-11-02 15:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-31 17:08 low priority minor mode keymap? Yang Zhao
2018-11-02 15:22 ` Stefan Monnier

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.