bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14782: 24.3.50; flyspell-mode garbles accents in terminal clients


From: Stefan Monnier
Subject: bug#14782: 24.3.50; flyspell-mode garbles accents in terminal clients
Date: Fri, 05 Jul 2013 20:12:26 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]