From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#2233: viper-mode cursor color does not reset to red Date: Sat, 15 Aug 2009 17:27:47 -0400 Message-ID: <87ab20n4x8.fsf@cyd.mit.edu> Reply-To: Chong Yidong , 2233@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250372843 12297 80.91.229.12 (15 Aug 2009 21:47:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Aug 2009 21:47:23 +0000 (UTC) Cc: 2233@emacsbugs.donarmstrong.com, David Reitter , Nathan Sanders To: Michael Kifer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 15 23:47:15 2009 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 1McR5m-0005qS-Un for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Aug 2009 23:47:15 +0200 Original-Received: from localhost ([127.0.0.1]:33268 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McR5m-0000kg-8f for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Aug 2009 17:47:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1McR5W-0000gA-1y for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 17:46:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1McR5R-0000fH-Qg for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 17:46:57 -0400 Original-Received: from [199.232.76.173] (port=47594 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McR5R-0000f7-CY for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 17:46:53 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47455) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1McR5Q-0004f4-RG for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 17:46:53 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7FLkn7l021551; Sat, 15 Aug 2009 14:46:50 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7FLZ4oS019632; Sat, 15 Aug 2009 14:35:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 15 Aug 2009 21:35:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2233 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2233-submit@emacsbugs.donarmstrong.com id=B2233.125037161018327 (code B ref 2233); Sat, 15 Aug 2009 21:35:04 +0000 Original-Received: (at 2233) by emacsbugs.donarmstrong.com; 15 Aug 2009 21:26:50 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7FLQmrg018314 for <2233@emacsbugs.donarmstrong.com>; Sat, 15 Aug 2009 14:26:50 -0700 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id A279C57E21C; Sat, 15 Aug 2009 17:27:47 -0400 (EDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 15 Aug 2009 17:46:57 -0400 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:30221 Archived-At: Hi Michael, could you take a look at this bug report (2233 in the bug tracker)? Thanks. > if your present cursor color (the default is set in > `default-frame-alist') is the same as > `viper-replace-overlay-cursor-color' (by default: "Red"), then Viper > forgets to save it before switching to insert mode. > > The solution would be to implement `viper-save-cursor-color' cleanly, > unless that's already been done for Emacs 23 (haven't checked). > > On 7 Feb 2009, at 08:48, Nathan Sanders wrote: > > > After loading viper-mode, the cursor turns green when in Insert mode. > > It is supposed to return to red when Esc is pressed to return to VI > > mode. It does not. This occurs whether starting viper-mode > > interactively after emacs starts, or when .emacs consists solely of > > > > (setq viper-mode t) > > (require 'viper)