|
From: | Tim Johnson |
Subject: | Re: Trapping prefixes with universal argument component |
Date: | Fri, 20 Aug 2021 14:37:27 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 8/20/21 1:56 PM, Emanuel Berg via Users list for the GNU Emacs text editor wrote:
I hadn't thought of that: It turns out that all three keys send <M-kp-0> to C-h k KEY I will try writing a simple defun to see if a second sequence is trapped by elisp.Tim Johnson wrote:On emacs, pressing these keys results in emacs reading the following C-u 40-, C-u 41-, and C-u 61-Can't you `C-h k KEY', find out their names, and rebind them?
If so, I could just bind them to the printed legends or something else.
If not, you can perhaps remap/redefine/advice `universal-argument' (or what comes after it; use the source, Luke) so that 40, 41 and 61 are dropped.
(universal-argument) runs deep as it dispatches further defuns: (prefix-command-preserve-state) (setq prefix-arg (list 4)) (universal-argument--mode)
Because you don't use them anywhere else, do you? ;)
Heavens no!
-- Tim tj49.com
[Prev in Thread] | Current Thread | [Next in Thread] |