all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Eli Zaretskii'" <eliz@gnu.org>
Cc: 6956@debbugs.gnu.org
Subject: bug#6956: 24.0.50; pasting mouse selection in other session pastes only first word
Date: Mon, 20 Sep 2010 14:41:07 -0700	[thread overview]
Message-ID: <D956D62ECEA9475299FA2B0828F54213@us.oracle.com> (raw)
In-Reply-To: <83aancxhme.fsf@gnu.org>

> > However, `mouse-drag-copy-region' also copies the region to the kill
> > ring.
> 
> Yes, this is because Emacs now copies to the clipboard only text that
> is copied to the kill ring.
> 
> Was this possible in Emacs 23?  If so, how?
> 
> When I double-click mouse-1 in Emacs 23 to select a word, I can then
> yank that word with C-y, and `(car kill-ring)' evaluates to that
> word.  So I'm quite sure mouse-drag-copy-region non-nil does the same
> as what you had in Emacs 23 and older.
>
> > The bug is still a bug, I'm afraid.
> 
> No, it's a different bug.  This one was filed against my promise that
> mouse-drag-copy-region will get you back the ability to get back the
> behavior of Emacs 23 on Windows when you select text by
> double-clicking mouse-1.  This now works exactly as it did in Emacs 23
> (AFAICS), so any further complaints about mouse selections should be
> in a separate bug.

No, it does not now work exactly as it did in Emacs 23.

Even setting `mouse-drag-copy-region' to nil in two sessions of `emacs -Q', one
for Emacs 22 and the other for Emacs 23 (for example), there is still no problem
selecting with the mouse and pasting into the other session. 

That is what this bug is about - it is not some other bug.

Here is the recipe, to be very clear:

1. emacs -Q ; in Emacs 22
2. M-x set-variable mouse-drag-copy-region nil RET
3. emacs -Q ; in Emacs 23
4. M-x set-variable mouse-drag-copy-region nil RET

5. Use mouse-1 and mouse-3 to select some text in one session and mouse-2 to
paste it into the other session.  Select + paste works with no problem in either
direction, and the kill ring is not affected.

Again:

> > What's needed is here is the ability to mouse-select in one 
> > Emacs session and paste to another Emacs session, even if
> > they are in different Emacs versions.
> > That needs to be possible (and it should also be the 
> > default behavior BTW) without users also needing to pollute
> > their kill ring with the selection.

Users need to be able to get back the pre-Emacs 24 behavior by customizing - no
ifs ands  or buts.  It is not enough that they might be able to do so when
`mouse-drag-copy-region' is non-nil or the moon is full.  They need to be able
to get this select+paste independently of whether mouse selection is copied to
the kill ring.






  reply	other threads:[~2010-09-20 21:41 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-31 16:48 bug#6956: 24.0.50; pasting mouse selection in other session pastes only first word Drew Adams
2010-08-31 17:26 ` Eli Zaretskii
2010-08-31 18:13   ` Chong Yidong
2010-09-01 14:38     ` Eli Zaretskii
2010-09-04  7:18       ` Eli Zaretskii
2010-09-04  8:35         ` Jan Djärv
2010-09-04 11:07           ` Eli Zaretskii
2010-09-04 15:06             ` Drew Adams
2010-09-04 15:44               ` Eli Zaretskii
2010-09-04 15:15             ` Jan Djärv
2010-09-04 19:09             ` Chong Yidong
2010-09-04 20:35               ` David De La Harpe Golden
2010-09-04 21:38                 ` David De La Harpe Golden
2010-09-05  1:53                   ` Chong Yidong
2010-09-05  5:33                     ` David De La Harpe Golden
2010-09-05 14:36                     ` David De La Harpe Golden
2010-09-05  3:09                   ` Eli Zaretskii
2010-09-05  4:48                     ` David De La Harpe Golden
2010-09-05  5:06                       ` Eli Zaretskii
2010-09-04 17:06           ` David De La Harpe Golden
2010-08-31 18:16   ` Drew Adams
2010-09-16 20:02 ` Eli Zaretskii
2010-09-16 23:51   ` Drew Adams
2010-09-17  8:01     ` Eli Zaretskii
     [not found]       ` <3BE2421F73AD4292AE8375CA3328663D@us.oracle.com>
2010-09-17 16:14         ` Eli Zaretskii
2010-09-17 16:20           ` Drew Adams
2010-09-17 17:03             ` Eli Zaretskii
2010-09-20 18:47               ` Drew Adams
2010-09-20 19:18                 ` Eli Zaretskii
2010-09-20 20:19                   ` Drew Adams
2010-09-20 20:43                   ` Drew Adams
2010-09-20 20:52                     ` Eli Zaretskii
2010-09-20 21:41                       ` Drew Adams [this message]
2010-09-20 21:53                         ` Eli Zaretskii
2010-09-20 22:24                           ` Drew Adams
2010-09-21  4:08                             ` Eli Zaretskii
2010-09-21 14:20                               ` Drew Adams

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

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

  git send-email \
    --in-reply-to=D956D62ECEA9475299FA2B0828F54213@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=6956@debbugs.gnu.org \
    --cc=eliz@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.