unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6174: 23.2; mouse-sel-mode doc is misleading
@ 2010-05-11 20:05 Drew Adams
  2011-07-03  1:10 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 12+ messages in thread
From: Drew Adams @ 2010-05-11 20:05 UTC (permalink / raw)
  To: 6174

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'
 






^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-04-11  7:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-11 20:05 bug#6174: 23.2; mouse-sel-mode doc is misleading Drew Adams
2011-07-03  1:10 ` 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

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).