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#15614: 24.3.50; conflict between quail and flyspell Date: Thu, 29 May 2014 12:43:29 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1401381871 8597 80.91.229.3 (29 May 2014 16:44:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 May 2014 16:44:31 +0000 (UTC) Cc: 15614@debbugs.gnu.org To: =?UTF-8?Q?S=C3=A9bastien?= Gross Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 29 18:44:22 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 1Wq3RG-0007cs-Dl for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 May 2014 18:44:22 +0200 Original-Received: from localhost ([::1]:49200 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wq3RG-00038z-3K for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 May 2014 12:44:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wq3R4-00038f-VT for bug-gnu-emacs@gnu.org; Thu, 29 May 2014 12:44:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wq3Qx-00023P-Fx for bug-gnu-emacs@gnu.org; Thu, 29 May 2014 12:44:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wq3Qx-00023F-C8 for bug-gnu-emacs@gnu.org; Thu, 29 May 2014 12:44:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wq3Qw-0000gm-Me for bug-gnu-emacs@gnu.org; Thu, 29 May 2014 12:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 May 2014 16:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15614 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15614-submit@debbugs.gnu.org id=B15614.14013818202582 (code B ref 15614); Thu, 29 May 2014 16:44:02 +0000 Original-Received: (at 15614) by debbugs.gnu.org; 29 May 2014 16:43:40 +0000 Original-Received: from localhost ([127.0.0.1]:36313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wq3Qa-0000fa-3v for submit@debbugs.gnu.org; Thu, 29 May 2014 12:43:40 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:46634) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wq3QV-0000fG-Ti for 15614@debbugs.gnu.org; Thu, 29 May 2014 12:43:36 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVPO+IOj/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCzQSFBgNJIgECNIZF456B4Q4BKkZgWqDTCGBLCMB X-IPAS-Result: ArYGAIDvNVPO+IOj/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCzQSFBgNJIgECNIZF456B4Q4BKkZgWqDTCGBLCMB X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="64979338" 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; 29 May 2014 12:43:29 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 7985F601BC; Thu, 29 May 2014 12:43:29 -0400 (EDT) In-Reply-To: ("=?UTF-8?Q?S=C3=A9bastien?= Gross"'s message of "Tue, 15 Oct 2013 01:42:38 +0200") 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:89700 Archived-At: > I do use the "french-alt-postfix" mode to handle post-fixed accents in > French documents, and I use flyspell to prevent me from typos. > Now let's say I want to type "l=E0" (which is the French for "here" in > English, but that not the point here), I am used to type: > > <`> > > which worked nicely until a few weeks ago. > Now I need to type: > <`> > which gives me "l=E0 " (notice the tailing space here). I installed the patch below into the `emacs-24' branch, which seems to fix this problem (or at least, work around it). Stefan =3D=3D=3D modified file 'lisp/subr.el' --- lisp/subr.el 2014-05-09 16:51:17 +0000 +++ lisp/subr.el 2014-05-29 16:25:25 +0000 @@ -2168,7 +2168,12 @@ ;; FIXME: we should not read-event here at all, because it's much too ;; difficult to reliably "undo" a read-event by pushing it onto ;; unread-command-events. - (let ((read (read-event nil t seconds))) + ;; For bug#14782, we need read-event to do the keyboard-coding-system + ;; decoding (hence non-nil as second arg under POSIX ttys). + ;; For bug#15614, we need read-event not to inherit-input-method. + ;; So we temporarily suspend input-method-function. + (let ((read (let ((input-method-function nil)) + (read-event nil t seconds)))) (or (null read) (progn ;; If last command was a prefix arg, e.g. C-u, push this event onto