From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefano Zacchiroli Newsgroups: gmane.emacs.bugs Subject: bug#14782: 24.3.50; flyspell-mode garbles accents in terminal clients Date: Thu, 04 Jul 2013 00:19:29 +0200 Message-ID: <87vc4r477y.fsf@usha.takhisis.invalid> 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 1372890014 20020 80.91.229.3 (3 Jul 2013 22:20:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Jul 2013 22:20:14 +0000 (UTC) To: 14782@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 04 00:20:15 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 1UuVPK-0005l6-Ur for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Jul 2013 00:20:15 +0200 Original-Received: from localhost ([::1]:54132 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuVPK-00072B-Ho for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Jul 2013 18:20:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuVPF-0006yr-7W for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2013 18:20:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuVPB-00068U-Bl for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2013 18:20:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuVPB-000685-8Y for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2013 18:20:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UuVP9-0001uh-2B for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2013 18:20:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefano Zacchiroli Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Jul 2013 22:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14782 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.13728899887314 (code B ref -1); Wed, 03 Jul 2013 22:20:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Jul 2013 22:19:48 +0000 Original-Received: from localhost ([127.0.0.1]:55523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UuVOs-0001tq-7r for submit@debbugs.gnu.org; Wed, 03 Jul 2013 18:19:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60027) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UuVOp-0001tW-Ds for submit@debbugs.gnu.org; Wed, 03 Jul 2013 18:19:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuVOi-0005la-1e for submit@debbugs.gnu.org; Wed, 03 Jul 2013 18:19:37 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:52469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuVOh-0005lV-UZ for submit@debbugs.gnu.org; Wed, 03 Jul 2013 18:19:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuVOg-0006Kq-18 for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2013 18:19:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuVOe-0005k9-5d for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2013 18:19:33 -0400 Original-Received: from upsilon.hackadomia.org ([91.121.245.170]:36195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuVOd-0005ji-Pd for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2013 18:19:32 -0400 Original-Received: from usha.takhisis.invalid (did75-22-78-236-196-47.fbx.proxad.net [78.236.196.47]) by upsilon.hackadomia.org (Postfix) with ESMTPSA id 889BC96084 for ; Thu, 4 Jul 2013 00:19:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upsilon.cc; s=mail; t=1372889969; bh=jOxTKzUAkSpA5PBNZAPHq0YQfsr6ebxP8Zth746AYw8=; h=From:To:Subject:Date:From; b=Te+jD31YFMUqyEPtzS/ddBahiBw8I3WCFBURYqBNF6AZsIdMqQeWDD4FgfjdZJFRz iY5f8Txf6VEKPpuvona3k4Pi53MtXIzqzCTmDtu1MMPP1HW8rqxTopEab+IvIfzdXh ifj9CCevYMWRNJSmPaWodOGIRkqCBdtuiATFCt10= Original-Received: by usha.takhisis.invalid (Postfix, from userid 1000) id 1CEB46819BB; Thu, 4 Jul 2013 00:19:29 +0200 (CEST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:75865 Archived-At: Consider the following 3 lines: conf=C3=A9rence conf=C3=83\251rence conf=C3=A9rence all 3 have been inserted typing exactly the same characters in a terminal emacsclient (i.e. emacsclient -t) - the first on, which shows the expected behavior, has been obtained with flyspell-mode turned off - the second one, with garbled characters near the attempt to insert the character "=C3=A9" (letter "e" with an acute accent on top), has been obtained with flyspell-mode turned on - the third one has been obtained with flyspell-mode turned on, but by typing "confe" (without accent), then hitting backspace, then restarting with "=C3=A9" (letter "e" with accent). I.e. it seems that accented letters at the beginning of words / after spaces are fine, whereas they garble the input when they're in the middle or at the end of words The problem does not manifest itself in GUI clients (i.e. emacsclient -c) or in stand-alone Emacs instances that do not use Emacs server. Cheers. PS whereas I do use viper mode, and I'm using it to report this bug, I can reproduce the bug using "emacs -Q", then activating server-mode in it, and connecting terminal-based emacsclients. In GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.2) of 2013-07-01 on dex, modified by Debian (emacs-snapshot package, version 2:20130701-1) Windowing system distributor `The X.Org Foundation', version 11.0.11204000 System Description: Debian GNU/Linux unstable (sid) Configured using: `configure --build x86_64-linux-gnu --host x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib --localstatedir=3D/var --infodir=3D/usr/share/info --mandir=3D/usr/share/m= an --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs-snapshot:/etc/emacs:/usr/local/share/e= macs/24.3.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24= .3.50/site-lisp:/usr/share/emacs/site-lisp --without-compress-info --with-crt-dir=3D/usr/lib/x86_64-linux-gnu/ --with-x=3Dyes --with-x-toolkit=3Dgtk3 --with-imagemagick=3Dyes CFLAGS=3D'-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=3D5000 -g -O2' CPPFLAGS=3D'-D_FORTIFY_SOURCE=3D2' LDFLAGS=3D'-g -Wl,--as-needed -znocombreloc'' Important settings: value of $LC_MESSAGES: en_US.UTF-8 value of $LC_MONETARY: it_IT.utf8 value of $LC_NUMERIC: it_IT.utf8 value of $LC_TIME: it_IT.utf8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: shell-dirtrack-mode: t flyspell-mode: t winner-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: RET C h e e r s . ESC ESC < C-x C-s j j j ESC [ 6 ~=20 ESC [ 6 ~ ESC [ 5 ~ ESC < j j j C-x C-s A ESC x C-g=20 C-g C-x C-s C-x C-s C-x # ESC [ > 1 ; 3 4 0 6 ; 0 c=20 i p e r c h =C3=A9 RET ESC x f l y s p TAB C-g DEL DEL DEL=20 DEL DEL DEL DEL DEL c o n f =C3=A9 r e n c e SPC DEL RET=20 ESC x f l s p DEL DEL u s DEL DEL y s p TAB m o TAB=20 RET C-c d f r RET c o n f =C3=83 e n c e ESC 0 o c=20 o n f =C3=83 e n c e DEL DEL DEL DEL DEL DEL DEL DEL=20 f SPC DEL =C3=A9 r e n c e ESC j j i c o n f ` DEL =C3=A9 DEL=20 e DEL =C3=A9 r e n c e ESC d d C-x C-c j d d . . i c o n=20 f =C3=A9 r e n c e M-x C-g a SPC =20 c o n f =C3=A9 r e n c e u=20 j j j j j l l C-l M-x r e p o r t b =20 C-g M-x b u g =20 =20 =20 r e p o r t - e m a f l=20 y s p e l l - m o d e SPC i n SPC C-g=20 C-x C-c C-g M-x Recent messages: Undo! line-move-1: End of buffer [5 times] call-interactively: End of buffer [2 times] Making completion list... Quit Making completion list... Back to top level. When done with this frame, type C-x 5 0 Quit (No files need saving) Quit Load-path shadows: /usr/share/emacs/24.3.50/site-lisp/cmake-data/cmake-mode hides /usr/share/e= macs/site-lisp/cmake-mode /usr/share/emacs/24.3.50/site-lisp/puppet-el/puppet-mode hides /usr/share/e= macs/site-lisp/puppet-mode /home/zack/.emacs.d/elpa/tabulated-list-20120406.2251/tabulated-list hides = /usr/share/emacs/24.3.50/lisp/emacs-lisp/tabulated-list /usr/share/emacs-snapshot/site-lisp/auctex/tex-info hides /usr/share/emacs/= site-lisp/auctex/tex-info /usr/share/emacs-snapshot/site-lisp/auctex/tex-mik hides /usr/share/emacs/s= ite-lisp/auctex/tex-mik /usr/share/emacs-snapshot/site-lisp/auctex/context-nl hides /usr/share/emac= s/site-lisp/auctex/context-nl /usr/share/emacs-snapshot/site-lisp/auctex/font-latex hides /usr/share/emac= s/site-lisp/auctex/font-latex /usr/share/emacs-snapshot/site-lisp/auctex/tex hides /usr/share/emacs/site-= lisp/auctex/tex /usr/share/emacs-snapshot/site-lisp/auctex/context hides /usr/share/emacs/s= ite-lisp/auctex/context /usr/share/emacs-snapshot/site-lisp/auctex/tex-font hides /usr/share/emacs/= site-lisp/auctex/tex-font /usr/share/emacs-snapshot/site-lisp/auctex/plain-tex hides /usr/share/emacs= /site-lisp/auctex/plain-tex /usr/share/emacs-snapshot/site-lisp/auctex/multi-prompt hides /usr/share/em= acs/site-lisp/auctex/multi-prompt /usr/share/emacs-snapshot/site-lisp/auctex/latex hides /usr/share/emacs/sit= e-lisp/auctex/latex /usr/share/emacs-snapshot/site-lisp/auctex/tex-style hides /usr/share/emacs= /site-lisp/auctex/tex-style /usr/share/emacs-snapshot/site-lisp/auctex/preview hides /usr/share/emacs/s= ite-lisp/auctex/preview /usr/share/emacs-snapshot/site-lisp/auctex/prv-emacs hides /usr/share/emacs= /site-lisp/auctex/prv-emacs /usr/share/emacs-snapshot/site-lisp/auctex/tex-buf hides /usr/share/emacs/s= ite-lisp/auctex/tex-buf /usr/share/emacs-snapshot/site-lisp/auctex/tex-jp hides /usr/share/emacs/si= te-lisp/auctex/tex-jp /usr/share/emacs-snapshot/site-lisp/auctex/tex-bar hides /usr/share/emacs/s= ite-lisp/auctex/tex-bar /usr/share/emacs-snapshot/site-lisp/auctex/context-en hides /usr/share/emac= s/site-lisp/auctex/context-en /usr/share/emacs-snapshot/site-lisp/auctex/tex-fold hides /usr/share/emacs/= site-lisp/auctex/tex-fold /usr/share/emacs-snapshot/site-lisp/auctex/toolbar-x hides /usr/share/emacs= /site-lisp/auctex/toolbar-x /usr/share/emacs-snapshot/site-lisp/auctex/bib-cite hides /usr/share/emacs/= site-lisp/auctex/bib-cite /usr/share/emacs-snapshot/site-lisp/auctex/texmathp hides /usr/share/emacs/= site-lisp/auctex/texmathp Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader todoo markdown-mode cl lbdb sh-script smie executable conf-mode help-mode imenu debian-bug debian-copyright debian-changelog-mode add-log debian-control-mode python rx tramp tramp-compat auth-source eieio eieio-core password-cache tramp-loaddefs trampver shell hippie-exp thingatpt pp icalendar diary-lib diary-loaddefs org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-info org-gnus gnus-util org-docview org-bibtex bibtex org-bbdb org-icalendar org-exp ob-exp org-exp-blocks org-agenda vc-git misearch multi-isearch tabify rect flyspell ispell sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils xterm server edit-server-autoloads evil-autoloads evil-numbers-autoloads moinmoin-mode-autoloads rainbow-mode-autoloads screen-lines-autoloads tabulated-list-autoloads undo-tree-autoloads package org-crypt org-protocol org byte-opt warnings bytecomp byte-compile cconv ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys org-pcomplete pcomplete comint ansi-color org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob org-compat org-macs ob-eval org-loaddefs format-spec find-func cal-menu easymenu calendar cal-loaddefs windmove winner ido uniquify midnight time-date paren cus-start cus-load viper edmacro kmacro nadvice viper-ex viper-macs viper-mous viper-cmd viper-keym ring viper-util viper-init advice help-fns debian-el debian-el-loaddefs scala-mode-auto emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode dpkg-dev-el dpkg-dev-el-loaddefs devhelp preview-latex tex-site auto-loads cl-macs gv cl-loaddefs cl-lib tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd 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 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 dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --=20 Stefano Zacchiroli . . . . . . . zack@upsilon.cc . . . . o . . . o . o Ma=C3=AEtre de conf=C3=A9rences . . . . . http://upsilon.cc/zack . . . o . = . . o o Former Debian Project Leader . . @zack on identi.ca . . o o o . . . o . =C2=AB the first rule of tautology club is the first rule of tautology club= =C2=BB