unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: LinSun <lin.sun@zoom.us>
Cc: "47205@debbugs.gnu.org" <47205@debbugs.gnu.org>,
	"sunlin7@yahoo.com" <sunlin7@yahoo.com>
Subject: bug#47205: 27.1.91; [bug] unexpected input event interrupted expand-file
Date: Thu, 18 Mar 2021 11:13:28 +0100	[thread overview]
Message-ID: <87y2ekbwhj.fsf@gmx.de> (raw)
In-Reply-To: <309B2A93-2A37-43C2-9291-5CBAA0917922@hxcore.ol> (LinSun's message of "Thu, 18 Mar 2021 18:02:42 +0800")

LinSun <lin.sun@zoom.us> writes:

> Hi Eli,

Hi,

> No effect after add the dbus-event into ` while-no-input-ignore-events
> `, output still be t.

Yes, I've just explained the situation the other message. If Eli agrees,
we'll improve it in the master branch.

> The work around is execute “(require ‘trampe-archive)” before eval the
> statement, output is expanded path:

In your use case, the workaround is much more simple: set
tramp-archive-enabled to nil:

--8<---------------cut here---------------start------------->8---
# emacs --batch --eval "(setq tramp-archive-enabled nil)" --eval "(message \"%s %s\" (catch 'input (let ((throw-on-input 'input)) (expand-file-name \"a.iso/b\" \"/\"))) last-input-event)"
--8<---------------cut here---------------end--------------->8---

Best regards, Michael.





  reply	other threads:[~2021-03-18 10:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-17  3:36 bug#47205: 27.1.91; [bug] unexpected input event interrupted expand-file LinSun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-17 11:51 ` Michael Albinus
2021-03-17 15:45 ` bug#47205: " Lin Sun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-17 17:41   ` Michael Albinus
2021-03-18  0:27     ` LinSun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-18  3:42       ` LinSun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-18  4:31         ` LinSun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-18  8:21       ` Eli Zaretskii
2021-03-18 10:02         ` LinSun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-18 10:13           ` Michael Albinus [this message]
2021-03-18 10:21             ` LinSun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-18 10:07         ` Michael Albinus
2021-03-18 10:18           ` LinSun via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-03-18 10:21           ` Eli Zaretskii
2021-03-18 11:45             ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y2ekbwhj.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=47205@debbugs.gnu.org \
    --cc=lin.sun@zoom.us \
    --cc=sunlin7@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).