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

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

bug#65175: closed (30.0.50; get-device-terminal signals error when using


From: GNU bug Tracking System
Subject: bug#65175: closed (30.0.50; get-device-terminal signals error when using isearch in keyboard macro)
Date: Thu, 10 Aug 2023 00:04:03 +0000

Your message dated Thu, 10 Aug 2023 08:02:51 +0800
with message-id <87msyzvk5w.fsf@yahoo.com>
and subject line Re: bug#65175: 30.0.50; get-device-terminal signals error when 
using isearch in keyboard macro
has caused the debbugs.gnu.org bug report #65175,
regarding 30.0.50; get-device-terminal signals error when using isearch in 
keyboard macro
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
65175: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65175
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- 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 ---

reply via email to

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