GNU bug report logs - #15693
viper-mode disappears when switching to c++-mode using ESC-x but not when using M-x

Previous Next

Package: emacs;

Reported by: Matthew Carter <matthew.p.carter.98 <at> gmail.com>

Date: Wed, 23 Oct 2013 18:33:02 UTC

Severity: normal

Fixed in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Matthew Carter <matthew.p.carter.98 <at> gmail.com>
Subject: bug#15693: closed (Re: bug#15693: viper-mode disappears when
 switching to c++-mode using ESC-x but not when using M-x)
Date: Wed, 23 Oct 2013 18:40:04 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#15693: viper-mode disappears when switching to c++-mode using ESC-x but not when using M-x

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 15693 <at> debbugs.gnu.org.

-- 
15693: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15693
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 15693-done <at> debbugs.gnu.org
Subject: Re: bug#15693: viper-mode disappears when switching to c++-mode using
 ESC-x but not when using M-x
Date: Wed, 23 Oct 2013 14:39:07 -0400
Version: 24.1

Matthew Carter wrote:

> $ emacs --version
> GNU Emacs 23.3.1

Thanks. By experiment, this is fixed in 24.1, so time to upgrade.
Latest is 24.3.

[Message part 3 (message/rfc822, inline)]
From: Matthew Carter <matthew.p.carter.98 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: viper-mode disappears when switching to c++-mode using ESC-x but
 not when using M-x
Date: Wed, 23 Oct 2013 14:29:45 -0400
$ emacs --version
GNU Emacs 23.3.1

$ uname -a
Linux taurus 3.3.7-1.fc16.x86_64 #1 SMP Tue May 22 13:59:39 UTC 2012 
x86_64 x86_64 x86_64 GNU/Linux

$ cat .emacs
(setq viper-mode t)
(require 'viper)

$ cat .viper
(setq viper-no-multiple-ESC 'nil)
(setq viper-inhibit-startup-message 't)
(setq viper-expert-level '5)

$ ls > 1.cpp.ftl

Test 1:
$ emacs 1.cpp.ftl
Press and release the Esc key.
Press and release the x key.
Type "c++-mode" (without the quotes) and press Enter.
Result: Buffer switches to c++-mode but viper-mode is off.

Test 2:
$ emacs 1.cpp.ftl
Press and hold the Meta (Alt) key.
Press and release the x key.
Release the Meta (Alt) key.
Type "c++-mode" (without the quotes) and press Enter.
Result: Buffer switches to c++-mode but viper-mode is on.

I have reproduced these results with 2 different emacs installations 
on 2 different machines, one Linux, one Windows 7.

I expected, in Test 1, for the buffer to remain in viper-mode upon 
switching to c++-mode .  I believe that it is a defect that it lost 
viper-mode.

Please let me know if you have any questions.

Thank you.



This bug report was last modified 11 years and 211 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.