From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?S=C3=A9bastien?= Gross Newsgroups: gmane.emacs.bugs Subject: bug#15614: 24.3.50; conflict between quail and flyspell Date: Tue, 15 Oct 2013 01:42:38 +0200 Organization: Chezwam Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1381794317 31356 80.91.229.3 (14 Oct 2013 23:45:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Oct 2013 23:45:17 +0000 (UTC) To: 15614@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 15 01:45:21 2013 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 1VVrp8-0006qi-JE for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Oct 2013 01:45:18 +0200 Original-Received: from localhost ([::1]:39131 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVrp7-0006i1-60 for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Oct 2013 19:45:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVroz-0006gv-S5 for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2013 19:45:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVrot-00071J-Iz for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2013 19:45:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVrot-00070z-F6 for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2013 19:45:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VVros-0007e4-Vs for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2013 19:45:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?S=C3=A9bastien?= Gross Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Oct 2013 23:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15614 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.138179424829307 (code B ref -1); Mon, 14 Oct 2013 23:45:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Oct 2013 23:44:08 +0000 Original-Received: from localhost ([127.0.0.1]:49503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VVrnz-0007cc-Fq for submit@debbugs.gnu.org; Mon, 14 Oct 2013 19:44:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48586) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VVrnw-0007c0-48 for submit@debbugs.gnu.org; Mon, 14 Oct 2013 19:44:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVrnm-0006ky-3n for submit@debbugs.gnu.org; Mon, 14 Oct 2013 19:43:58 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:48535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVrnm-0006ku-0O for submit@debbugs.gnu.org; Mon, 14 Oct 2013 19:43:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVrnh-0006Xd-BI for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2013 19:43:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVrnc-0006iC-QM for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2013 19:43:49 -0400 Original-Received: from cw-svc0.chezwam.org ([88.191.150.39]:56177) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVrnc-0006cw-Cy for bug-gnu-emacs@gnu.org; Mon, 14 Oct 2013 19:43:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/simple; d=chezwam.org; s=mail; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Sender:Subject:To:From; bh=V2kQ9gY+cCT6TLP8aZV4eVanrMvyyZ5t1X3twMWrxPk=; b=Sd0NW1NZS2o6cxTyv7j9L3LYfZYNATC51hK7O/RYvsHWFr2gOT9yH7SwN4q12r2yI8c+b++PklKlzYqL4aGF61gSC0/SAfz9KQ/Fa4yeDTCDHumg8dMCgUaOVo3Vz87jsxRLPpgKapE/8D7XXXqe8erwOXbfgSxLDT4pCiXHZ1Y=; Original-Received: from 89-159-87-251.rev.dartybox.com ([89.159.87.251] helo=scrat.localhost) by cw-svc0.int.chezwam.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1VVrnI-00063p-RL for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2013 01:43:27 +0200 Original-Received: from scrat (localhost [127.0.0.1]) by scrat.localhost (Postfix) with ESMTP id 00FBF239871B for ; Tue, 15 Oct 2013 01:42:38 +0200 (CEST) User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (darwin) X-Spam_score: -1.0 X-Spam_score_int: -9 X-Spam_bar: - X-Spam_report: Spam detection software, running on the system "cw-svc0.int.chezwam.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello, I noticed an incompatibility between both quail and flyspell modes. 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. [...] Content analysis details: (-1.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP TVD_RCVD_IP -0.0 BAYES_20 BODY: Bayes s X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:79251 Archived-At: Hello, I noticed an incompatibility between both quail and flyspell modes. 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=C3=A0" (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=C3=A0 " (notice the tailing space here). If I only want "l=C3=A0" (with no tailing space) I can also type <`>, which is not pretty handy. To reproduce that behavior one can run Emacs with no extra init scripts (emacs -Q) and open a brand new buffer and simply run: M-x eval-expression RET (progn (set-input-method "french-alt-postfix") (flyspell-mode)) RET Make sure you have a complete working aspell system installed. An you can try to type "l=C3=A0" using <`>. You will notice you need type an extra keystroke to get "l=C3=A0" displayed in the buffer. Now let's try (in an other new buffer): M-x eval-expression RET (set-input-method "french-alt-postfix") RET and start typing: <`> You will see that "l=C3=A0" is correctly displayed in the buffer without the need of an extra keystroke. Thus using flyspell changes the behavior of quail input methods (at least "french-alt-postfix"). I narrowed down between 2 commits from Emacs git repository found at git://git.savannah.gnu.org/emacs.git to bisect. It comes up that the bug (or the behavior change) has been introduced on Fri Jul 5 20:10:54 2013 -0400. commit edce34590594a9801ce6bd82c4a60b3788b7af25 Author: Stefan Monnier Date: Fri Jul 5 20:10:54 2013 -0400 * lisp/subr.el (read-quoted-char): Use read-key. (sit-for): Let read-event decode tty input. The previous commit: commit 3332d04ebcebcc3f3934bb78f6ba5906ba0af72c Author: Paul Eggert Date: Fri Jul 5 09:58:01 2013 -0700 Remove duplicate #include directives. Does not have that behavior. The complete bisect log is: git bisect start '--no-checkout' git bisect good a3263d13f49ccb0ad1d98af90084b21e364c4c91 git bisect bad d920494e0a764570c8a927edddae85356175b098 git bisect good d8fa6bbff358a94d4e39502515690f35081c5d0a git bisect good 74db2df0b032951e68e80ba3d4ce4e9757ba3501 git bisect good 2c28e941986155403bab1444a8dc11a2728df1ab git bisect good a97d492ea996463437c84154cc4e534e912ad4c0 git bisect good 1f5f50f7da287910b9837f39d778558026c1fcd8 git bisect good e539ac27851f2bf19723d058412cf9ed08a41e1a git bisect good 305e4a6734295fe197a99a7ec2177af653599487 git bisect good c813f2fb73e2b42600402826dda200f90dd8ffa6 git bisect good afbd6910602a98eda088d23600563a41f63881f3 git bisect good f1494e74fcee39928b82a871869d4557b91d8d3c git bisect bad edce34590594a9801ce6bd82c4a60b3788b7af25 git bisect good 3332d04ebcebcc3f3934bb78f6ba5906ba0af72c Which gives: edce34590594a9801ce6bd82c4a60b3788b7af25 is the first bad commit commit edce34590594a9801ce6bd82c4a60b3788b7af25 Author: Stefan Monnier Date: Fri Jul 5 20:10:54 2013 -0400 * lisp/subr.el (read-quoted-char): Use read-key. (sit-for): Let read-event decode tty input. :040000 040000 76c3136347166a8b17cd1c07ba90f42e95018d98 34990dfc87d1cd2aca7= 830ac8471afefb9e57fdd M lisp :040000 040000 b11569dfd8ff484bf04305c197e14b0b29de04ff 7f0e1b1b36fd3c058ca= 9f7afed698fcecd3216fa M src Hope that help Thanks in advance. S=C3=A9bastien Gross In GNU Emacs 24.3.50.1 (x86_64-apple-darwin, NS apple-appkit-1187.39, git s= ha1 f2c1e24) of 2013-09-24 on scrat Windowing system distributor `Apple', version 10.3.1187 Configured using: `configure --build=3Dx86_64-apple-darwin --without-dbus --with-ns 'CFLAGS=3D -pipe -march=3Dnocona'' Important settings: value of $LC_COLLATE: en_US.UTF-8 value of $LC_CTYPE: en_US.UTF-8 value of $LC_MESSAGES: en_US.UTF-8 value of $LC_MONETARY: fr_FR.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: flyspell-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f C-a C-k ~ / . e m / t e s =20 > C-x C-e l=20 a a l a SPC l a =20 x r e p o r Recent messages: Using /Users/renard/.emacs.d/init.el For information about GNU Emacs and the GNU system, type C-h C-a. Mark set Loading quail/latin-alt...done Starting new Ispell process [/usr/local/bin/aspell::default] ... t call-interactively: End of buffer Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils flyspell ispell quail help-mode easymenu vc-git site-start time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) --=20 S=C3=A9bastien Gross