From unknown Wed Aug 20 05:16:38 2025 X-Loop: don@donarmstrong.com Subject: bug#1549: 23.0.60; Problem with word wrap plus cua mode Reply-To: "andreas.amann" , 1549@debbugs.gnu.org Resent-From: "andreas.amann" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 12 Dec 2008 11:45:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1549 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12290819158600 (code B ref -1); Fri, 12 Dec 2008 11:45:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.0000 Tokens: new, 94; hammy, 149; neutral, 90; spammy, 2. spammytokens:0.995-1--Cut, 0.987-1--Actual hammytokens:0.000-+--emacs, 0.000-+--23.0.60, 0.000-+--23060, 0.000-+--Emacs, 0.000-+--nil X-Spam-Status: No, score=-6.9 required=4.0 tests=BAYES_00,FOURLA, IMPRONONCABLE_2,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 12 Dec 2008 11:38:35 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBCBcVBd008594 for ; Fri, 12 Dec 2008 03:38:33 -0800 Received: from mx10.gnu.org ([199.232.76.166]:44479) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LB6LA-0007PF-4a for emacs-pretest-bug@gnu.org; Fri, 12 Dec 2008 06:37:52 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LB6Lk-0001Ix-K2 for emacs-pretest-bug@gnu.org; Fri, 12 Dec 2008 06:38:30 -0500 Received: from nmrc.ucc.ie ([143.239.64.1]:35245) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LB6Lk-0001E4-9p for emacs-pretest-bug@gnu.org; Fri, 12 Dec 2008 06:38:28 -0500 Received: from unixmail.tyndall.ie (unixmail.tyndall.ie [10.1.64.22]) by nmrc.ucc.ie (Postfix) with ESMTP id 5BEAFDF; Fri, 12 Dec 2008 11:39:04 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by unixmail.tyndall.ie (Postfix) with ESMTP id C34DC8969A; Fri, 12 Dec 2008 11:37:50 +0000 (GMT) X-Virus-Scanned: amavisd-new at tyndall.ie Received: from unixmail.tyndall.ie ([127.0.0.1]) by localhost (unixmail.tyndall.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QFtnUKlpq1Gg; Fri, 12 Dec 2008 11:37:42 +0000 (GMT) Received: from localhost.localdomain (lnx0015f2465ec6.tyndall.ie [10.1.65.107]) by unixmail.tyndall.ie (Postfix) with ESMTP id 0DF808968F; Fri, 12 Dec 2008 11:37:42 +0000 (GMT) Received: from localhost.localdomain (lnx0015f2465ec6 [127.0.0.1]) by localhost.localdomain (8.14.2/8.14.2) with ESMTP id mBCBbfwA024643; Fri, 12 Dec 2008 11:37:41 GMT Date: Fri, 12 Dec 2008 11:37:37 GMT Message-Id: <200812121137.mBCBbbss024642@localhost.localdomain> From: "andreas.amann" To: emacs-pretest-bug@gnu.org Cc: andreas.amann@web.de X-detected-operating-system: by monty-python.gnu.org: Solaris 9 start with "emacs -Q" select from the menu: Options -> "C-x/C-c/C-v Cut and Paste (CUA)" then also select Options -> "Line Wrapping in this Buffer" -> "Word Wrap (Visual Line Mode)" now go into a non-empty line in the *scratch* buffer and press S-end. Expected behaviour: obtain active region to end of line and move point to end of line. Actual behaviour: point is only moved to end of line, but no region is highlighted. The bug seems to be related to the combination of cua-mode and visual-line-mode, since for example after switching off "C-x/C-c/C-v Cut and Paste (CUA)" in the option menu S-end works as expected. In GNU Emacs 23.0.60.2 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-12-12 on lnx0015f2465ec6 Windowing system distributor `The X.Org Foundation', version 11.0.10300000 configured using `configure '--prefix=/home/aamann/local/emacs-cvs' 'LDFLAGS=-L/home/aamann/local/lib64' 'CPPFLAGS=-I/home/aamann/local/include'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil 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_IE.utf8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: cua-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t visual-line-mode: t transient-mark-mode: t Recent input: Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Cua mode enabled Visual-Line mode enabled From unknown Wed Aug 20 05:16:38 2025 X-Loop: don@donarmstrong.com Subject: bug#1549: 23.0.60; Problem with word wrap plus cua mode Reply-To: martin rudalics , 1549@debbugs.gnu.org Resent-From: martin rudalics Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 17 Dec 2008 06:25:55 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: followup 1549 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1549-submit@emacsbugs.donarmstrong.com id=B1549.12294227009551 (code B ref 1549); Wed, 17 Dec 2008 06:25:55 +0000 Received: (at 1549) by emacsbugs.donarmstrong.com; 16 Dec 2008 10:18:20 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=HAS_BUG_NUMBER,MIXEDBDN, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id mBGAIGtV009537 for <1549@emacsbugs.donarmstrong.com>; Tue, 16 Dec 2008 02:18:17 -0800 Received: (qmail invoked by alias); 16 Dec 2008 10:18:10 -0000 Received: from 62-47-50-160.adsl.highway.telekom.at (EHLO [62.47.50.160]) [62.47.50.160] by mail.gmx.net (mp012) with SMTP; 16 Dec 2008 11:18:10 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+zuL0lKeWzqKm5yLPY3zDlFFE7yg7Ry23d6r33Gp Ar7018WhI/D3e5 Message-ID: <49477FE1.7030108@gmx.at> Date: Tue, 16 Dec 2008 11:16:01 +0100 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: 1549@debbugs.gnu.org CC: "andreas.amann" , andreas.amann@web.de References: <200812121137.mBCBbbss024642@localhost.localdomain> In-Reply-To: <200812121137.mBCBbbss024642@localhost.localdomain> Content-Type: multipart/mixed; boundary="------------080309080100070507050703" X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71,0.74 This is a multi-part message in MIME format. --------------080309080100070507050703 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit > start with "emacs -Q" > > select from the menu: > Options -> "C-x/C-c/C-v Cut and Paste (CUA)" > then also select > Options -> "Line Wrapping in this Buffer" -> "Word Wrap (Visual Line Mode)" > > now go into a non-empty line in the *scratch* buffer and press S-end. > Expected behaviour: obtain active region to end of line and move point to > end of line. > Actual behaviour: point is only moved to end of line, but no region > is highlighted. Does the attached patch fix it? martin --------------080309080100070507050703 Content-Type: text/plain; name="cua-base.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="cua-base.diff" *** emulation/cua-base.el.~1.98.~ 2008-06-27 09:34:47.000000000 +0200 --- emulation/cua-base.el 2008-12-16 11:12:05.421875000 +0100 *************** *** 1495,1500 **** --- 1495,1501 ---- next-line previous-line forward-word backward-word end-of-line beginning-of-line + end-of-visual-line beginning-of-visual-line move-end-of-line move-beginning-of-line end-of-buffer beginning-of-buffer scroll-up scroll-down --------------080309080100070507050703-- From unknown Wed Aug 20 05:16:38 2025 X-Loop: don@donarmstrong.com Subject: bug#1549: 23.0.60; Problem with word wrap plus cua mode Reply-To: Andreas Amann , 1549@debbugs.gnu.org Resent-From: Andreas Amann Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 17 Dec 2008 06:56:20 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: followup 1549 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 1549-submit@emacsbugs.donarmstrong.com id=B1549.122942500322320 (code B ref 1549); Wed, 17 Dec 2008 06:56:20 +0000 Received: (at 1549) by emacsbugs.donarmstrong.com; 16 Dec 2008 10:56:43 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: from mail.tu-berlin.de (mail.TU-Berlin.DE [130.149.7.33]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBGAudE1022289 for <1549@emacsbugs.donarmstrong.com>; Tue, 16 Dec 2008 02:56:40 -0800 Received: from milli.physik.tu-berlin.de ([130.149.114.140]) by mail.tu-berlin.de with esmtp (exim 4.69 mailfrontend-c) id 1LCXbM-0003of-KY; Tue, 16 Dec 2008 11:56:33 +0100 Received: by milli.physik.tu-berlin.de (Postfix, from userid 3390) id 313B3204; Tue, 16 Dec 2008 11:56:24 +0100 (CET) Date: Tue, 16 Dec 2008 11:56:24 +0100 From: Andreas Amann To: martin rudalics Cc: 1549@debbugs.gnu.org Message-ID: <20081216105623.GD15956@milli.physik.TU-Berlin.DE> References: <200812121137.mBCBbbss024642@localhost.localdomain> <49477FE1.7030108@gmx.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49477FE1.7030108@gmx.at> User-Agent: Mutt/1.5.16 (2007-06-09) X-tubIT-Score: 0.0 () X-PMX-Version: 5.4.2.338381, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.12.16.104021 X-PMX-Spam: Gauge=IIIIIII, Probability=7%, Report='BODY_SIZE_1000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_600_699 0, __BOUNCE_CHALLENGE_SUBJ 0, __CD 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' > > Actual behaviour: point is only moved to end of line, but no region > > is highlighted. > > Does the attached patch fix it? > > martin > *** emulation/cua-base.el.~1.98.~ 2008-06-27 09:34:47.000000000 +0200 > --- emulation/cua-base.el 2008-12-16 11:12:05.421875000 +0100 > *************** > *** 1495,1500 **** > --- 1495,1501 ---- > next-line previous-line > forward-word backward-word > end-of-line beginning-of-line > + end-of-visual-line beginning-of-visual-line > move-end-of-line move-beginning-of-line > end-of-buffer beginning-of-buffer > scroll-up scroll-down It does! Thank you very much, Andreas From unknown Wed Aug 20 05:16:38 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: "andreas.amann" Subject: bug#1549 closed by martin rudalics (Re: bug#1549: 23.0.60; Problem with word wrap plus cua mode) Message-ID: References: <494A28D4.5010204@gmx.at> <200812121137.mBCBbbss024642@localhost.localdomain> X-Emacs-PR-Message: they-closed 1549 X-Emacs-PR-Package: emacs Reply-To: 1549@debbugs.gnu.org Date: Thu, 18 Dec 2008 10:45:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1229597103-24514-1" This is a multi-part message in MIME format... ------------=_1229597103-24514-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #1549: 23.0.60; Problem with word wrap plus cua mode It has been closed by martin rudalics . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact martin rudalics by replying to this email. --=20 1549: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1549 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1229597103-24514-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1549-done) by emacsbugs.donarmstrong.com; 18 Dec 2008 10:41:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id mBIAfeDk024155 for <1549-done@emacsbugs.donarmstrong.com>; Thu, 18 Dec 2008 02:41:42 -0800 Received: (qmail invoked by alias); 18 Dec 2008 10:41:34 -0000 Received: from 62-47-38-41.adsl.highway.telekom.at (EHLO [62.47.38.41]) [62.47.38.41] by mail.gmx.net (mp008) with SMTP; 18 Dec 2008 11:41:34 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/cYrFr1RTc4slgIwqZk9bg+EqvxSxti9zJhB58t+ W+A0/gi0OuyWSw Message-ID: <494A28D4.5010204@gmx.at> Date: Thu, 18 Dec 2008 11:41:24 +0100 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: 1549-done@debbugs.gnu.org Subject: Re: bug#1549: 23.0.60; Problem with word wrap plus cua mode References: <200812121137.mBCBbbss024642@localhost.localdomain> <49477FE1.7030108@gmx.at> <20081216105623.GD15956@milli.physik.TU-Berlin.DE> In-Reply-To: <20081216105623.GD15956@milli.physik.TU-Berlin.DE> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.78 Fixed as * emulation/cua-base.el (cmd): Add beginning-of-visual-line and end-of-visual-line to CUA's recognized commands. (Bug#1549) martin ------------=_1229597103-24514-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From aamann@tyndall.ie Fri Dec 12 03:38:35 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.0000 Tokens: new, 94; hammy, 149; neutral, 90; spammy, 2. spammytokens:0.995-1--Cut, 0.987-1--Actual hammytokens:0.000-+--emacs, 0.000-+--23.0.60, 0.000-+--23060, 0.000-+--Emacs, 0.000-+--nil X-Spam-Status: No, score=-6.9 required=4.0 tests=BAYES_00,FOURLA, IMPRONONCABLE_2,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 12 Dec 2008 11:38:35 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBCBcVBd008594 for ; Fri, 12 Dec 2008 03:38:33 -0800 Received: from mx10.gnu.org ([199.232.76.166]:44479) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LB6LA-0007PF-4a for emacs-pretest-bug@gnu.org; Fri, 12 Dec 2008 06:37:52 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LB6Lk-0001Ix-K2 for emacs-pretest-bug@gnu.org; Fri, 12 Dec 2008 06:38:30 -0500 Received: from nmrc.ucc.ie ([143.239.64.1]:35245) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LB6Lk-0001E4-9p for emacs-pretest-bug@gnu.org; Fri, 12 Dec 2008 06:38:28 -0500 Received: from unixmail.tyndall.ie (unixmail.tyndall.ie [10.1.64.22]) by nmrc.ucc.ie (Postfix) with ESMTP id 5BEAFDF; Fri, 12 Dec 2008 11:39:04 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by unixmail.tyndall.ie (Postfix) with ESMTP id C34DC8969A; Fri, 12 Dec 2008 11:37:50 +0000 (GMT) X-Virus-Scanned: amavisd-new at tyndall.ie Received: from unixmail.tyndall.ie ([127.0.0.1]) by localhost (unixmail.tyndall.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QFtnUKlpq1Gg; Fri, 12 Dec 2008 11:37:42 +0000 (GMT) Received: from localhost.localdomain (lnx0015f2465ec6.tyndall.ie [10.1.65.107]) by unixmail.tyndall.ie (Postfix) with ESMTP id 0DF808968F; Fri, 12 Dec 2008 11:37:42 +0000 (GMT) Received: from localhost.localdomain (lnx0015f2465ec6 [127.0.0.1]) by localhost.localdomain (8.14.2/8.14.2) with ESMTP id mBCBbfwA024643; Fri, 12 Dec 2008 11:37:41 GMT Date: Fri, 12 Dec 2008 11:37:37 GMT Message-Id: <200812121137.mBCBbbss024642@localhost.localdomain> From: "andreas.amann" To: emacs-pretest-bug@gnu.org Cc: andreas.amann@web.de Subject: 23.0.60; Problem with word wrap plus cua mode X-detected-operating-system: by monty-python.gnu.org: Solaris 9 start with "emacs -Q" select from the menu: Options -> "C-x/C-c/C-v Cut and Paste (CUA)" then also select Options -> "Line Wrapping in this Buffer" -> "Word Wrap (Visual Line Mode)" now go into a non-empty line in the *scratch* buffer and press S-end. Expected behaviour: obtain active region to end of line and move point to end of line. Actual behaviour: point is only moved to end of line, but no region is highlighted. The bug seems to be related to the combination of cua-mode and visual-line-mode, since for example after switching off "C-x/C-c/C-v Cut and Paste (CUA)" in the option menu S-end works as expected. In GNU Emacs 23.0.60.2 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-12-12 on lnx0015f2465ec6 Windowing system distributor `The X.Org Foundation', version 11.0.10300000 configured using `configure '--prefix=/home/aamann/local/emacs-cvs' 'LDFLAGS=-L/home/aamann/local/lib64' 'CPPFLAGS=-I/home/aamann/local/include'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil 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_IE.utf8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: cua-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t visual-line-mode: t transient-mark-mode: t Recent input: Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Cua mode enabled Visual-Line mode enabled ------------=_1229597103-24514-1--