[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
- Re: [External] : Re: Trapping prefixes with universal argument component, (continued)
- Re: [External] : Re: Trapping prefixes with universal argument component, Emanuel Berg, 2021/08/21
- RE: [External] : Re: Trapping prefixes with universal argument component, Drew Adams, 2021/08/21
- Re: Trapping prefixes with universal argument component, Tim Johnson, 2021/08/21
- Re: Trapping prefixes with universal argument component, Emanuel Berg, 2021/08/21
- Re: Trapping prefixes with universal argument component, Tim Johnson, 2021/08/21
- Re: Trapping prefixes with universal argument component, Emanuel Berg, 2021/08/21
- Re: Trapping prefixes with universal argument component, Yuri Khan, 2021/08/22
- Re: Trapping prefixes with universal argument component,
Emanuel Berg <=
- Re: Trapping prefixes with universal argument component [solved]T, Tim Johnson, 2021/08/22
- Re: Trapping prefixes with universal argument component, Emanuel Berg, 2021/08/21