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#2233: viper-mode cursor color does not reset to red Date: Sat, 15 Aug 2009 18:38:14 -0400 Organization: Stony Brook University Message-ID: <20090815183814.3ac1157b@kiferdesk> References: <87ab20n4x8.fsf@cyd.mit.edu> Reply-To: kifer@cs.sunysb.edu, 2233@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 1250376445 19694 80.91.229.12 (15 Aug 2009 22:47:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Aug 2009 22:47:25 +0000 (UTC) Cc: 2233@emacsbugs.donarmstrong.com, David Reitter , Michael Kifer , Nathan Sanders To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 16 00:47:17 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 1McS1s-0005Kn-Ud for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Aug 2009 00:47:17 +0200 Original-Received: from localhost ([127.0.0.1]:35248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McS1s-00030j-4z for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Aug 2009 18:47:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1McS1b-0002vQ-Cg for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 18:46:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1McS1V-0002tt-SN for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 18:46:58 -0400 Original-Received: from [199.232.76.173] (port=58524 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McS1V-0002tj-DM for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 18:46:53 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43910) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1McS1U-0004bo-Bl for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 18:46:52 -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 n7FMknLK032000; Sat, 15 Aug 2009 15:46:50 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7FMj3o1031662; Sat, 15 Aug 2009 15:45:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Michael Kifer Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 15 Aug 2009 22:45:03 +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.125037590030702 (code B ref 2233); Sat, 15 Aug 2009 22:45:03 +0000 Original-Received: (at 2233) by emacsbugs.donarmstrong.com; 15 Aug 2009 22:38:20 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from sbcs.cs.sunysb.edu (sbcs.cs.sunysb.edu [130.245.1.15]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7FMcIYu030697 for <2233@emacsbugs.donarmstrong.com>; Sat, 15 Aug 2009 15:38:19 -0700 Original-Received: from kiferdesk (compserv1 [130.245.1.44]) by sbcs.cs.sunysb.edu (8.13.6/8.12.11) with ESMTP id n7FMcDSt013612; Sat, 15 Aug 2009 18:38:15 -0400 (EDT) In-Reply-To: <87ab20n4x8.fsf@cyd.mit.edu> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.1; i486-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 15 Aug 2009 18:46:58 -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:30230 Archived-At: Yes, the code for viper-save-cursor-color needs an overhaul, but I don't know when I'll have the time for it. On Sat, 15 Aug 2009 17:27:47 -0400 Chong Yidong wrote: > 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) >