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

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

Re: Trapping prefixes with universal argument component


From: Emanuel Berg
Subject: Re: Trapping prefixes with universal argument component
Date: Sun, 22 Aug 2021 10:25:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Yuri Khan wrote:

> Binding the offending key to nil isn’t going to help because
> when Emacs sees this (lack of) binding it will just proceed
> to key translation. And kp-0 translates to 0 and M-0 is
> bound to universal-argument.
>
> Instead:
>
>     (global-set-key (kbd "<M-kp-0>") 'ignore)
>     (global-set-key (kbd "<M-kp-1>") 'ignore)
>     (global-set-key (kbd "<M-kp-4>") 'ignore)
>     (global-set-key (kbd "<M-kp-6>") 'ignore)

Really? I have disabled a lot of keys with nil, maybe they
didn't get translated, that's why ... Should change them to
'ignore then, thanks.

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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