emacs-devel
[Top][All Lists]
Advanced

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

Re: kbd macro fails evaluation


From: Stefan Monnier
Subject: Re: kbd macro fails evaluation
Date: Wed, 19 May 2021 09:15:15 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Colin Baxter [2021-05-19 08:22:26] wrote:

> With emacs-28
>
> 1. emacs -Q
> 2. <f3> <RET>
> 3. C-x 8 <RET> FULLWIDTH FULL STOP <RET>
> 4. <f4> <RET>
> 5. C-x C-k n <RET>
> 6. myfullstop <RET>
> 7. Change to scratch buffer if necessary.
> 8. M-x insert-kbd-macro <RET>
> 9. myfullstop <RET>
>
> This gives:
>
> #+begin_src elisp
>  (fset 'myfullstop
>    (kmacro-lambda-form [?\C-x ?8 return ?F ?U ?L ?L ?W ?I ?D ?T ?H ?  ?F
>    ?U ?L ?L ?  ?S ?T ?O ?P return] 0 "%d"))
> #+end_src
>
> An eval (C-j with point at end) of the above expression gives the error:

Oh, sorry I didn't see that those `0 "%d"` arg could occur so
I mistakenly removed them.
Could you `M-x report-emacs-bug` so I have a bug number to point to in the 
commit?


        Stefan




reply via email to

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