From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: andrea.rossetti@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#17741: 24.3; problem with cua-mode text insertion Date: Mon, 09 Jun 2014 08:44:41 +0200 Message-ID: <84ppiilgyu.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1402296788 20953 80.91.229.3 (9 Jun 2014 06:53:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Jun 2014 06:53:08 +0000 (UTC) To: 17741@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 09 08:53:01 2014 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 1WttLU-0000kw-RP for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Jun 2014 08:46:17 +0200 Original-Received: from localhost ([::1]:59192 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WttLU-0003jZ-Dg for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Jun 2014 02:46:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WttLM-0003iV-BH for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2014 02:46:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WttLG-0000T8-Rj for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2014 02:46:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WttLG-0000T3-NZ for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2014 02:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WttLG-0006Xh-33 for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2014 02:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: andrea.rossetti@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Jun 2014 06:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17741 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.140229631225072 (code B ref -1); Mon, 09 Jun 2014 06:46:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Jun 2014 06:45:12 +0000 Original-Received: from localhost ([127.0.0.1]:41763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WttKR-0006WI-5Q for submit@debbugs.gnu.org; Mon, 09 Jun 2014 02:45:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41293) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WttKP-0006W1-8m for submit@debbugs.gnu.org; Mon, 09 Jun 2014 02:45:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WttKD-0008V5-RV for submit@debbugs.gnu.org; Mon, 09 Jun 2014 02:45:03 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:60627) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WttKD-0008V0-O0 for submit@debbugs.gnu.org; Mon, 09 Jun 2014 02:44:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WttK8-0003ZS-4n for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2014 02:44:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WttK2-0008Sf-LC for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2014 02:44:52 -0400 Original-Received: from mail-we0-x233.google.com ([2a00:1450:400c:c03::233]:37210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WttK2-0008SO-A9 for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2014 02:44:46 -0400 Original-Received: by mail-we0-f179.google.com with SMTP id w62so893538wes.24 for ; Sun, 08 Jun 2014 23:44:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=U6sf7NKhOCbktKzqRxGF7ndB9DU972Fk09mXswVctB0=; b=FFpE8NsRTJ4Q95SELAK4N2aI6Cm/mbYs2R1M86Xbzf55XYdksqZD/PH751bYwb4dW5 LF7PoTpFkQ1VO1P6I80OieO7Ea60LF14xgg/CHlByN2kiJ+wTSsiGosPtWUXXXUUcws0 sL/VFsLPrxOtPFIoadvLkZ/miCAeM5MZ89KPA1hGSX6Idgeu/6J6lnqkVqD8EtoI0gqv HJ0SSbReb4/WONKD/tkUzt3j6FKJyNuhq4ZHyhPGuKilSzphcNZcxgBhWHg1mnQG1K2y bNGRoev7TJ3e3j8oLjBi6/ZA0oSoODC43y4MNog+roozg76ItgDyzo95U+qrc14c7u7Z EGyA== X-Received: by 10.14.204.73 with SMTP id g49mr3327947eeo.2.1402296284674; Sun, 08 Jun 2014 23:44:44 -0700 (PDT) Original-Received: from LAPTOP-ANDREA.laptop-andrea.trieste.it (net-93-144-100-89.cust.dsl.teletu.it. [93.144.100.89]) by mx.google.com with ESMTPSA id x3sm42883782een.17.2014.06.08.23.44.43 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 08 Jun 2014 23:44:43 -0700 (PDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) 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-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:90193 Archived-At: Hello everyone, 1) when starting emacs -Q and type these keystrokes: M-x cua-mode RET M-< C-RET M-> 1 C-RET Emacs insertes char "1" in every *second* column of the buffer, but the desired result (and the expected behaviour) was that "1" should have been inserted in every *first* column. 2) the problem does not happen if I extend down the rectangle with multiple "C-n" instead of "M->". In other words these keystrokes: M-x cua-mode RET M-< C-RET C-n C-n C-n C-n 1 C-RET insert "1" in every first column of the buffer (which is the desired result). May I please ask for some confirmation: is the case 1) really a bug, or did I misunderstand some aspect of cua-mode. Thanks in advance, kindest regards. Andrea This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgment at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file c:/Users/andrea/Documents/Programmi/emacs/etc/DEBUG. In GNU Emacs 24.3.1 (i386-mingw-nt6.1.7600) of 2013-03-17 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.1.7600 Configured using: `configure --with-gcc (4.7) --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2' Important settings: value of $LANG: ITA locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: cua-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x c u a - m o d e M-< M-> 1 M-x b u g - r e e m a c s - b u g r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Cua mode enabled Mark set [2 times] C-?:help M-p:pad M-o:open M-c:close M-b:blank M-s:string M-f:fill M-i:incr M-n:seq Making completion list... Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode easymenu cua-rect rect cus-start cus-load cua-base time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar 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 minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32 multi-tty emacs)