From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Apocalypse Mystic Newsgroups: gmane.emacs.bugs Subject: bug#29063: C-g not quitting minibuffer Date: Sat, 4 Nov 2017 11:37:38 -0400 Message-ID: References: <83wp3dthvk.fsf@gnu.org> <83375uv4oe.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403045fab6cbbfb3b055d2a0241" X-Trace: blaine.gmane.org 1509809960 25566 195.159.176.226 (4 Nov 2017 15:39:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 4 Nov 2017 15:39:20 +0000 (UTC) Cc: 29063@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 04 16:39:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eB0XI-0005fx-Ni for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Nov 2017 16:39:04 +0100 Original-Received: from localhost ([::1]:41342 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eB0XP-0006Tc-SE for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Nov 2017 11:39:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eB0XJ-0006TM-5u for bug-gnu-emacs@gnu.org; Sat, 04 Nov 2017 11:39:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eB0XG-0002j5-2w for bug-gnu-emacs@gnu.org; Sat, 04 Nov 2017 11:39:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42151) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eB0XF-0002j0-Vw for bug-gnu-emacs@gnu.org; Sat, 04 Nov 2017 11:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eB0XF-0000Qb-Kl for bug-gnu-emacs@gnu.org; Sat, 04 Nov 2017 11:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Apocalypse Mystic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Nov 2017 15:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29063 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 29063-submit@debbugs.gnu.org id=B29063.15098099071605 (code B ref 29063); Sat, 04 Nov 2017 15:39:01 +0000 Original-Received: (at 29063) by debbugs.gnu.org; 4 Nov 2017 15:38:27 +0000 Original-Received: from localhost ([127.0.0.1]:50832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eB0Wh-0000Po-3Y for submit@debbugs.gnu.org; Sat, 04 Nov 2017 11:38:27 -0400 Original-Received: from mail-wr0-f182.google.com ([209.85.128.182]:56227) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eB0Wf-0000Pa-BY for 29063@debbugs.gnu.org; Sat, 04 Nov 2017 11:38:25 -0400 Original-Received: by mail-wr0-f182.google.com with SMTP id l8so4861584wre.12 for <29063@debbugs.gnu.org>; Sat, 04 Nov 2017 08:38:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=/rEEvSwh2msgDOgPWL1rt1cV14qCYESuBr9aDpjQgBg=; b=LNCI85YUijTHWsAT8jOxmQ7B1WHkift4y+OrrIAzuaYj6a6bbICtpZy0ka9LuoUFsn qA/Z4WSabY+SN5zZ04n0+HpwXrIv4M9sC+qTDaaF6OBfHgm6KaYcmQNFCnalPCs0N8QQ pvDBKz2zlDJamrKD65B4BNYFEtw00xZJqQQWTxMPm0K46mVS8sUnih3MhN+Bl9PGT1z/ B72+vbVveniEvYA5Piq6NT/ynwOyiyuF/QNlYsX+vFliO8uMjwQPreqiZouZQYlbrGF7 rJKHJgiCO+Z533rHb8cgwZqizaQi1kAJFK22iJAoZgkR3QWrubH2D5rloNr+MUvNP5Y1 eJgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/rEEvSwh2msgDOgPWL1rt1cV14qCYESuBr9aDpjQgBg=; b=aOUqOeJO/zKiX+K3Lzit1cLVM3ggbqd9yHBbAekKenPyzEnWIBRisWQFjbvgmOFG0J 68G+sfiicF05QmpawCk5Eul0xk9Soqb6plR+TyurHfr3asArbC2NsY43wng6jGvklLcj RMbWc4WyLJJGvoRSv1V9wpJ9YKrTS0eLAQPdESOcGa488sRaJnavhkLPv8h3j6jywnfQ o+Hz9xHsudsQArjaB5m8eT8xapoeMT1voZVNkAqxRAUbXGfgv3Vt1jkbr5PBqNbJoyYv xqvx6ESSViKYhznar8JlTKNx+NVhjyochQbcK7w9aLHVOcF5PXaMsmzVEI1EzpGAjBuR ZUEA== X-Gm-Message-State: AMCzsaXkgBXRFGxRqoKjvYREmY/9ztZzf/ZTqA0HhVW5Vg+bgEf8n5Hi 0YUdPefFNGuXa18P2MPBGDiq8RIs7kviJ+d4fww= X-Google-Smtp-Source: ABhQp+Q9l4lQogI1HW8xTd+KiU8iW8po56q2x9o16ZcLCzacc8E6sEViLbdrRHP/a43o7AHig6LefXDcP2eg1drgBkM= X-Received: by 10.223.184.230 with SMTP id c35mr8309965wrg.18.1509809899435; Sat, 04 Nov 2017 08:38:19 -0700 (PDT) Original-Received: by 10.223.151.203 with HTTP; Sat, 4 Nov 2017 08:37:38 -0700 (PDT) In-Reply-To: <83375uv4oe.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" Xref: news.gmane.org gmane.emacs.bugs:139437 Archived-At: --f403045fab6cbbfb3b055d2a0241 Content-Type: text/plain; charset="UTF-8" timer-idle-list working emacs: ([nil 0 0 500000 t jit-lock-context-fontify nil idle 0]) broken emacs: ([nil 0 0 500000 t jit-lock-context-fontify nil idle 0] [nil 0 0 500000 0.5 blink-cursor-start nil idle 0]) Although calling cancel-timer on the timers does not fix the problem, I have also noticed that, with toggle-debug-on-quit on, just typing C-g while in the normal writing buffer will always send me to the debugger on only one line: Debugger entered--Lisp error: (quit) internal-timer-start-idle() This happens in the broken emacs only, and C-g here does nothing in the working emacs. Likewise, in the broken emacs, while I am highlighting text with C-space, C-g will 50% of the time cancel the highlight and 50% of the time open the above debugger on the timer start function. In the working emacs, of course, it cancels the highlight 100% of the time. On Sat, Nov 4, 2017 at 4:17 AM, Eli Zaretskii wrote: > [Please keep the bug address on the CC list.] > > > From: Apocalypse Mystic > > Date: Fri, 3 Nov 2017 21:53:28 -0400 > > > > I just updated my other ubuntu system and it works fine, so I don't know > that it will be easy to isolate that way. > > The one thing I do notice that is different between the two systems is > that when I toggle-debug-on-quit, and > > then try to quit out of the M-x minibuffer, my broken emacs has one > extra line in the debugger print out before > > everything else that is missing from the working emacs: > > > > Debugger entered--Lisp error: (quit) > > internal-timer-start-idle() > > ... > > > > I don't really know the emacs internals or timers that well, but might > that mean something like that my C-g's > > are getting eaten by quitting out of a frequently restarting > internal-timer-start-idle call? I'm not sure what calls it > > or if that helps any. It may just be normal functioning, but maybe it > means something to someone who knows > > emacs better than I do. I notice it is in this description of the same > issue: > > > > https://github.com/abo-abo/swiper/issues/922 > > > > If I can provide any other information that might be helpful, just let > me know. > > I guess it would be interesting to know which idle timer was > interrupted by C-g in your case. > --f403045fab6cbbfb3b055d2a0241 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
timer-idle-list

working emac= s:
([nil 0 0 500000 t jit-lock-context-fontify nil idle 0])
=

broken emacs:
([nil 0 0 500000 t jit-lock-con= text-fontify nil idle 0] [nil 0 0 500000 0.5 blink-cursor-start nil idle 0]= )

Although calling cancel-timer on the timers does= not fix the problem,=C2=A0

I have also noticed th= at, with toggle-debug-on-quit on, just typing C-g while in the normal writi= ng buffer will always send me to the debugger on only one line:
<= br>
Debugger entered--Lisp error: (quit)
=C2=A0 in= ternal-timer-start-idle()

This happens in th= e broken emacs only, and C-g here does nothing in the working emacs. Likewi= se, in the broken emacs, while I am highlighting text with C-space, C-g wil= l 50% of the time cancel the highlight and 50% of the time open the above d= ebugger on the timer start function. In the working emacs, of course, it ca= ncels the highlight 100% of the time.

On Sat, Nov 4, 2017 at 4:17 AM, Eli Zaretsk= ii <= eliz@gnu.org> wrote:
[Pleas= e keep the bug address on the CC list.]

> From: Apocalypse Mystic <apocalypsemystic@gmail.com>
> Date: Fri, 3 Nov 2017 21:53:28 -0400
>
> I just updated my other ubuntu system and it works fine, so I don'= t know that it will be easy to isolate that way.
> The one thing I do notice that is different between the two systems is= that when I toggle-debug-on-quit, and
> then try to quit out of the M-x minibuffer, my broken emacs has one ex= tra line in the debugger print out before
> everything else that is missing from the working emacs:
>
> Debugger entered--Lisp error: (quit)
> internal-timer-start-idle()
> ...
>
> I don't really know the emacs internals or timers that well, but m= ight that mean something like that my C-g's
> are getting eaten by quitting out of a frequently restarting internal-= timer-start-idle call? I'm not sure what calls it
> or if that helps any. It may just be normal functioning, but maybe it = means something to someone who knows
> emacs better than I do. I notice it is in this description of the same= issue:
>
> https://github.com/abo-abo/swiper/issues/922
>
> If I can provide any other information that might be helpful, just let= me know.

I guess it would be interesting to know which idle timer was
interrupted by C-g in your case.

--f403045fab6cbbfb3b055d2a0241--