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

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

bug#2233: [Aquamacs-bugs] viper-mode cursor color does not reset to red


From: David Reitter
Subject: bug#2233: [Aquamacs-bugs] viper-mode cursor color does not reset to red
Date: Sat, 7 Feb 2009 20:29:03 -0500

I believe this is a bug in viper mode: 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 workaround is to set viper-replace-overlay-cursor-color to something like "red4".

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)

Or when .emacs does not exist, but ~/Library/Preferences/Aquamacs
Emacs/Preferences.el consists of the above.

I tested the behavior in 1.4, the version I am using now. There, the
bug only appears when loading viper-mode interactively, not after
loading from .emacs

--Nathan Sanders

In GNU Emacs 22.3.2 (i386-apple-darwin9.5.0, Carbon Version 1.6.0)
of 2009-01-11 on plume.sr.unh.edu - Aquamacs Distribution 1.6
Windowing system distributor `Apple Inc.', version 10.5.5
configured using `configure  '--without-x' '--prefix=/usr/local''

Important settings:
 value of $LC_ALL: nil
 value of $LC_COLLATE: nil
 value of $LC_CTYPE: nil
 value of $LC_MESSAGES: nil
 value of $LC_MONETARY: nil
 value of $LC_NUMERIC: nil
 value of $LC_TIME: nil
 value of $LANG: nil
 locale-coding-system: iso-8859-1
 default-enable-multibyte-characters: t

Major mode: Text

Minor modes in effect:
 savehist-mode: t
 smart-frame-positioning-mode: t
 aquamacs-autoface-mode: t
 global-visual-line-mode: t
 visual-line-mode: t
 recentf-mode: t
 encoded-kbd-mode: t
 osx-key-mode: t
 tabbar-mwheel-mode: t
 tabbar-mode: t
 show-paren-mode: t
 delete-selection-mode: t
 pc-selection-mode: t
 cua-mode: t
 tooltip-mode: t
 tool-bar-mode: t
 mouse-wheel-mode: t
 menu-bar-mode: t
 file-name-shadow-mode: t
 global-font-lock-mode: t
 font-lock-mode: t
 blink-cursor-mode: t
 unify-8859-on-encoding-mode: t
 utf-translate-cjk-mode: t
 auto-compression-mode: t
 column-number-mode: t
 line-number-mode: t
 transient-mark-mode: t

Recent input:
j j <backspace> <backspace> C-x C-f C-g C-n C-n C-f
C-f M-x v i p e r - m o <tab> <return> j j j k k k
i d k d k <backspace> <backspace> <backspace> <backspace>
<escape> j j k k k k k j j j j l l l l l l l l l l
l <menu-bar> <help-menu> <bug-diagnosis> <send-ema
cs-bug-report>

Recent messages:
Aquamacs is based on GNU Emacs 22, a part of the GNU/Linux system. It
is Free Software: you can improve and redistribute it under the GNU
General Public License, version 3 or later. Copyright (C) 2008 Free
Software Foundation, Inc. (C) 2008 D. Reitter. No Warranty.
Quit
Loading viper...
Loading cl-macs...done
Loading viper...done
Loading viper...
Loading /Users/zackman/.viper...done
Loading viper...done
line-move-1: Beginning of buffer
Loading emacsbug...done

Command line: (/Applications/NetBeans/Aquamacs
Emacs.app/Contents/MacOS/Aquamacs Emacs)

PATH: /opt/local/bin:/Library/Frameworks/Python.framework/Versions/ Current/bin:/usr/local/bin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/ sbin:/usr/local/bin:/usr/X11/bin:/usr/X11R6/bin:/usr/bin:/bin:/usr/ sbin:/sbin

exec-path: (/opt/local/bin
/Library/Frameworks/Python.framework/Versions/Current/bin
/usr/local/bin /sw/bin /sw/sbin /usr/bin /bin /usr/sbin /sbin
/usr/local/bin /usr/X11/bin /usr/X11R6/bin /usr/bin /bin /usr/sbin
/sbin /Applications/NetBeans/Aquamacs Emacs.app/Contents/MacOS/libexec
/Applications/NetBeans/Aquamacs Emacs.app/Contents/MacOS/bin)

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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