unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: 6174@debbugs.gnu.org
Subject: bug#6174: 23.2; mouse-sel-mode doc is misleading
Date: Tue, 11 May 2010 13:05:18 -0700	[thread overview]
Message-ID: <96744EC264DC4E52A46A6834E8BDAD05@us.oracle.com> (raw)

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'
 






             reply	other threads:[~2010-05-11 20:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-11 20:05 Drew Adams [this message]
2011-07-03  1:10 ` bug#6174: 23.2; mouse-sel-mode doc is misleading Lars Magne Ingebrigtsen
2011-07-04  1:32   ` Stefan Monnier
2011-07-04 12:20     ` Lars Magne Ingebrigtsen
2011-07-05  0:21       ` Glenn Morris
2011-07-05 13:51         ` Lars Magne Ingebrigtsen
2011-07-06  2:48           ` Glenn Morris
2011-07-06 16:56             ` Lars Magne Ingebrigtsen
     [not found]             ` <m3oc174aay.fsf@quimbies.gnus.org>
2011-07-06 20:36               ` Michael Welsh Duggan
2011-07-07 20:38                 ` Stefan Monnier
2012-04-10  2:31     ` Lars Magne Ingebrigtsen
2012-04-11  7:07       ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=96744EC264DC4E52A46A6834E8BDAD05@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=6174@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).