From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21313: 25.0.50; Strange errors from dbus-handle-event Date: Thu, 15 Oct 2015 19:56:28 +0300 Message-ID: <83d1wg8403.fsf@gnu.org> References: <877foo4nkd.fsf@gnu.org> <83wpvx2h16.fsf@gnu.org> <87r3lziti9.fsf@gnu.org> <83zj0n7jtl.fsf@gnu.org> <87wpvjovfu.fsf@gnu.org> <877fnikhms.fsf@gmail.com> <87oaguq2yw.fsf@gnu.org> <8737xtt8wt.fsf@gnu.org> <834mi95bx1.fsf@gnu.org> <87twq9roxn.fsf@gnu.org> <83wpv53rjn.fsf@gnu.org> <87h9m9rmgk.fsf@gmx.de> <87wpv4qzm2.fsf@gnu.org> <87a8s0v1lp.fsf@gmx.de> <87twq8gyk0.fsf@gnu.org> <87lhbk47hb.fsf@gnu.org> <83d1ww4416.fsf@gnu.org> <878u75rctw.fsf@gnu.org> <836129xtx8.fsf@gnu.org> <876129gs2a.fsf@gnu.org> <83twptw81l.fsf@gnu.org> <87eggwuzvi.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1444928379 24633 80.91.229.3 (15 Oct 2015 16:59:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Oct 2015 16:59:39 +0000 (UTC) Cc: michael.albinus@gmx.de, 21313@debbugs.gnu.org To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 15 18:59:27 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 1Zmls9-00027p-SK for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Oct 2015 18:59:22 +0200 Original-Received: from localhost ([::1]:48688 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zmls9-0006tv-31 for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Oct 2015 12:59:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zmlpw-0005lG-Kq for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2015 12:57:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zmlpt-0004Cj-Td for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2015 12:57:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zmlpt-0004Ce-Qa for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2015 12:57:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zmlpt-0004Nm-Ld for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2015 12:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Oct 2015 16:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21313 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21313-submit@debbugs.gnu.org id=B21313.144492819216810 (code B ref 21313); Thu, 15 Oct 2015 16:57:01 +0000 Original-Received: (at 21313) by debbugs.gnu.org; 15 Oct 2015 16:56:32 +0000 Original-Received: from localhost ([127.0.0.1]:52554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZmlpQ-0004N4-Ag for submit@debbugs.gnu.org; Thu, 15 Oct 2015 12:56:32 -0400 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:35366) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZmlpN-0004Mv-KE for 21313@debbugs.gnu.org; Thu, 15 Oct 2015 12:56:30 -0400 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NW900500TDF0D00@mtaout27.012.net.il> for 21313@debbugs.gnu.org; Thu, 15 Oct 2015 19:52:24 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NW9004GATJC3V10@mtaout27.012.net.il>; Thu, 15 Oct 2015 19:52:24 +0300 (IDT) In-reply-to: <87eggwuzvi.fsf@gnu.org> X-012-Sender: halo1@inter.net.il 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: 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:107650 Archived-At: > From: Tassilo Horn > Cc: michael.albinus@gmx.de, 21313@debbugs.gnu.org > Date: Thu, 15 Oct 2015 13:37:05 +0200 > > Concretely, normally C-g in the minibuffer will exit the minibuffer or > exit the recursive minibuffer popping to the previous one. But with my > change, I need to hit C-g twice in quick succession. A single C-g does > nothing (record_char isn't called at all), and pressing it many times > with reasonably long pauses in between does nothing, too (no > record_char). > > Oh, wait. Now I can tell you exactly how quickly I have to type the > second C-g. When I type C-g, the echo area shows Quit and then switches > back to the prompt I had before. The second C-g must come within the > time the echo area still shows Quit. > > That's the output I get when doing M-x C-g C-g quickly. The second > record_char output appears just after the second C-g in the sequence. > > --8<---------------cut here---------------start------------->8--- > record_char: 134217848 ;; M-x > -> NOT storing as part of macro > -2> set to recent_keys at index 15 > record_char: 7 ;; issued after C-g twice in quick succession > -> NOT storing as part of macro > -2> set to recent_keys at index 17 > --8<---------------cut here---------------end--------------->8--- > > And these are my changes. Do you see anything stupid in there, or is > this some sort of a timing issue (which would at least partially explain > why I seem to be the only one seeing these "strange problems")? Do you see something in *Messages* that isn't there without your changes? You call Fformat, which conses a string, which can cause GC or call some Lisp (depending on your customizations). If that causes some echo-area message, it could maybe cause something like this. Does this happen in "emacs -Q"? Or it could be that some code that runs as result of this throws to higher level and resets the quit flag.