From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#17650: problem with emacs bzr change 117190 Date: Thu, 05 Jun 2014 22:22:57 -0400 Message-ID: References: <20140605130231.528718.FMU1898@unexploded-cow.prv.splode.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1402021468 2234 80.91.229.3 (6 Jun 2014 02:24:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2014 02:24:28 +0000 (UTC) Cc: 17650-done@debbugs.gnu.org To: Noah Friedman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 06 04:24:17 2014 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 1WsjpJ-0003Zk-Pc for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Jun 2014 04:24:17 +0200 Original-Received: from localhost ([::1]:44795 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsjpJ-0007PK-DP for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Jun 2014 22:24:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsjpB-0007NU-DU for bug-gnu-emacs@gnu.org; Thu, 05 Jun 2014 22:24:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wsjp5-0007iv-7s for bug-gnu-emacs@gnu.org; Thu, 05 Jun 2014 22:24:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47445) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wsjp5-0007ir-5e for bug-gnu-emacs@gnu.org; Thu, 05 Jun 2014 22:24:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wsjp4-0000T1-Mk for bug-gnu-emacs@gnu.org; Thu, 05 Jun 2014 22:24:02 -0400 Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Jun 2014 02:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 17650 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 17650@debbugs.gnu.org, monnier@iro.umontreal.ca, thierry.volpiatto@gmail.com Original-Received: via spool by 17650-done@debbugs.gnu.org id=D17650.14020213871684 (code D ref 17650); Fri, 06 Jun 2014 02:24:02 +0000 Original-Received: (at 17650-done) by debbugs.gnu.org; 6 Jun 2014 02:23:07 +0000 Original-Received: from localhost ([127.0.0.1]:46320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WsjoB-0000R6-4E for submit@debbugs.gnu.org; Thu, 05 Jun 2014 22:23:07 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:51966) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wsjo7-0000QR-NW for 17650-done@debbugs.gnu.org; Thu, 05 Jun 2014 22:23:04 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVPO+IOj/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCws0EhQYDSQTh3EI0hkXjnoHhDgEqRmBaoNMIQ X-IPAS-Result: ArUGAIDvNVPO+IOj/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCws0EhQYDSQTh3EI0hkXjnoHhDgEqRmBaoNMIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="65994837" Original-Received: from 206-248-131-163.dsl.teksavvy.com (HELO pastel.home) ([206.248.131.163]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 05 Jun 2014 22:22:57 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 5C66C60655; Thu, 5 Jun 2014 22:22:57 -0400 (EDT) In-Reply-To: <20140605130231.528718.FMU1898@unexploded-cow.prv.splode.com> (Noah Friedman's message of "Thu, 05 Jun 2014 13:02:31 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) 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:90097 Archived-At: >>>>> "Noah" == Noah Friedman writes: > Sorry to keep bugging you about this. I think I know where the problem is > now. > In keyboard.c:read_char around line 2847: > /* If this has become non-nil here, it has been set by a timer > or sentinel or filter. */ > if (CONSP (Vunread_command_events)) > { > c = XCAR (Vunread_command_events); > Vunread_command_events = XCDR (Vunread_command_events); > } > This second time that unread-command-events is examined, it's not checking > for the case that c is a cons. A `cons' is perfectly normal, but indeed it needs to check if it's a `cons' whose `car' is t, thanks. The patch below seems to fix Thierry's case, so hopefully it fixes yours too. Stefan