From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#11364: 24.1.50; mouse selection followed by cursor movment to extend selection Date: Fri, 27 Apr 2012 08:07:38 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1335539354 30177 80.91.229.3 (27 Apr 2012 15:09:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 Apr 2012 15:09:14 +0000 (UTC) To: 11364@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 27 17:09:13 2012 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 1SNmnF-0004w0-My for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Apr 2012 17:09:09 +0200 Original-Received: from localhost ([::1]:59641 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNmnE-0003OD-Oa for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Apr 2012 11:09:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNmn6-0003Nj-OF for bug-gnu-emacs@gnu.org; Fri, 27 Apr 2012 11:09:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SNmn4-00083J-BJ for bug-gnu-emacs@gnu.org; Fri, 27 Apr 2012 11:09:00 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNmn4-00083D-84 for bug-gnu-emacs@gnu.org; Fri, 27 Apr 2012 11:08:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SNmo6-0005pL-IX for bug-gnu-emacs@gnu.org; Fri, 27 Apr 2012 11:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Apr 2012 15:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11364 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.133553935422336 (code B ref -1); Fri, 27 Apr 2012 15:10:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Apr 2012 15:09:14 +0000 Original-Received: from localhost ([127.0.0.1]:55566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SNmnK-0005oD-3u for submit@debbugs.gnu.org; Fri, 27 Apr 2012 11:09:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50558) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SNmnG-0005ny-Mx for submit@debbugs.gnu.org; Fri, 27 Apr 2012 11:09:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SNmm2-0007vZ-KJ for submit@debbugs.gnu.org; Fri, 27 Apr 2012 11:08:00 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:40978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNmm2-0007vV-Gm for submit@debbugs.gnu.org; Fri, 27 Apr 2012 11:07:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNmlx-0003Lf-K1 for bug-gnu-emacs@gnu.org; Fri, 27 Apr 2012 11:07:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SNmlv-0007um-Dy for bug-gnu-emacs@gnu.org; Fri, 27 Apr 2012 11:07:49 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:32095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNmlv-0007uR-7E for bug-gnu-emacs@gnu.org; Fri, 27 Apr 2012 11:07:47 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q3RF7gW4017083 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 27 Apr 2012 15:07:43 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q3RF7gi2016247 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 27 Apr 2012 15:07:42 GMT Original-Received: from abhmt118.oracle.com (abhmt118.oracle.com [141.146.116.70]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q3RF7fIJ031705 for ; Fri, 27 Apr 2012 10:07:41 -0500 Original-Received: from dradamslap1 (/10.159.177.52) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 27 Apr 2012 08:07:41 -0700 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac0kh3v8dxkUQ+InR7uGBzv6BvQxZQ== X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:59558 Archived-At: In Emacs versions prior to Emacs 23 an important feature was the ability to extend or reduce the active region by moving the cursor. E.g C-SPC followed by C-f. And it did not matter how the region was activated (how the mark was set). You could, for example, double-click a word or a line or a sexp using mouse-1, then use C-f or M-f to extend the region etc. This is alas no longer the case, at least by default. The manual should explain, somewhere, how to obtain this desirable and longstanding behavior again. It is one of the features that made Emacs superior to other text editors. `(emacs) Setting Mark' says you can set the mark with the mouse. And it mentions that you can use Shift with cursor commands. But it does not explain how to extend/reduce the region _without_ resorting to Shift. Lot of good it does to set the mark with the mouse if its being set does not really mean that it is set (!) and that the selection stays active. Similarly, `(emacs) Shift Selection' says nothing about how to obtain this same region-extending behavior without shifting. It says that you can turn off shift selection by setting `shift-selection-mode' to nil, but that does not restore the behavior of unshifted selection extension. [BTW, `shift-select-mode' is a terrible name for this user option. There is no such "mode". It is a boolean option and its name should reflect that, saying what the on (preferably, or even the off) value actually *does*. But `-mode' should not at all be part of the name.] Where is this documented? How can a user get region extension without resorting to the shift key, as before? To try to restore the former, sane, behavior, I've set these (on Windows, where there is no `x-enable-primary'): `select-active-regions' to nil `x-enable-clipboard' to t `mouse-drag-copy-region' to t (I also use `delete-selection-mode'). But none of that fixes this breakage. How to get back to ordinary region extension by moving point, without having to shift? At least it still works out of the box to set the mark using C-SPC and then extend the region using cursor movement. I do not even see this behavior documented, however, though perhaps it is somewhere. But how to get mark-setting by the mouse to likewise act normally (i.e., as it used to), so that UNshifted cursor motion extends the region? How to get mouse selection to act like any other way of selecting the region? It is truly a _shame_ that Emacs has stooped to replicating the limited selection behavior of lesser text editors. Will we in future lose even more selection functionality and be reduced to dragging the mouse as the only way to select text? Shameful. In GNU Emacs 24.1.50.1 (i386-mingw-nt5.1.2600) of 2012-04-23 on MARVIN Bzr revision: 108006 agustin.martin@hispalinux.es-20120423103325-xmra3329elgzhmpc Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.6) --no-opt --enable-checking --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'