help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possible to make M-C-p and M-C-n global aliases for M-down and


From: Emanuel Berg
Subject: Re: Is it possible to make M-C-p and M-C-n global aliases for M-down and M-up?
Date: Sun, 07 Feb 2021 22:01:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Monnier wrote:

>> But let me ask, what is the right way to do, e.g., I want
>> M-i `scroll-up-1' everywhere?
>
> For those rare cases

I currently have are 15 such cases including 2 prefix keys.

> where this is reeally what you want, then the solution is
> usually to use `emulation-mode-map-alists`.

OK, thanks, never heard of. A variable:

  List of keymap alists to use for emulation modes. It is
  intended for modes or packages using multiple minor-mode
  keymaps. Each element is a keymap alist just like
  ‘minor-mode-map-alist’, or a symbol with a variable binding
  which is a keymap alist, and it is used the same way.
  The "active" keymaps in each alist are used before
  ‘minor-mode-map-alist’ and
  ‘minor-mode-overriding-map-alist’.

Yeah, how do you use that? Maybe mentioned in the info
pages...

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]