From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#19547: 25.0.50; throw-on-input "fires" when switching workspace Date: Sat, 10 Jan 2015 23:24:45 +0100 Message-ID: <87oaq6l1ea.fsf@web.de> References: <874ms03qj1.fsf@web.de> <87zj9r4i8d.fsf@web.de> <87sifj4e9j.fsf@web.de> <83egr36ltc.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1420928719 2984 80.91.229.3 (10 Jan 2015 22:25:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Jan 2015 22:25:19 +0000 (UTC) Cc: 19547@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 10 23:25:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YA4T2-0004Rq-3D for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Jan 2015 23:25:12 +0100 Original-Received: from localhost ([::1]:56345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YA4T1-0004EI-C2 for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Jan 2015 17:25:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YA4Sx-0004Bv-Dh for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2015 17:25:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YA4St-0005K8-Cs for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2015 17:25:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32823) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YA4St-0005JY-9b for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2015 17:25:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YA4Ss-0005mU-QQ for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2015 17:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Jan 2015 22:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19547 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19547-submit@debbugs.gnu.org id=B19547.142092869222199 (code B ref 19547); Sat, 10 Jan 2015 22:25:02 +0000 Original-Received: (at 19547) by debbugs.gnu.org; 10 Jan 2015 22:24:52 +0000 Original-Received: from localhost ([127.0.0.1]:42189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YA4Si-0005ly-49 for submit@debbugs.gnu.org; Sat, 10 Jan 2015 17:24:52 -0500 Original-Received: from mout.web.de ([212.227.15.3]:65333) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YA4Sf-0005ln-Q6 for 19547@debbugs.gnu.org; Sat, 10 Jan 2015 17:24:50 -0500 Original-Received: from drachen.dragon ([90.187.217.90]) by smtp.web.de (mrweb004) with ESMTPSA (Nemesis) id 0MHdwC-1YDNJL1r5A-003M5P; Sat, 10 Jan 2015 23:24:47 +0100 In-Reply-To: <83egr36ltc.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 10 Jan 2015 11:12:47 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:kw4chObuA/aRM/p4iQyd8XZj5ExoY/uo3Taddau8G6xyANccZFs 40N+XAHr0ApWdTyY+mBjgwNIXc6FgfPVxa7KaLUL/ELWfwPuWOLoGFa6+FGCcGRbg+z0lLf EDOU9nrqj/8TvP1Sr66CAej48k4+P3/1Je7f3WnfUgOD6axyQ+Qhuzh4HSLFpbKUXCq+3YF jC9CcuN72S1uKGie4N8Pg== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:98204 Archived-At: Eli Zaretskii writes: > I suggest to establish exactly which event causes that, then we could > focus on how to filter that out, either in general or in your specific > situation. Ok, I did the following, hoping it's good enough. In keyboard.c, near the end of the defun of kbd_buffer_store_event_hold, there is an exclusion list of events ignored by throw_on_input: if (!NILP (Vthrow_on_input) && event->kind != FOCUS_IN_EVENT && event->kind != HELP_EVENT && event->kind != DEICONIFY_EVENT) {... ...} When I add the two lines && event->kind != FOCUS_OUT_EVENT && event->kind != ICONIFY_EVENT my problem is solved and throw-on-input does not fire when switching the workspaces. Helm does not stop matching anymore. Also the (catch 'tag (let ((throw-on-input 'tag)) (while t))) example is not intercepted. When I only add one of either lines, the behavior is not different from what we have now. Michael.