From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#19547: 25.0.50; throw-on-input "fires" when switching workspace Date: Fri, 11 Dec 2015 11:17:10 +0100 Message-ID: <87bn9x5ly1.fsf@gmail.com> References: <874ms03qj1.fsf@web.de> <87zj9r4i8d.fsf@web.de> <87sifj4e9j.fsf@web.de> <83egr36ltc.fsf@gnu.org> <87oaq6l1ea.fsf@web.de> <87oapudv8e.fsf@web.de> <838ugyxgk1.fsf@gnu.org> <87oaph2w9d.fsf@web.de> <831tmbl4zh.fsf@gnu.org> <87pp9tlnd7.fsf@web.de> <83k301iq4g.fsf@gnu.org> <87d25tlf83.fsf@web.de> <837fw1ilfl.fsf@gnu.org> <87twpvrqj8.fsf@web.de> <87twnqq7ra.fsf@web.de> <83fuz98gre.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1449855806 28897 80.91.229.3 (11 Dec 2015 17:43:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Dec 2015 17:43:26 +0000 (UTC) Cc: michael_heerdegen@web.de, John Wiegley , 19547@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 11 18:43:15 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 1a7Ris-0007r8-0t for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Dec 2015 18:43:14 +0100 Original-Received: from localhost ([::1]:48847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7Rir-0007wW-84 for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Dec 2015 12:43:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7Rim-0007sy-0a for bug-gnu-emacs@gnu.org; Fri, 11 Dec 2015 12:43:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a7Rig-0008K9-0t for bug-gnu-emacs@gnu.org; Fri, 11 Dec 2015 12:43:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7Rif-0008K5-Tk for bug-gnu-emacs@gnu.org; Fri, 11 Dec 2015 12:43:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1a7Rif-00084j-Lf for bug-gnu-emacs@gnu.org; Fri, 11 Dec 2015 12:43:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Dec 2015 17:43:01 +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.144985575130997 (code B ref 19547); Fri, 11 Dec 2015 17:43:01 +0000 Original-Received: (at 19547) by debbugs.gnu.org; 11 Dec 2015 17:42:31 +0000 Original-Received: from localhost ([127.0.0.1]:40706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a7RiB-00083t-5j for submit@debbugs.gnu.org; Fri, 11 Dec 2015 12:42:31 -0500 Original-Received: from mail-wm0-f47.google.com ([74.125.82.47]:37928) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a7Ri9-00083h-H9 for 19547@debbugs.gnu.org; Fri, 11 Dec 2015 12:42:29 -0500 Original-Received: by wmec201 with SMTP id c201so80333603wme.1 for <19547@debbugs.gnu.org>; Fri, 11 Dec 2015 09:42:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-type; bh=FGUj8ng/Dbad8LFFXF7LiCAd5C5GpFj8K3Qv1MI1nh4=; b=pe4b9suizJr3fPYiTioS1q1xuJKHc924J2KAqq4chGtSjSkGDgh+iL4EV3haLPqL13 qogM9aOGG9tacHS+cKlMl5iNDdE95BPKrd/18ICQD1s3VEdr8o3Qfs7JAXnzxsaXoD4J 3CaDaZwcdCy26ymebL1D4MSMIlZKLekWi7t1+y538g2q1g/40s9U9xIIvq/zNfR5Qu4u +aqZGYz4N1XhP0ficZ4ujBMPu5+wraEsXu2CLnrxDqgLk6AVpSNeLoDj0qheNP8VD8qc g2nAHHgLBvde6yCOVPajPLlVWPjtBDdcmvir57+AxKQUpK/2hp/BP5FseFbtfRYp+1c1 Ib8A== X-Received: by 10.28.4.212 with SMTP id 203mr4902098wme.89.1449829033218; Fri, 11 Dec 2015 02:17:13 -0800 (PST) Original-Received: from thierry-MS-7309 (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by smtp.gmail.com with ESMTPSA id gl4sm16339055wjd.17.2015.12.11.02.17.11 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Fri, 11 Dec 2015 02:17:12 -0800 (PST) User-agent: mu4e 0.9.15; emacs 24.5.1 In-reply-to: <83fuz98gre.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:109858 Archived-At: Eli Zaretskii writes: >> From: John Wiegley >> Cc: Michael Heerdegen , 19547@debbugs.gnu.org, Thierry Volpiatto >> Date: Thu, 10 Dec 2015 15:01:58 -0800 >> >> >>>>> Michael Heerdegen writes: >> >> > But I think Eli already mentioned that this would not be trivial AFAIR. I >> > guess Emacs can't clearly decide whether an event is a keyboard event. >> >> What are your thoughts now, Eli? > > About what? About adding SELECTION_REQUEST_EVENT to the list of > events ignored by while-no-input, or about adding > while-no-keyboard-input? > > For the former, I guess we could try that on master and see if it > breaks something. Agree, think it would be a good start. > I'm much less sure about the latter: why does it make sense to single > out keyboard events in Emacs? I am not sure the latter i.e while-no-keyboard-input would help for helm. > Yet another possibility would be for Helm to finally get its act > together Not sure to understand this sentence, sorry for by bad english. > and filter the events it doesn't want to handle on the application > level. If you provide an API for this yes, otherwise how am I supposed to do this ? > I mean, how far should we go on such a low level to support a single > package? This issue is not about a single package, but for all code using while-no-input. > All it takes for help is to define its own proxy for while-no-input, > and add a list of events that should not cause that proxy to return. You mean a list of events usable on lisp ? -- Thierry https://emacs-helm.github.io/helm/