--- Begin Message ---
Subject: |
30.0.50; get-device-terminal signals error when using isearch in keyboard macro |
Date: |
Wed, 9 Aug 2023 11:49:21 +0100 |
When isearch is invoked from a keyboard macro, an error is signalled.
Recipe:
C-x ( ;; kmacro-start-macro
C-s ;; isearch-forward
e ;; isearch-printing-char
<return> ;; isearch-exit
C-x ) ;; kmacro-end-macro
C-x e ;; kmacro-end-and-call-macro
Backtrace:
Lisp error: (error "Invalid argument macro in ‘get-device-terminal’")
error("Invalid argument %s in `get-device-terminal'" macro)
get-device-terminal(macro)
frames-on-display-list(macro)
framep-on-display(macro)
device-class(macro nil)
isearch-mode(t t nil nil)
isearch-forward-regexp(nil 1)
funcall-interactively(isearch-forward-regexp nil 1)
command-execute(isearch-forward-regexp)
kmacro-call-macro(1 nil)
kmacro-end-and-call-macro(1)
funcall-interactively(kmacro-end-and-call-macro 1)
command-execute(kmacro-end-and-call-macro)
>From the docstring for ‘last-event-frame’: "If the last event came
from a keyboard macro, this is set to ‘macro’." When the value is
‘macro’, it should not be passed to ‘device-class’.
Introduced in commit:
e3b50ec8ec1b8d1246aa2496f3fe8bf98d354545
Author: Po Lu <luangruo@yahoo.com>
AuthorDate: Sat Jan 28 14:29:51 2023 +0800
Update Android port
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#65175: 30.0.50; get-device-terminal signals error when using isearch in keyboard macro |
Date: |
Thu, 10 Aug 2023 08:02:51 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Richard Copley <rcopley@gmail.com> writes:
> On Wed, 9 Aug 2023 at 13:44, Po Lu <luangruo@yahoo.com> wrote:
>> I think this should be fixed now. Please test and ack, thanks.
>
> Yes, that works. Thank you.
Closing, thanks.
--- End Message ---