From unknown Fri Aug 15 15:35:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6552: 24.0.50; viper mode regression from June 27 Resent-From: Jim Meyering Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Jul 2010 09:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6552 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6552@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.12780626109771 (code B ref -1); Fri, 02 Jul 2010 09:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jul 2010 09:23:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUcT4-0002XY-4V for submit@debbugs.gnu.org; Fri, 02 Jul 2010 05:23:30 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUcT1-0002XS-My for submit@debbugs.gnu.org; Fri, 02 Jul 2010 05:23:29 -0400 Received: from lists.gnu.org ([199.232.76.165]:54195) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OUcSy-0008Ht-RH for submit@debbugs.gnu.org; Fri, 02 Jul 2010 05:23:24 -0400 Received: from [140.186.70.92] (port=42568 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUcSw-0005FD-QY for bug-gnu-emacs@gnu.org; Fri, 02 Jul 2010 05:23:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OUcSv-0007yQ-5t for bug-gnu-emacs@gnu.org; Fri, 02 Jul 2010 05:23:22 -0400 Received: from smtp1-g21.free.fr ([212.27.42.1]:57776) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUcSu-0007y1-I5 for bug-gnu-emacs@gnu.org; Fri, 02 Jul 2010 05:23:21 -0400 Received: from mx.meyering.net (unknown [82.230.74.64]) by smtp1-g21.free.fr (Postfix) with ESMTP id 423FB94018C for ; Fri, 2 Jul 2010 11:23:15 +0200 (CEST) Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 1E816BCA; Fri, 2 Jul 2010 11:23:14 +0200 (CEST) From: Jim Meyering Date: Fri, 02 Jul 2010 11:23:14 +0200 Message-ID: <87tyoii6f1.fsf@meyering.net> Lines: 111 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.4 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.4 (-----) Hello, Starting with this commit[*], http://repo.or.cz/w/emacs.git/commitdiff/43d0feabe7ed65a509022 when I use viper mode and use the "C" command, emacs now leaves the cursor positioned one character too far to the left. I think it's that commit because I ran git bisect using the test described below. E.g., if the 1-character-wide rectangular cursor is on the "x" of the line below, I'm in viper's "command mode" and I type "C", normally it would remove the "x" and everything to the right and leave me in insert mode with a vertical-bar-cursor right after the ".". Now, however, it leaves me with the cursor *before* the ".". 1.xthings_to_remove [*] Here's the log from the offending commit: commit 43d0feabe7ed65a50902278088a4dd73421ead1c Author: Chong Yidong Date: Sun Jun 27 21:01:11 2010 -0400 * bindings.el (global-map): Bind delete and DEL, the former to delete-forward-char. * mouse.el (mouse-region-delete-keys): Deleted. (mouse-show-mark): Simplify. * simple.el (delete-active-region): New option. (delete-backward-char): Implement in Lisp. (delete-forward-char): New command. * src/cmds.c (Fdelete_backward_char): Move into Lisp. In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2010-07-02 on vm.meyering.net Windowing system distributor `Fedora Project', version 11.0.10800000 configured using `configure '--disable-nls' '--prefix=/p/p/emacs-2010-07-02.08h23'' Important settings: value of $LC_ALL: C value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: nil default enable-multibyte-characters: t Major mode: Text Minor modes in effect: shell-dirtrack-mode: t flyspell-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: x r e p o r t - b u g Recent messages: Starting new Ispell process [default] ... Loading vc-hooks...done Loading desktop...done No desktop file. Loading ~/emacs/startup...done [3 times] Ispell process killed Starting new Ispell process [default] ... (New file) Ispell process killed Starting new Ispell process [default] ... Load-path shadows: /home/j/emacs/startup hides /p/p/emacs-2010-07-02.08h23/share/emacs/24.0.50/lisp/startup /home/j/emacs/ruby-mode hides /p/p/emacs-2010-07-02.08h23/share/emacs/24.0.50/lisp/progmodes/ruby-mode /home/j/emacs/nnir hides /p/p/emacs-2010-07-02.08h23/share/emacs/24.0.50/lisp/gnus/nnir Features: (shadow sort mail-extr message sendmail rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader warnings emacsbug package tramp-imap assoc tramp-gw tramp-gvfs zeroconf url-util url-parse url-vars mm-util mail-prsvr dbus xml tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp auth-source gnus-util shell password-cache format-spec tramp-compat trampver uniquify idutils thingatpt compile comint viper regexp-opt flyspell ispell viper-ex viper-macs viper-mous viper-cmd viper-keym ring viper-util viper-init advice help-fns advice-preload ido which-func imenu desktop cus-start cus-load tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting font-render-setting gtk x-toolkit x multi-tty emacs) From unknown Fri Aug 15 15:35:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6552: 24.0.50; viper mode regression from June 27 Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Jul 2010 14:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6552 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jim Meyering Cc: 6552@debbugs.gnu.org Received: via spool by 6552-submit@debbugs.gnu.org id=B6552.127807979018946 (code B ref 6552); Fri, 02 Jul 2010 14:10:02 +0000 Received: (at 6552) by debbugs.gnu.org; 2 Jul 2010 14:09:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUgwA-0004vX-G6 for submit@debbugs.gnu.org; Fri, 02 Jul 2010 10:09:50 -0400 Received: from pantheon-po41.its.yale.edu ([130.132.50.98]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUgw8-0004vS-So for 6552@debbugs.gnu.org; Fri, 02 Jul 2010 10:09:49 -0400 Received: from furry (adsl-99-69-53-86.dsl.wlfrct.sbcglobal.net [99.69.53.86]) (authenticated bits=0) by pantheon-po41.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o62E9f5r010028 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 2 Jul 2010 10:09:43 -0400 Received: by furry (Postfix, from userid 1000) id D9D0EC011; Fri, 2 Jul 2010 10:09:40 -0400 (EDT) From: Chong Yidong References: <87tyoii6f1.fsf@meyering.net> Date: Fri, 02 Jul 2010 10:09:40 -0400 In-Reply-To: <87tyoii6f1.fsf@meyering.net> (Jim Meyering's message of "Fri, 02 Jul 2010 11:23:14 +0200") Message-ID: <87hbki6km3.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Jim Meyering writes: > Starting with this commit[*], > http://repo.or.cz/w/emacs.git/commitdiff/43d0feabe7ed65a509022 > when I use viper mode and use the "C" command, emacs now > leaves the cursor positioned one character too far to the left. > I think it's that commit because I ran git bisect using > the test described below. Thanks, I've checked in a fix. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 02 12:18:35 2010 Received: (at control) by debbugs.gnu.org; 2 Jul 2010 16:18:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUiwk-0005qR-SL for submit@debbugs.gnu.org; Fri, 02 Jul 2010 12:18:35 -0400 Received: from pantheon-po44.its.yale.edu ([130.132.50.78]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUiwi-0005qL-SM for control@debbugs.gnu.org; Fri, 02 Jul 2010 12:18:33 -0400 Received: from furry (dhcp128036014221.central.yale.edu [128.36.14.221]) (authenticated bits=0) by pantheon-po44.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o62GISUo012693 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 2 Jul 2010 12:18:28 -0400 Received: by furry (Postfix, from userid 1000) id C2422C011; Fri, 2 Jul 2010 12:18:27 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 6552 Date: Fri, 02 Jul 2010 12:18:27 -0400 Message-ID: <874oghx3fw.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) close 6552 thanks From unknown Fri Aug 15 15:35:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6552: 24.0.50; viper mode regression from June 27 Resent-From: Jim Meyering Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Jul 2010 16:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6552 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Chong Yidong Cc: 6552@debbugs.gnu.org Received: via spool by 6552-submit@debbugs.gnu.org id=B6552.127808893225447 (code B ref 6552); Fri, 02 Jul 2010 16:43:02 +0000 Received: (at 6552) by debbugs.gnu.org; 2 Jul 2010 16:42:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUjJb-0006cO-U0 for submit@debbugs.gnu.org; Fri, 02 Jul 2010 12:42:12 -0400 Received: from smtp1-g21.free.fr ([212.27.42.1]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUjJZ-0006c6-2k for 6552@debbugs.gnu.org; Fri, 02 Jul 2010 12:42:10 -0400 Received: from mx.meyering.net (unknown [82.230.74.64]) by smtp1-g21.free.fr (Postfix) with ESMTP id 8254A940005 for <6552@debbugs.gnu.org>; Fri, 2 Jul 2010 18:41:59 +0200 (CEST) Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 59B5FF77; Fri, 2 Jul 2010 18:41:58 +0200 (CEST) From: Jim Meyering In-Reply-To: <87hbki6km3.fsf@stupidchicken.com> (Chong Yidong's message of "Fri, 02 Jul 2010 10:09:40 -0400") References: <87tyoii6f1.fsf@meyering.net> <87hbki6km3.fsf@stupidchicken.com> Date: Fri, 02 Jul 2010 18:41:58 +0200 Message-ID: <87lj9thm3t.fsf@meyering.net> Lines: 13 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) Chong Yidong wrote: > Jim Meyering writes: > >> Starting with this commit[*], >> http://repo.or.cz/w/emacs.git/commitdiff/43d0feabe7ed65a509022 >> when I use viper mode and use the "C" command, emacs now >> leaves the cursor positioned one character too far to the left. >> I think it's that commit because I ran git bisect using >> the test described below. > > Thanks, I've checked in a fix. That was quick. Thank you!