emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#15568: closed (Lookup this-command-keys without a


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#15568: closed (Lookup this-command-keys without a prefix argument)
Date: Wed, 09 Oct 2013 23:59:01 +0000

Your message dated Thu, 10 Oct 2013 02:57:18 +0300
with message-id <address@hidden>
and subject line Re: bug#15568: Lookup this-command-keys without a prefix 
argument
has caused the debbugs.gnu.org bug report #15568,
regarding Lookup this-command-keys without a prefix argument
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
15568: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15568
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Lookup this-command-keys without a prefix argument Date: Wed, 09 Oct 2013 02:21:10 +0300 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu)
As discovered in bug#15200, (lookup-key isearch-mode-map (this-command-keys))
can't decide whether the key sequence is bound to an isearch command or not.

(lookup-key isearch-mode-map (kbd "C-u C-l")) => 1
(lookup-key isearch-mode-map (kbd "C-u C-w")) => 1

both return 1.

The length of universal-argument-num-events was used to remove
the prefix from this-command-keys to lookup a key without prefix,
but since universal-argument-num-events is gone it's unclear
what could replace it.



--- End Message ---
--- Begin Message --- Subject: Re: bug#15568: Lookup this-command-keys without a prefix argument Date: Thu, 10 Oct 2013 02:57:18 +0300 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu)
>> As discovered in bug#15200, (lookup-key isearch-mode-map (this-command-keys))
>> can't decide whether the key sequence is bound to an isearch command or not.
>
> Actually, this is easy to fix: use this-single-command-keys.

Ah, I expected such a command, but missed it when looked
at the list of commands with the prefix "this-command-...".

Also I discovered that to support a key sequence like
`C-s C-u C-u C-l' requires adding the command `universal-argument-more'
(and `universal-argument-minus' for completeness).

I installed a fix for these problems.


--- End Message ---

reply via email to

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