From: Matthew Carter <matthew.p.carter.98@gmail.com>
To: 15693@debbugs.gnu.org
Subject: 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:29:45 -0400 [thread overview]
Message-ID: <52681599.5060003@gmail.com> (raw)
$ 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.
next reply other threads:[~2013-10-23 18:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-23 18:29 Matthew Carter [this message]
2013-10-23 18:39 ` bug#15693: viper-mode disappears when switching to c++-mode using ESC-x but not when using M-x Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52681599.5060003@gmail.com \
--to=matthew.p.carter.98@gmail.com \
--cc=15693@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.