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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15693 in the body.
You can then email your comments to 15693 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#15693; Package emacs. (Wed, 23 Oct 2013 18:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matthew Carter <matthew.p.carter.98 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 23 Oct 2013 18:33:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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.




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Wed, 23 Oct 2013 18:40:02 GMT) Full text and rfc822 format available.

Notification sent to Matthew Carter <matthew.p.carter.98 <at> gmail.com>:
bug acknowledged by developer. (Wed, 23 Oct 2013 18:40:03 GMT) Full text and rfc822 format available.

Message #10 received at 15693-done <at> debbugs.gnu.org (full text, mbox):

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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 21 Nov 2013 12:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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