all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David De La Harpe Golden <david@harpegolden.net>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 6956@debbugs.gnu.org
Subject: bug#6956: 24.0.50; pasting mouse selection in other session pastes only first word
Date: Sat, 04 Sep 2010 21:35:28 +0100	[thread overview]
Message-ID: <4C82AD90.5040003@harpegolden.net> (raw)
In-Reply-To: <87hbi58gxc.fsf@stupidchicken.com>

On 04/09/10 20:09, Chong Yidong wrote:

> I'd rather not introduce another variable here.  I don't object to
> allowing mouse-save-then-kill obey mouse-drag-copy-region (the emphasis
> being on the "mouse" rather than the "drag"), provided the doc of
> mouse-drag-copy-region is updated accordingly.
>

I had an initial stab (not bothering with "double" previously mentioned, 
guess there's no demand) that I was about to send, but then I realised 
my effort was inadequate, so just to note:

We _don't_ want a new kill ring entry for each new mouse-3 click in a 
different position for a given region activation, we want it to replace 
the front of kill-ring if it's extending a region that's already been 
saved to the kill ring previously in the same activation.

Testing emacs 22.3, it replaced, and as a comment in its (too different 
to use directly) source says:
  ;; We have already put the old region in the kill ring.
  ;; Replace it with the extended region.
  ;; (It would be annoying to make a separate entry.)

- having just tried a patch that didn't take pains to do that 
replacement, I can confirm it is annoying...


=========
Aside:  If someone were to make mouse-3 dragging extend an existing 
region some day*, of course you wouldn't want it copying to kill ring a 
zillion times.  Maybe mouse-3-drag-existing-region-adjustment could be 
added "cheaply" by reusing most of the existing mouse-drag.

* analogous with other-app Shift-Mouse-1 dragging, emacs of course 
having some popup font menu on Shift-Mouse-1 and using Mouse-3 for 
existing region adjustment where other apps tend to have a popup context 
menu on Mouse-3 and use Shift-Mouse-1 for existing region adjustment...









  reply	other threads:[~2010-09-04 20:35 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 [this message]
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
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=4C82AD90.5040003@harpegolden.net \
    --to=david@harpegolden.net \
    --cc=6956@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    /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.