From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Kifer Newsgroups: gmane.emacs.bugs 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 15:55:20 -0500 Organization: Stony Brook University Message-ID: <20081114155520.5ca2f5d0@kiferserv> References: <20081006095245.2FE176A99@usha.takhisis.invalid> <20081006124104.25eb7619@kiferserv> <20081007144950.GA20151@usha.takhisis.invalid> <48EB8C94.2070403@gmail.com> <20081007190607.32194926@kiferserv> <20081114134814.GA9550@usha.takhisis.invalid> <20081114145028.2a62ac24@kiferdesk> <200811142040.mAEKeL7R015416@mothra.ics.uci.edu> Reply-To: kifer@cs.sunysb.edu, 1072@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1226697028 9213 80.91.229.12 (14 Nov 2008 21:10:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Nov 2008 21:10:28 +0000 (UTC) Cc: Romain Francoise , Stefano Zacchiroli , 1072@emacsbugs.donarmstrong.com To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 14 22:11:28 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L15ws-0001gJ-CW for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Nov 2008 22:11:27 +0100 Original-Received: from localhost ([127.0.0.1]:39556 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L15vk-0002Nb-1x for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Nov 2008 16:10:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L15vh-0002NW-2d for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2008 16:10:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L15vf-0002NK-M7 for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2008 16:10:11 -0500 Original-Received: from [199.232.76.173] (port=37507 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L15vf-0002NH-HZ for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2008 16:10:11 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:38451) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L15vf-0005Jc-77 for bug-gnu-emacs@gnu.org; Fri, 14 Nov 2008 16:10:11 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAELA7re013725; Fri, 14 Nov 2008 13:10:08 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mAEL55vk012235; Fri, 14 Nov 2008 13:05:05 -0800 X-Loop: don@donarmstrong.com Resent-From: Michael Kifer Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 14 Nov 2008 21:05:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1072 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1072-submit@emacsbugs.donarmstrong.com id=B1072.122669612610170 (code B ref 1072); Fri, 14 Nov 2008 21:05:05 +0000 Original-Received: (at 1072) by emacsbugs.donarmstrong.com; 14 Nov 2008 20:55:26 +0000 Original-Received: from sbcs.cs.sunysb.edu (sbcs.cs.sunysb.edu [130.245.1.15]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAEKtNYQ010164 for <1072@emacsbugs.donarmstrong.com>; Fri, 14 Nov 2008 12:55:24 -0800 Original-Received: from kiferserv (compserv1 [130.245.1.44]) by sbcs.cs.sunysb.edu (8.13.6/8.12.11) with ESMTP id mAEKtJHw024356; Fri, 14 Nov 2008 15:55:19 -0500 (EST) In-Reply-To: <200811142040.mAEKeL7R015416@mothra.ics.uci.edu> X-Mailer: Claws Mail 3.6.1 (GTK+ 2.12.9; i486-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 14 Nov 2008 16:10:11 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22347 Archived-At: On Fri, 14 Nov 2008 12:40:21 -0800 (PST) Dan Nicolaescu wrote: > Michael Kifer writes: > > > On Fri, 14 Nov 2008 14:48:14 +0100 > > Stefano Zacchiroli wrote: > > > > > 1) viper-ESC-keyseq-timeout is a global variable, shared by all Emacs > > > clients, can it be made local to a buffer (actually it would be > > > enough to make it local to a client, but I don't believe it is > > > possible), or there is some Viper magic which would defeat this > > > solution not work? > > > > I don't see a reason why this variable cannot be buffer-local. > > Disclaimer: I don't know anything about viper. > > But the above does not sound right: a buffer can be used in both an X11 > frame and a tty frame at the same time, so a buffer-local value won't > work. 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.