From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#1549: 23.0.60; Problem with word wrap plus cua mode Date: Tue, 16 Dec 2008 11:16:01 +0100 Message-ID: <49477FE1.7030108@gmx.at> References: <200812121137.mBCBbbss024642@localhost.localdomain> Reply-To: martin rudalics , 1549@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080309080100070507050703" X-Trace: ger.gmane.org 1229499338 9135 80.91.229.12 (17 Dec 2008 07:35:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2008 07:35:38 +0000 (UTC) Cc: andreas.amann@web.de, "andreas.amann" To: 1549@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 17 08:36:44 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LCqxV-0008UX-Qj for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Dec 2008 08:36:42 +0100 Original-Received: from localhost ([127.0.0.1]:52651 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCqwJ-0006jx-Rz for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Dec 2008 02:35:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LCqm6-0002lq-Mj for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 02:24:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LCqlk-0002Pm-TT for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 02:24:36 -0500 Original-Received: from [199.232.76.173] (port=42290 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCqlk-0002PQ-Cp for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 02:24:32 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60135) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LCqlj-0005oF-7V for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 02:24:31 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBH7OJFA014034; Tue, 16 Dec 2008 23:24:29 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBH6PuAC028663; Tue, 16 Dec 2008 22:25:56 -0800 X-Loop: don@donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@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: Original-Received: via spool by 1549-submit@emacsbugs.donarmstrong.com id=B1549.12294227009551 (code B ref 1549); Wed, 17 Dec 2008 06:25:55 +0000 Original-Received: (at 1549) by emacsbugs.donarmstrong.com; 16 Dec 2008 10:18:20 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 Original-Received: (qmail invoked by alias); 16 Dec 2008 10:18:10 -0000 Original-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 User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: <200812121137.mBCBbbss024642@localhost.localdomain> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71,0.74 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 17 Dec 2008 02:24:36 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23306 Archived-At: 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--