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

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

bug#1072: Viper version is 3.14 of April 06, 2008; can't exit viper inse


From: Michael Kifer
Subject: bug#1072: Viper version is 3.14 of April 06, 2008; can't exit viper insert mode with ESC using emacsclient -t
Date: Fri, 14 Nov 2008 17:46:55 -0500


On Fri, 14 Nov 2008 17:39:30 -0500
Stefan Monnier <monnier@iro.umontreal.ca> wrote:

> >> Yes, you are right. If there is a way to find out whether the selected 
> >> window
> >> is in a terminal frame or X frame then viper-ESC-keyseq-timeout can be made
> >> into a function.
> 
> > If (window-system) is nil, you are using a terminal frame.
> 
> Or if you want code that also works with Emacs-22 (don't know about
> XEmacs), you can use (framep (selected-frame)) which also returns info
> about the kind of terminal used.

Actually, viper has the code for this, which works everywhere.
I forgot about it. All that is needed is to convert viper-ESC-keyseq-timeout
from a var to a function.






reply via email to

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