From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthew Carter Newsgroups: gmane.emacs.bugs 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 Message-ID: <52681599.5060003@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1382553201 23959 80.91.229.3 (23 Oct 2013 18:33:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2013 18:33:21 +0000 (UTC) To: 15693@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 23 20:33:24 2013 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 1VZ3FE-0007dG-Dp for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Oct 2013 20:33:24 +0200 Original-Received: from localhost ([::1]:50969 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ3FE-0007xv-3A for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Oct 2013 14:33:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ3F3-0007xW-1x for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 14:33:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZ3Et-0005zr-5H for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 14:33:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52665) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ3Et-0005zl-2A for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 14:33:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VZ3Es-0005kI-OY for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 14:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matthew Carter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Oct 2013 18:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15693 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.138255312322008 (code B ref -1); Wed, 23 Oct 2013 18:33:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Oct 2013 18:32:03 +0000 Original-Received: from localhost ([127.0.0.1]:38450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZ3Du-0005ii-8I for submit@debbugs.gnu.org; Wed, 23 Oct 2013 14:32:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33519) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZ3CJ-0005fr-NT for submit@debbugs.gnu.org; Wed, 23 Oct 2013 14:30:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZ3C6-0005Ha-25 for submit@debbugs.gnu.org; Wed, 23 Oct 2013 14:30:18 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:47554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ3C5-0005HW-VE for submit@debbugs.gnu.org; Wed, 23 Oct 2013 14:30:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ3Bx-000788-Hd for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 14:30:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZ3Bn-00050C-RG for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 14:30:01 -0400 Original-Received: from mail-oa0-x22f.google.com ([2607:f8b0:4003:c02::22f]:40794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ3Bn-0004zt-MK for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 14:29:51 -0400 Original-Received: by mail-oa0-f47.google.com with SMTP id i1so1100084oag.6 for ; Wed, 23 Oct 2013 11:29:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=5zbT61DiiL0wapEGfS/43wtEy9KB21BkkeHlWXDrKEc=; b=LOci1LpT99WvYTOEGnTKu9nYbuvkueR/94ZU8tmVgpZ/PLq+F1pOEP/7kELPtH4F48 uZxSH4ztM5/F2d/ahJ0r+jOrq9MKeZFQWVoHrUy2fxEBMaUKvQrRRyvTnpRUcAe/Rr5D +H7/Vfa7OPj2MdA9XQ6rtDpBcDIRQdrZqG7CdH9yoREqFdLFlwM5kS8uHlNtlDCcCbDL MNJmUauqMy4BQLR2llc+CpzQPuGFW8Fkl1270H0jA0Thc7zv2eAa+NWCSMuexyaAMSrj Ig2YdDWW1jsRQ3rX9V5mEeY9K6GT/YcBBTfXRvgH8vHI/MQY0EDxzjASqx/5UQN/DDpG crqA== X-Received: by 10.182.200.129 with SMTP id js1mr3077394obc.55.1382552990294; Wed, 23 Oct 2013 11:29:50 -0700 (PDT) Original-Received: from [192.168.12.83] ([198.151.8.4]) by mx.google.com with ESMTPSA id it7sm52295540obb.11.2013.10.23.11.29.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Oct 2013 11:29:49 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Wed, 23 Oct 2013 14:32:00 -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 Xref: news.gmane.org gmane.emacs.bugs:79548 Archived-At: $ 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.