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#6174: 23.2; mouse-sel-mode doc is misleading Date: Tue, 11 May 2010 13:05:18 -0700 Message-ID: <96744EC264DC4E52A46A6834E8BDAD05@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1273609608 29567 80.91.229.12 (11 May 2010 20:26:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 11 May 2010 20:26:48 +0000 (UTC) To: 6174@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 11 22:26:46 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OBw2P-0004OA-46 for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 May 2010 22:26:45 +0200 Original-Received: from localhost ([127.0.0.1]:54081 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBw2O-0000QF-7W for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 May 2010 16:26:44 -0400 Original-Received: from [140.186.70.92] (port=47969 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBw2E-0000NG-Ra for bug-gnu-emacs@gnu.org; Tue, 11 May 2010 16:26:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBw2C-0007Se-OE for bug-gnu-emacs@gnu.org; Tue, 11 May 2010 16:26:34 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40152) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBw2C-0007Sa-Ke for bug-gnu-emacs@gnu.org; Tue, 11 May 2010 16:26:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OBvjK-0005Ub-MF; Tue, 11 May 2010 16:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 May 2010 20:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6174 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.127360839121101 (code B ref -1); Tue, 11 May 2010 20:07:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 May 2010 20:06:31 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBvip-0005UI-9V for submit@debbugs.gnu.org; Tue, 11 May 2010 16:06:31 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBvil-0005UC-SE for submit@debbugs.gnu.org; Tue, 11 May 2010 16:06:28 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:58462) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OBvih-0005un-Bn for submit@debbugs.gnu.org; Tue, 11 May 2010 16:06:23 -0400 Original-Received: from [140.186.70.92] (port=46367 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBvif-00026Z-Da for bug-gnu-emacs@gnu.org; Tue, 11 May 2010 16:06:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBvid-0004xG-Bd for bug-gnu-emacs@gnu.org; Tue, 11 May 2010 16:06:21 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:52067) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBvid-0004wy-6J for bug-gnu-emacs@gnu.org; Tue, 11 May 2010 16:06:19 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o4BK67v3010220 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 11 May 2010 20:06:12 GMT Original-Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o4BGLY08030807 for ; Tue, 11 May 2010 20:06:06 GMT Original-Received: from abhmt015.oracle.com by acsmt353.oracle.com with ESMTP id 256057701273608317; Tue, 11 May 2010 13:05:17 -0700 Original-Received: from dradamslap1 (/141.144.160.154) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 11 May 2010 13:05:16 -0700 X-Mailer: Microsoft Office Outlook 11 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcrxRUdLsdRGgGBpSqi1Q0WTgcXnkQ== X-Auth-Type: Internal IP X-Source-IP: acsinet15.oracle.com [141.146.126.227] X-CT-RefId: str=0001.0A090209.4BE9B8B6.0052:SCFMA922111,ss=1,fgs=0 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 11 May 2010 16:07:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , 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:36886 Archived-At: emacs -Q Admittedly, I don't know what I'm talking about when it comes to mouse-sel-mode. I don't think I even knew it existed, but perhaps I looked at it years ago - I see that it has been around a long time. Reading the doc, both doc strings and source-file comments, my impression is that the doc is very misleading. >From what I could gather by experimenting, 99.99% of the behavior that is documented is already the mouse behavior in Emacs, that is, with mouse-sel-mode turned off. AFAICT, the only real difference is that when the mode is turned on the selection is not copied to the kill-ring. The kill-ring is unaffected, except if you do some specific extra things. I'm probably missing something here, so please clue me in. It seems unlikely that that would be the only, or even the main, difference, given that so much of the doc speaks about selecting. But when I try the things it says about selection (double-clicking, mouse-1 mouse-3, etc.) they all seem to be the vanilla behavior with emacs -Q. Anyway, if I'm at all on target here, then I suggest that the doc should be cleaned up - and possibly the mode renamed, to reflect the fact that it does *not* change how things are selected (very much, if at all), but rather it changes what happens to the selection (not copied to the kill-ring). If I had to guess, I'd guess that this doc has never been updated since Emacs itself adopted the same selection behavior. And that was eons ago. IOW, maybe mouse-sel-mode was just the first code to provide such behavior - dunno. In GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/xpm/include'