[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6758: 23.2; xterm.el: please provide an option to not discard input
From: |
Stefan Monnier |
Subject: |
bug#6758: 23.2; xterm.el: please provide an option to not discard input in terminal-init-xterm |
Date: |
Sat, 11 Sep 2010 16:08:38 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> Any thoughts on this patch?
> I've found further problems with doing aynchronous terminal queries:
> minibuffer prompts get aborted by the xterm response. For example,
> when opening up a large file:
> 1) Emacs loads and sends "\e[>0c"
> 2) Emacs prints the "File x is large (123MB), really open? (y or n)" prompt
> 3) Xterm sends the "\e[>0;253;0c" response, aborting the prompt
Indeed. But this one is "easy": y-or-n-p should use read-key rather
than read-event, so that input-decode-map will be obeyed. Of course,
that probably requires moving y-or-n-p from C to Elisp.
Stefan
- bug#6758: 23.2; xterm.el: please provide an option to not discard input in terminal-init-xterm,
Stefan Monnier <=