From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Agustin Martin Newsgroups: gmane.emacs.bugs Subject: bug#14782: 24.3.50; flyspell-mode garbles accents in terminal clients Date: Thu, 4 Jul 2013 12:56:32 +0200 Message-ID: <20130704105631.GA4812@agmartin.aq.upm.es> References: <87vc4r477y.fsf@usha.takhisis.invalid> <83sizv9h7m.fsf@gnu.org> <20130704070221.GA31356@upsilon.cc> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1372935431 19839 80.91.229.3 (4 Jul 2013 10:57:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Jul 2013 10:57:11 +0000 (UTC) To: Stefano Zacchiroli , 14782@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 04 12:57:11 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 1UuhDp-0006QZ-N4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Jul 2013 12:57:09 +0200 Original-Received: from localhost ([::1]:50251 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuhDp-0002kQ-DA for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Jul 2013 06:57:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuhDk-0002je-OD for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2013 06:57:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuhDj-000076-In for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2013 06:57:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34082) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuhDj-000072-Ff for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2013 06:57:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UuhDi-0000iW-VO for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2013 06:57:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Agustin Martin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Jul 2013 10:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14782 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14782-submit@debbugs.gnu.org id=B14782.13729354022613 (code B ref 14782); Thu, 04 Jul 2013 10:57:02 +0000 Original-Received: (at 14782) by debbugs.gnu.org; 4 Jul 2013 10:56:42 +0000 Original-Received: from localhost ([127.0.0.1]:56627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UuhDN-0000g2-N7 for submit@debbugs.gnu.org; Thu, 04 Jul 2013 06:56:42 -0400 Original-Received: from edison.ccupm.upm.es ([138.100.198.71]:51602 helo=smtp.upm.es) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UuhDL-0000fM-6s for 14782@debbugs.gnu.org; Thu, 04 Jul 2013 06:56:40 -0400 Original-Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by smtp.upm.es (8.14.3/8.14.3/edison-001) with ESMTP id r64AuWBf025081; Thu, 4 Jul 2013 12:56:32 +0200 Original-Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 5DAC5774; Thu, 4 Jul 2013 12:56:32 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20130704070221.GA31356@upsilon.cc> User-Agent: Mutt/1.5.21 (2010-09-15) 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:75887 Archived-At: On Thu, Jul 04, 2013 at 09:02:21AM +0200, Stefano Zacchiroli wrote: > On Thu, Jul 04, 2013 at 05:44:45AM +0300, Eli Zaretskii wrote: > > It sounds like your encoding, which Emacs uses to communicate with the > > speller, is set up incorrectly. > > Uh? And why would that be affected by whether flyspell-mode is enabled > or not? Or by whether the accented letter is typed as part of a word > rather than at the beginning of it? > > Everything of course is possible, but I don't get the rationale for your > explanation. Can you expand on it a little bit? > > Also, I should note that it works fine with Emacs 23 (without changing > my encoding settings), whereas it breaks with 24.3. For the records, in Debian sid ispell.el and flyspell.el are exactly the same for emacs23 and emacs24 packages (are provided externally by dictionaries-common package), although I see that you reproduced this also with "emacs -Q", which should use pristine values. I could not reproduce this in my ISO8859-1 box. However, if I call Emacs under the es_ES.UTF8 locale, $ LC_ALL=es_ES.UTF8 emacs23 M-x server-start $ LC_ALL=es_ES.UTF8 emacsclient.emacs23 -t everytime I type an accented char in the GUI I see its UTF8 correspondence in the client terminal, not the char. I am seeing this for Emacs23, Emacs24 and emacs-snapshot, with or without "-Q", no need to fiddle with `flyspell-mode'. This seems to not happen with GUI clients. Regards, -- Agustin