all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Stefano Zacchiroli <zack@upsilon.cc>
Cc: 14782@debbugs.gnu.org
Subject: bug#14782: 24.3.50; flyspell-mode garbles accents in terminal clients
Date: Fri, 05 Jul 2013 20:12:26 -0400	[thread overview]
Message-ID: <jwv7gh4r1im.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20130705154025.GB2174@upsilon.cc> (Stefano Zacchiroli's message of "Fri, 5 Jul 2013 17:40:25 +0200")

> then in a terminal:

>   $ emacsclient -t foo.txt
>   conférence                    # this works fine
>   M-x flyspell-mode
>   conférence                    # this gives garbled output

The problem was in sit-for.
I installed the patch below which should fix it,


        Stefan


=== modified file 'lisp/subr.el'
--- lisp/subr.el	2013-07-04 09:39:36 +0000
+++ lisp/subr.el	2013-07-06 00:06:02 +0000
@@ -2200,7 +2196,10 @@
     (or nodisp (redisplay)))
    (t
     (or nodisp (redisplay))
-    (let ((read (read-event nil nil seconds)))
+    ;; 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)))
       (or (null read)
 	  (progn
 	    ;; If last command was a prefix arg, e.g. C-u, push this event onto






  parent reply	other threads:[~2013-07-06  0:12 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-03 22:19 bug#14782: 24.3.50; flyspell-mode garbles accents in terminal clients Stefano Zacchiroli
2013-07-04  2:44 ` Eli Zaretskii
2013-07-04  7:02   ` Stefano Zacchiroli
2013-07-04 10:56     ` Agustin Martin
2013-07-04 13:36       ` Andreas Schwab
2013-07-04 16:16     ` Eli Zaretskii
2013-07-04 16:52       ` Stefano Zacchiroli
2013-07-04 18:13         ` Eli Zaretskii
2013-07-04 19:20           ` Stefano Zacchiroli
2013-07-05 11:16             ` Eli Zaretskii
2013-07-05 15:30               ` Stefano Zacchiroli
2013-07-05 11:42             ` Stefan Monnier
2013-07-05 15:40               ` Stefano Zacchiroli
2013-07-05 23:35                 ` Stefan Monnier
2013-07-06  0:12                 ` Stefan Monnier [this message]
2013-07-06  7:28                   ` Stefano Zacchiroli
2013-07-06  9:22                     ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv7gh4r1im.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=14782@debbugs.gnu.org \
    --cc=zack@upsilon.cc \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.