[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: |
Drew Adams |
Subject: |
bug#12535: 24.2.50; [PATCH] `edmacro-parse-keys' is incorrect for M-<TAB> |
Date: |
Wed, 24 Feb 2016 07:15:00 -0800 (PST) |
> >> > ! "\\<\\(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...
> >
> > Yes, good catch. Should be \\|TAB, not \\TAB.
>
> Can you submit a new patch, preferably tested?
Sorry; I really don't have the time now. But I think that all
of the relevant info has been provided, so you should be able
to DTRT. The patch is quite tiny. And it is unlikely that
the `edmacro-parse-keys' has changed much, if at all, since
2014. Just change \\TAB to \\|TAB in the patch.