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

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

bug#12535: 24.2.50; [PATCH] `edmacro-parse-keys' is incorrect for M-<TAB


From: Lars Ingebrigtsen
Subject: bug#12535: 24.2.50; [PATCH] `edmacro-parse-keys' is incorrect for M-<TAB>
Date: Sun, 09 Feb 2014 20:52:38 -0800
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux)

"Drew Adams" <drew.adams@oracle.com> writes:

> (kbd "M-<TAB>") incorrectly returns [M-TAB].  IMHO, it should return
> [134217737], the same thing that (kbd "M-TAB") returns.
>
> IOW, for consistency, TAB should be treated specially here, in the
> same way that NUL, RET, LFD, ESC, SPC, and DEL are treated specially.

Makes sense, I guess, but I'm not familiar with the `kbd' use cases.

[...]

> !        "\\<\\(NUL\\|RET\\|LFD\\|ESC\\|SPC\\|DEL\\)$"
>          word))))
>           (setq key (list (intern word))))
>          ((or (equal word "REM") (string-match "^;;" word))
> --- 708,714 ----
>         (substring word (match-beginning 3)
>             (match-end 3))))
>           (not (string-match
> !        "\\<\\(NUL\\|RET\\|LFD\\|ESC\\|SPC\\|DEL\\TAB\\)$"

There's probably a missing | in the patch...

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





reply via email to

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