|
From: | LinSun |
Subject: | bug#47205: 27.1.91; [bug] unexpected input event interrupted expand-file |
Date: | Wed, 17 Mar 2021 11:36:47 +0800 |
There is a bug that `helm-projectile-find-file' is interrupted by an unexpected input event. After inspecting emacs code, I found it can simply reproduce by follow code, and the expected out is a path, while actually result is t: emacs --batch --eval "(message \"%s\" (catch 'input (let ((throw-on-input 'input)) (expand-file-name \"a.iso/b\" \"/\"))))" And a backtrace can be generated by removing the `(catch input', it's attached as "backtrace-unexpected-input-event-for-expand-file-name". From the backtrace, it seems caused by ` tramp-archive-file-name-handler’. How to avoid input event in this situation? Thanks In GNU Emacs 27.1.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2021-03-16 built on dev Repository revision: be1b3512f772133ac9760f93fedabd672ba04598 Repository branch: HEAD Windowing system distributor 'The Cygwin/X Project', version 11.0.12010000 System Description: CentOS Linux 7 (Core) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure CFLAGS=-O2 CXXFLAGS=-O2 'LDFLAGS=-Wl,-rpath=\$$ORIGIN/../lib64' --prefix HOME/.root --with-xpm=yes --with-gnutls=yes --with-sound=no --without-gif --without-gpm --without-m17n-flt --without-libotf --without-rsvg --without-tiff' Configured features: XPM JPEG PNG DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $EMACSDATA: HOME/.root-20210316/bin/../share/emacs/27.1.91/etc/ value of $EMACSDOC: HOME/.root-20210316/bin/../share/emacs/27.1.91/etc/ value of $EMACSLOADPATH: HOME/.root-20210316/bin/../share/emacs/27.1.91/lisp value of $EMACSPATH: HOME/.root-20210316/bin/../libexec/emacs/27.1.91/x86_64-pc-linux-gnu/ value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 47312 7124) (symbols 48 6000 1) (strings 32 15469 1984) (string-bytes 1 513846) (vectors 16 10120) (vector-slots 8 132599 10528) (floats 8 20 45) (intervals 56 254 0) (buffers 1000 12) (heap 1024 11920 989)) |
backtrace-unexpected-input-event-for-expand-file-name
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |