[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: kbd macro fails evaluation
From: |
Colin Baxter |
Subject: |
Re: kbd macro fails evaluation |
Date: |
Wed, 19 May 2021 15:02:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
>>>>> Stefan Monnier <monnier@iro.umontreal.ca> writes:
> 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?
Done.