[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
- bug#14782: 24.3.50; flyspell-mode garbles accents in terminal clients, (continued)
- bug#14782: 24.3.50; flyspell-mode garbles accents in terminal clients, Andreas Schwab, 2013/07/04
- bug#14782: 24.3.50; flyspell-mode garbles accents in terminal clients, Eli Zaretskii, 2013/07/04
- bug#14782: 24.3.50; flyspell-mode garbles accents in terminal clients, Stefano Zacchiroli, 2013/07/04
- bug#14782: 24.3.50; flyspell-mode garbles accents in terminal clients, Eli Zaretskii, 2013/07/04
- bug#14782: 24.3.50; flyspell-mode garbles accents in terminal clients, Stefano Zacchiroli, 2013/07/04
- bug#14782: 24.3.50; flyspell-mode garbles accents in terminal clients, Eli Zaretskii, 2013/07/05
- bug#14782: 24.3.50; flyspell-mode garbles accents in terminal clients, Stefano Zacchiroli, 2013/07/05
- bug#14782: 24.3.50; flyspell-mode garbles accents in terminal clients, Stefan Monnier, 2013/07/05
- bug#14782: 24.3.50; flyspell-mode garbles accents in terminal clients, Stefano Zacchiroli, 2013/07/05
- bug#14782: 24.3.50; flyspell-mode garbles accents in terminal clients, Stefan Monnier, 2013/07/05
- bug#14782: 24.3.50; flyspell-mode garbles accents in terminal clients,
Stefan Monnier <=
- bug#14782: 24.3.50; flyspell-mode garbles accents in terminal clients, Stefano Zacchiroli, 2013/07/06
- bug#14782: 24.3.50; flyspell-mode garbles accents in terminal clients, Stefan Monnier, 2013/07/06