GNU bug report logs -
#20521
Viper version is 3.14.2 of July 4, 2013; After some hours of use I don't enter viper mode automatically on new files
Previous Next
Full log
Message #23 received at 20521 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I must be going crazy. Here is my latest sanity check code in viper-check-state in viper-cmd.el
(when (eq (default-value 'viper-current-state) 'vi-state)
(message "Doomed going in"))
(setq-local viper-current-state new-state)
(when (eq (default-value 'viper-current-state) 'vi-state)
(message "Doomed. viper-current-state is now vi-state"))
The setq-local replaces a simple setq at about line 380. When the problem starts I see the "Doomed. Viper-current-state is now vi-state", but I do *not* see the "Doomed going in" message. This implies that setq-local is setting the default value of the variable and that really shouldn't be possible. Either I'm nuts or this is an emacs bug.
---------------------------------------------------------------------
STATEMENT OF CONFIDENTIALITY
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. No representation is made on its accuracy or completeness of the information contained in this electronic message. Certain assumptions may have been made in the preparation of this material as at this date, and are subject to change without notice. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail and any attachment(s) is strictly prohibited. Please reply to the sender at NextLabs Inc and destroy all copies of this message and any attachments from your system. ======================================================================
[Message part 2 (text/html, inline)]
This bug report was last modified 3 years and 104 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.