From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan Tatarik Newsgroups: gmane.emacs.bugs Subject: bug#20223: 25.0.50; key-chord.el crashes Emacs Date: Mon, 30 Mar 2015 21:22:29 +0200 Message-ID: <87384m1ea2.fsf@xing.com> References: <874mp43ywp.fsf@xing.com> <83y4mey1ad.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1427743409 10570 80.91.229.3 (30 Mar 2015 19:23:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Mar 2015 19:23:29 +0000 (UTC) Cc: 20223@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 30 21:23:18 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 1YcfHH-0004DI-Q0 for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Mar 2015 21:23:16 +0200 Original-Received: from localhost ([::1]:35698 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcfHB-0005wT-M2 for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Mar 2015 15:23:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcfH7-0005wB-R8 for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2015 15:23:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YcfH4-000199-LO for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2015 15:23:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50918) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcfH4-000195-IU for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2015 15:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YcfH3-0000O8-O9 for bug-gnu-emacs@gnu.org; Mon, 30 Mar 2015 15:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan Tatarik Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Mar 2015 19:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20223 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20223-submit@debbugs.gnu.org id=B20223.14277433621456 (code B ref 20223); Mon, 30 Mar 2015 19:23:01 +0000 Original-Received: (at 20223) by debbugs.gnu.org; 30 Mar 2015 19:22:42 +0000 Original-Received: from localhost ([127.0.0.1]:40694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcfGk-0000NQ-Dq for submit@debbugs.gnu.org; Mon, 30 Mar 2015 15:22:42 -0400 Original-Received: from mail-wg0-f44.google.com ([74.125.82.44]:36432) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcfGi-0000ND-OL for 20223@debbugs.gnu.org; Mon, 30 Mar 2015 15:22:41 -0400 Original-Received: by wgra20 with SMTP id a20so185467680wgr.3 for <20223@debbugs.gnu.org>; Mon, 30 Mar 2015 12:22:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=bvCEMSp6B8osyAYw4NzTkyh3vsWgHd/PQj7Qf9aQmto=; b=Edl3yNOOFQp8MusRXvgKlnrkj575eYR8nREFo3Afzx31iqqpx3YdQI9WRcrOsB8//s nNqI5wBAwDJbwnZEtNcVMcWfNoZOfsNblTKhMI1y+wDsbMcTwK1yBi1FZP+6JkdfCRvF IysCsYntnWttIOUQpygPyDZQzD2ySFT22UfeSpzo95dO8/8CzG+pt0uzbRfclSPE4hIr ebnZBskUuURZiWUYyL2KNOg8R5v5JLpABD5KTsEC4i7DOuQKFYwWJNItQnHVYKHVsHeJ j1jZppD+ax9OVyOvA4pomlCdkHVjEYSFNQK3j2cYz/hXUrM3j2dn+ptkS8vKEqTBL5ry hC+A== X-Received: by 10.180.104.66 with SMTP id gc2mr25465696wib.34.1427743355135; Mon, 30 Mar 2015 12:22:35 -0700 (PDT) Original-Received: from nb-jtatarik2 ([95.90.251.251]) by mx.google.com with ESMTPSA id u10sm17652746wib.1.2015.03.30.12.22.33 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 30 Mar 2015 12:22:34 -0700 (PDT) In-Reply-To: <83y4mey1ad.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 30 Mar 2015 18:04:26 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.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:101056 Archived-At: On Mon, Mar 30 2015, Eli Zaretskii wrote: > I can fix this with the simple patch shown below. It looks like > papering over the problem, and perhaps it is. But I couldn't find any > obvious place where this_command_key_count should have been > incremented, but wasn't. We avoid incrementing it in this scenario > because the value of 'reread' variable is 'true', since we have events > in unread-post-input-method-events after invoking the "input-method" > provided by key-chord. That works, thanks. I know nothing of the emacs internals, so I cannot judge whether this is the appropriate way to fix the issue.