|
From: | LinSun |
Subject: | bug#47205: 27.1.91; [bug] unexpected input event interrupted expand-file |
Date: | Thu, 18 Mar 2021 11:42:07 +0800 |
Hi Michael, The event is triggered by require dbus.el, from the initialize code at the tail of dbus.el: >(when (featurep 'dbusbind) > (dbus-ignore-errors > (dbus-init-bus :system)) > (dbus-ignore-errors > (dbus-init-bus :session))) Can we ignore the event “(dbus-event :system 2 2 org.freedesktop.DBus :1.527417 nil nil nil dbus-call-method-handler)” in “dbus-ignore-errors”? Best Regards Lin Sun From: LinSun Hi Michael, > which problem have you encountered? Or is it just the docstring? It’s from the issue https://github.com/bbatsov/helm-projectile/issues/154, “[bug] `helm-projectile-find-file' empty candidate when there is "*.iso/" folder” Through the traceback I attached in first mail, the dbus event cause a unexpected return value in line https://github.com/emacs-helm/helm/blob/26d4e9e4d38a143d7dfb2fe206eacbc326944532/helm.el#L4649, Then it’s function will show nothing. How can I ignore this dbus event, or, how can I filter out keyboard/mouse interrupt only? Thanks. From: Michael Albinus Lin Sun <lin.sun@zoom.us> writes: > Hi Michael, Hi > It seems only “keyboard” input should trigger a ‘input event, so dbus > event should be silence for this case. D-Bus events are implemented as special event, which is also an input event. `throw-on-input' reacts on input events, perhaps its docstring shall be adapted. Again, which problem have you encountered? Or is it just the docstring? Best regards, Michael. |
[Prev in Thread] | Current Thread | [Next in Thread] |