unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Tim Van Holder <tim.vanholder@gmail.com>
To: David De La Harpe Golden <david@harpegolden.net>
Cc: Chong Yidong <cyd@stupidchicken.com>, 6637@debbugs.gnu.org
Subject: bug#6637: 24.0.50; kill ring being seriously polluted
Date: Mon, 19 Jul 2010 10:22:52 +0200	[thread overview]
Message-ID: <AANLkTinGBkuEhq3YQVfB0G8kU_G-l4lJuUk1aF5KejoP@mail.gmail.com> (raw)
In-Reply-To: <4C41EE02.2010204@harpegolden.net>

On 17 July 2010 19:53, David De La Harpe Golden <david@harpegolden.net> wrote:
> On 17/07/10 16:32, Tim Van Holder wrote:
>
>
>> The following is something I do a lot as part of code editing:
>>  1) copy/kill something
>>  2) yank the copied/kill text
>>  3) select certain portions and replace them as needed for that copy
>>  4) go back to step 2) if needed
>> The new behaviour interferes with this (and I don't see how it can do
>> anything but interfere when pc-selection-mode is active).
>>
>
> Firstly (and this may be premature to mention (sorry) given there are more
> known unresolved issues) but N.B. there have been some even more recent
> changes addressing some problems with the recent changes, please try
> starting from emacs -Q with an emacs trunk build >= rev. 100838 and see if
> the problems you are having persist.   Unfortunately, there are known issues
> even in that revision, but they will (probably) be more subtle. There is
> effort ongoing to address them.
>
> But as Chong just said, that's too vague to reproduce an issue from.
>
> I do realise it's a drag to write concrete steps out in the detail really
> required - but it's pretty necessary for adequate repeatability, in this
> area small details matter.
>
> Ideally (and I acknowledge it is time consuming), you would start from emacs
> -Q with a known test string (say the initial ";; This buffer is for..." or
> "The quick brown fox jumps over the lazy dog."), and describe the keystrokes
> and mouse clicks and point and mouse movements right down to which letters
> the point and mouse are on, the results of the operations, and the results
> you expected if they vary.
>
> It is also possible there are Cygwin/X specific issues that you are seeing
> but the rest of us on other X servers aren't.  Eyeing its changelog (I
> personally don't have access to a windows box to test on), it likely has
> somewhat hairy handling of integration with the w32 clipboard.  OTOH, said
> handling appears to be expecting now-conventional X11 app selection
> interaction behaviour, so making emacs adopt that behaviour by default
> shouldn't cause any gross problems (though will inevitably be somewhat
> different to emacs' historical default behaviour).

I set out to do just that (intending to duplicate the *scratch*
comment, replacing "Lisp" by a few other language names), but the
current (r100846) behaviour seems to match with my expected/desired
behaviour again. Arrow-selection does not affect the kill ring, nor
does typing-to-replace-the-region cause the first such typed letter to
be added to the kill ring.
The only thing I see is that emacs is perfectly happy to copy/kill the
empty string: arrow-selecting an empty region and hitting C-insert
(copy-region-as-kill in pc-selection-mode) make subsequent yanks
insert nothing. It's perfectly possible that emacs has always done so
- I'm only mentioning it because I notice it now.





  reply	other threads:[~2010-07-19  8:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-15  8:50 bug#6637: 24.0.50; kill ring being seriously polluted Tim Van Holder
2010-07-15  9:55 ` David De La Harpe Golden
2010-07-15 10:05   ` Thierry Volpiatto
2010-07-15 13:35   ` Tim Van Holder
2010-07-15 14:03 ` Chong Yidong
2010-07-16  9:07   ` Tim Van Holder
2010-07-16 15:57     ` Chong Yidong
2010-07-17 15:32       ` Tim Van Holder
2010-07-17 15:57         ` Chong Yidong
2010-07-17 17:53         ` David De La Harpe Golden
2010-07-19  8:22           ` Tim Van Holder [this message]
2010-07-22 23:26             ` David De La Harpe Golden
2010-07-16 23:59 ` Angelo Graziosi
2010-07-17  2:37   ` Chong Yidong
2010-07-17  8:37     ` Angelo Graziosi

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=AANLkTinGBkuEhq3YQVfB0G8kU_G-l4lJuUk1aF5KejoP@mail.gmail.com \
    --to=tim.vanholder@gmail.com \
    --cc=6637@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=david@harpegolden.net \
    /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).