From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Morgan Newsgroups: gmane.emacs.bugs Subject: bug#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 Date: Wed, 6 May 2015 16:35:26 -0700 Message-ID: <0DBA2ACE64E8894F80DEC59F1EB9BE23048E1E554241@NXT-EXCH.nextlabs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_0DBA2ACE64E8894F80DEC59F1EB9BE23048E1E554241NXTEXCHnext_" X-Trace: ger.gmane.org 1430955633 21394 80.91.229.3 (6 May 2015 23:40:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 May 2015 23:40:33 +0000 (UTC) To: kifer@cs.stonybrook.edu, 20521@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 07 01:40:14 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yq8vG-0007Hb-53 for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 May 2015 01:40:14 +0200 Original-Received: from localhost ([::1]:47480 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq8vF-0004xG-F9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 May 2015 19:40:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq8vA-0004w6-Ej for bug-gnu-emacs@gnu.org; Wed, 06 May 2015 19:40:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yq8v7-0005fU-Lf for bug-gnu-emacs@gnu.org; Wed, 06 May 2015 19:40:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq8v7-0005eo-I6 for bug-gnu-emacs@gnu.org; Wed, 06 May 2015 19:40:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yq8v6-0003K5-Rd for bug-gnu-emacs@gnu.org; Wed, 06 May 2015 19:40:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Morgan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 May 2015 23:40:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20521 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: "kifer@cs.stonybrook.edu" , "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.143095558012729 (code B ref -1); Wed, 06 May 2015 23:40:04 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 May 2015 23:39:40 +0000 Original-Received: from localhost ([127.0.0.1]:36642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yq8ug-0003JE-T0 for submit@debbugs.gnu.org; Wed, 06 May 2015 19:39:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53150) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yq8rZ-0003EL-TK for submit@debbugs.gnu.org; Wed, 06 May 2015 19:36:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yq8rS-0004gb-TH for submit@debbugs.gnu.org; Wed, 06 May 2015 19:36:20 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:35218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq8rS-0004gX-QE for submit@debbugs.gnu.org; Wed, 06 May 2015 19:36:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq8rQ-0004iG-O1 for bug-gnu-emacs@gnu.org; Wed, 06 May 2015 19:36:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yq8rN-0004fF-UT for bug-gnu-emacs@gnu.org; Wed, 06 May 2015 19:36:16 -0400 Original-Received: from mail1.bemta8.messagelabs.com ([216.82.243.198]:26081) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yq8rN-0004f9-OW for bug-gnu-emacs@gnu.org; Wed, 06 May 2015 19:36:13 -0400 Original-Received: from [216.82.242.19] by server-6.bemta-8.messagelabs.com id 26/90-20520-B65AA455; Wed, 06 May 2015 23:36:11 +0000 X-Env-Sender: Alan.Morgan@nextlabs.com X-Msg-Ref: server-9.tower-191.messagelabs.com!1430955369!13569917!1 X-Originating-IP: [173.167.112.114] X-StarScan-Received: X-StarScan-Version: 6.13.14; banners=nextlabs.com,-,- X-VirusChecked: Checked Original-Received: (qmail 21098 invoked from network); 6 May 2015 23:36:11 -0000 Original-Received: from customer.nextlabs.com (HELO mail.nextlabs.com) (173.167.112.114) by server-9.tower-191.messagelabs.com with AES128-SHA encrypted SMTP; 6 May 2015 23:36:11 -0000 Original-Received: from NXT-EXCH.nextlabs.com ([169.254.1.117]) by nxt-exchfe02.nextlabs.com ([fe80::7c5d:a47f:a7a8:9685%13]) with mapi; Wed, 6 May 2015 16:35:27 -0700 Thread-Topic: 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 Thread-Index: AdCIVUBvoNzrigpkSbqbxEborMw7AQ== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Wed, 06 May 2015 19:39:36 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org X-Spam-Report: 5.0 points; * 0.0 HTML_MESSAGE BODY: HTML included in message * 1.8 MIME_QP_LONG_LINE RAW: Quoted-printable line longer than 76 chars * 3.2 LONGWORDS Long string of long words Xref: news.gmane.org gmane.emacs.bugs:102557 Archived-At: --_000_0DBA2ACE64E8894F80DEC59F1EB9BE23048E1E554241NXTEXCHnext_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Congratulations! You may have unearthed a bug in Viper! Please mail a concise, accurate summary of the problem to the address abov= e. ------------------------------------------------------------------- I don't have a reproducible case (sorry) and am working on debugging this myself, but it's hard to reproduce. I have emacs up all the time and I've noticed that after "a few hours" viper-mode won't be entered in automatically for new buffers (loaded with C-x C-f or :r. It doesn't seem to matter). I have to M-x viper-mode manually. Up until this point I've focused on set-viper-state-in-major-mode. It looks like viper-current-state is set to vi-state even though I'm not in viper-mode. This seems wrong to me (I'm assuming this state is only set when in viper-mode), but I can't figure out how it's happening. Googling has not been productive yet, hence this (rather unhelpful, I imag= ine) bug report. Emacs : GNU Emacs 24.5.1 (x86_64-w64-mingw32) of 2015-04-05 on KAEL Package: Viper version is 3.14.2 of July 4,=202013 current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq viper-vi-minibuffer-minor-mode nil viper-insert-minibuffer-minor-mode nil viper-vi-intercept-minor-mode t viper-vi-local-user-minor-mode t viper-vi-kbd-minor-mode t viper-vi-global-user-minor-mode t viper-vi-state-modifier-minor-mode t viper-vi-diehard-minor-mode nil viper-vi-basic-minor-mode t viper-replace-minor-mode nil viper-insert-intercept-minor-mode nil viper-insert-local-user-minor-mode nil viper-insert-kbd-minor-mode nil viper-insert-global-user-minor-mode nil viper-insert-state-modifier-minor-mode nil viper-insert-diehard-minor-mode nil viper-insert-basic-minor-mode nil viper-emacs-intercept-minor-mode nil viper-emacs-local-user-minor-mode nil viper-emacs-kbd-minor-mode nil viper-emacs-global-user-minor-mode nil viper-emacs-state-modifier-minor-mode nil viper-automatic-iso-accents nil viper-special-input-method nil viper-want-emacs-keys-in-insert nil viper-want-emacs-keys-in-vi t viper-keep-point-on-undo nil viper-no-multiple-ESC nil viper-electric-mode t viper-ESC-key [escape] viper-want-ctl-h-help nil viper-ex-style-editing t viper-delete-backwards-in-replace nil viper-vi-style-in-minibuffer t viper-vi-state-hook 'viper-restore-cursor-type viper-insert-state-hook 'viper-set-insert-cursor-type viper-replace-state-hook 'viper-restore-cursor-type viper-emacs-state-hook 'viper-restore-cursor-type ex-cycle-other-window t ex-cycle-through-non-files nil viper-expert-level 2 major-mode 'emacs-lisp-mode viper-device-type 'w32 color-display-p t frame-parameters '((tool-bar-position . top) (parent-id) (explicit-name) (= display . "w32") (visibility . t) (icon-name) (window-id . "132178") (t= op + -8) (left + -8) (buried-buffer-list # #) (buffer-list # #= # # # #= # # #> # # # # # #) (unsplittable) (minibuffer . #) (modeline . t) (width . 211) (height . 52) (name . "emacs@MANN") (viper-vi-state-cursor-color . "dodgerblue") (viper-saved-cursor-color-in-replace-mode . "dodgerblu= e") (environment) (cursor-color . "dodgerblue") (background-mode . dark)= (display-type . color) (horizontal-scroll-bars . t) (window-system . w32) (sc= roll-bar-width . 0) (cursor-type . box) (auto-lower) (auto-raise) (icon-ty= pe) (fullscreen . maximized) (title) (buffer-predicate) (tool-bar-lines . 0) (menu-= bar-lines . 1) (alpha) (right-fringe . 9) (left-fringe . 9) (line-spacing) (s= creen-gamma) =20 (border-color . "black") (mouse-color . "green") (background-color . "darkslategrey") (foreground-color= . "white") (vertical-scroll-bars) (bottom-divider-width . 0) (rig= ht-divider-width . 0) (internal-border-width . 0) (border-width . 2) (font . "-outline-Consolas-normal-normal-normal-mono-1= 6-*-*-*-c-*-iso8859-1") (font-backend uniscribe gdi)) minibuffer-vi-face [face unspecified unspecified unspecified unspecified u= nspecified unspecified unspecified unspecified unspecified unspecified uns= pecified unspecified unspecified unspecified unspecified unspecified unspe= cified unspecified] minibuffer-insert-face [face unspecified unspecified unspecified unspecifi= ed unspecified unspecified unspecified unspecified unspecified unspecified= unspecified unspecified unspecified unspecified unspecified unspecified u= nspecified unspecified] minibuffer-emacs-face [face unspecified unspecified unspecified unspecifie= d unspecified unspecified unspecified unspecified unspecified unspecified = unspecified unspecified unspecified unspecified unspecified unspecified un= specified unspecified] ) --------------------------------------------------------------------- STATEMENT OF CONFIDENTIALITY =20 The information contained in this electronic message and any attachments t= o this message are intended for the exclusive use of the addressee(s) and = may contain confidential or privileged information. No representation is m= ade on its accuracy or completeness of the information contained in this e= lectronic message. Certain assumptions may have been made in the preparati= on of this material as at this date, and are subject to change without not= ice. If you are not the intended recipient, you are hereby notified that a= ny dissemination, distribution or copying of this e-mail and any attachmen= t(s) is strictly prohibited. Please reply to the sender at NextLabs Inc an= d destroy all copies of this message and any attachments from your system.= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --_000_0DBA2ACE64E8894F80DEC59F1EB9BE23048E1E554241NXTEXCHnext_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

&= nbsp;

Congratulations! You may have unearthe= d a bug in Viper!

Please mail a concise= , accurate summary of the problem to the address above.

 

---------------= ----------------------------------------------------

 

I don't have a rep= roducible case (sorry) and am working on debugging

this myself, but it's hard to reproduce. I have emacs up all the= time

and I've noticed that after "= ;a few hours" viper-mode won't be entered in

automatically for new buffers (loaded with C-x C-f or :r. It doe= sn't

seem to matter). I have to M-x vip= er-mode manually.

 

=

Up until this point I've focused on set-viper-state-i= n-major-mode. It

looks like viper-curre= nt-state is set to vi-state even though I'm not in

viper-mode. This seems wrong to me (I'm assuming this state is o= nly set

when in viper-mode), but I can'= t figure out how it's happening.

&= nbsp;

Googling has not been productive yet, = hence this (rather unhelpful, I imagine) bug report.

 

Emacs  : GNU = Emacs 24.5.1 (x86_64-w64-mingw32)

of 2= 015-04-05 on KAEL

Package: Viper versio= n is 3.14.2 of July 4, 2013

 =

current state:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

(setq

viper-vi-minibuffer-mi= nor-mode nil

viper-insert-minibuffer-m= inor-mode nil

viper-vi-intercept-minor= -mode t

viper-vi-local-user-minor-mode= t

viper-vi-kbd-minor-mode t

viper-vi-global-user-minor-mode t

viper-vi-state-modifier-minor-mode t

=

viper-vi-diehard-minor-mode nil

viper-vi-basic-minor-mode t

viper-replace-minor-mode nil

vip= er-insert-intercept-minor-mode nil

vip= er-insert-local-user-minor-mode nil

vi= per-insert-kbd-minor-mode nil

viper-in= sert-global-user-minor-mode nil

viper-= insert-state-modifier-minor-mode nil

v= iper-insert-diehard-minor-mode nil

vip= er-insert-basic-minor-mode nil

viper-e= macs-intercept-minor-mode nil

viper-em= acs-local-user-minor-mode nil

viper-em= acs-kbd-minor-mode nil

viper-emacs-glo= bal-user-minor-mode nil

viper-emacs-st= ate-modifier-minor-mode nil

viper-auto= matic-iso-accents nil

viper-special-in= put-method nil

viper-want-emacs-keys-i= n-insert nil

viper-want-emacs-keys-in-= vi t

viper-keep-point-on-undo nil=

viper-no-multiple-ESC nil

viper-electric-mode t

viper-ESC-key [escape]

viper-want-= ctl-h-help nil

viper-ex-style-editing = t

viper-delete-backwards-in-replace ni= l

viper-vi-style-in-minibuffer t<= /o:p>

viper-vi-state-hook 'viper-restore-cursor-t= ype

viper-insert-state-hook 'viper-set= -insert-cursor-type

viper-replace-stat= e-hook 'viper-restore-cursor-type

vipe= r-emacs-state-hook 'viper-restore-cursor-type

ex-cycle-other-window t

ex-cyc= le-through-non-files nil

viper-expert-= level 2

major-mode 'emacs-lisp-mode

viper-device-type 'w32

color-display-p t

f= rame-parameters '((tool-bar-position . top) (parent-id) (explicit-name) (d= isplay . "w32")

  &= nbsp;           &nb= sp;     (visibility . t) (icon-name) (window-id . &quo= t;132178") (top + -8) (left + -8)

=             &n= bsp;       (buried-buffer-list #<buffer *= Completions*> #<buffer  *viper-ask-level*>)

         &= nbsp;          (buffer-list #= <buffer viper.el> #<buffer  *Minibuf-1*> #<buffer buil= dRelease>

    &n= bsp;           &nbs= p;    #<buffer build_publish.xml> #<buffer *Buffer= List*> #<buffer viper.notes.txt>

           &nbs= p;         #<buffer *Messages*&= gt; #<buffer *grep*> #<buffer configure<main>> #<buff= er main>

    &nb= sp;            = ;    #<buffer build_policies.pl> #<buffer PSRTestP= olicies.xml> #<buffer Engine.java>

           &nb= sp;         #<buffer *GNU Emacs= *> #<buffer *scratch*>)

 =              &= nbsp;     (unsplittable) (minibuffer . #<windo= w 4 on  *Minibuf-0*>) (modeline . t)

           &n= bsp;        (width . 211) (height . 52)= (name . "emacs@MANN")

 =             &n= bsp;      (viper-vi-state-cursor-color . "do= dgerblue")

    = ;            &= nbsp;   (viper-saved-cursor-color-in-replace-mode . "dodger= blue") (environment)

  &= nbsp;           &nb= sp;     (cursor-color . "dodgerblue") (backg= round-mode . dark) (display-type . color)

            = ;        (horizontal-scroll-bars . t) (= window-system . w32) (scroll-bar-width . 0)

            &n= bsp;       (cursor-type . box) (auto-lo= wer) (auto-raise) (icon-type) (fullscreen . maximized)

         &nbs= p;          (title) (buffer-p= redicate) (tool-bar-lines . 0) (menu-bar-lines . 1) (alpha)

=

         = ;           (right-fring= e . 9) (left-fringe . 9) (line-spacing) (screen-gamma)

         &nbs= p;          (border-color . &= quot;black") (mouse-color . "green")

          &= nbsp;         (background-color . = "darkslategrey") (foreground-color . "white")

        = ;            (verti= cal-scroll-bars) (bottom-divider-width . 0) (right-divider-width . 0)=

       &= nbsp;            (i= nternal-border-width . 0) (border-width . 2)

           &n= bsp;        (font . "-outline-Cons= olas-normal-normal-normal-mono-16-*-*-*-c-*-iso8859-1")

        &nbs= p;           (font-backe= nd uniscribe gdi))

minibuffer-vi-face = [face unspecified unspecified unspecified unspecified unspecified unspecif= ied unspecified unspecified unspecified unspecified unspecified unspecifie= d unspecified unspecified unspecified unspecified unspecified unspecified]=

minibuffer-insert-face [face unspecif= ied unspecified unspecified unspecified unspecified unspecified unspecifie= d unspecified unspecified unspecified unspecified unspecified unspecified = unspecified unspecified unspecified unspecified unspecified]

minibuffer-emacs-face [face unspecified unspecified= unspecified unspecified unspecified unspecified unspecified unspecified u= nspecified unspecified unspecified unspecified unspecified unspecified uns= pecified unspecified unspecified unspecified]

)


---------------------------------------------------------------------
= STATEMENT OF CONFIDENTIALITY

The information contained in this electronic message and any attachments t= o this message are intended for the exclusive use of the addressee(s) and = may contain confidential or privileged information. No representation is m= ade on its accuracy or completeness of the information contained in this e= lectronic message. Certain assumptions may have been made in the preparati= on of this material as at this date, and are subject to change without not= ice. If you are not the intended recipient, you are hereby notified that a= ny dissemination, distribution or copying of this e-mail and any attachmen= t(s) is strictly prohibited. Please reply to the sender at NextLabs Inc an= d destroy all copies of this message and any attachments from your system.= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--_000_0DBA2ACE64E8894F80DEC59F1EB9BE23048E1E554241NXTEXCHnext_--