From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Van Holder Newsgroups: gmane.emacs.bugs Subject: bug#6637: 24.0.50; kill ring being seriously polluted Date: Mon, 19 Jul 2010 10:22:52 +0200 Message-ID: References: <87oce986yu.fsf@leeloo.anubex.internal> <87mxts970k.fsf@stupidchicken.com> <87bpa7zagi.fsf@stupidchicken.com> <4C41EE02.2010204@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1279528256 13672 80.91.229.12 (19 Jul 2010 08:30:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 19 Jul 2010 08:30:56 +0000 (UTC) Cc: Chong Yidong , 6637@debbugs.gnu.org To: David De La Harpe Golden Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 19 10:30:51 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OalkR-0004vr-4a for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Jul 2010 10:30:51 +0200 Original-Received: from localhost ([127.0.0.1]:58403 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OalkQ-0001UD-DR for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Jul 2010 04:30:50 -0400 Original-Received: from [140.186.70.92] (port=46042 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OalkH-0000lU-5j for bug-gnu-emacs@gnu.org; Mon, 19 Jul 2010 04:30:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OalkA-0004I0-Ol for bug-gnu-emacs@gnu.org; Mon, 19 Jul 2010 04:30:36 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45992) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OalkA-0004Hn-EY for bug-gnu-emacs@gnu.org; Mon, 19 Jul 2010 04:30:34 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Oalcr-0005YL-Ku; Mon, 19 Jul 2010 04:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tim Van Holder Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Jul 2010 08:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6637 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6637-submit@debbugs.gnu.org id=B6637.127952775621336 (code B ref 6637); Mon, 19 Jul 2010 08:23:01 +0000 Original-Received: (at 6637) by debbugs.gnu.org; 19 Jul 2010 08:22:36 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OalcR-0005Y5-Ox for submit@debbugs.gnu.org; Mon, 19 Jul 2010 04:22:36 -0400 Original-Received: from mail-bw0-f44.google.com ([209.85.214.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OalcO-0005Y0-WE for 6637@debbugs.gnu.org; Mon, 19 Jul 2010 04:22:33 -0400 Original-Received: by bwz7 with SMTP id 7so2422978bwz.3 for <6637@debbugs.gnu.org>; Mon, 19 Jul 2010 01:22:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=cWTrlwSk7eHY5yXagWp65gDMfbmI2OPBbxbR3J4ACxQ=; b=bnJrn4oMNns320HhF0Sg0OclRdZPVL3aKp9f51bxKJChQF/QLl0KGi9HV2NvlOt4oH JstNWL9bj8NqJGzXBNpQs7oz/xlUEMI9fvTw41D/H4OQKyrIuCVAJwWt0EqhWqPXP/kM eCesxfzkfq761wcOaPpP/T7FcRT7n66oZWdTA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=rd01FihaA1ZC88cJPfRinsvBlx+iYUYK7N9k9ffGZ4I1FTvtkN4SbJpVUtbYmjDTO1 lfxDjpopQTdIkRP83ndEIJ3oPY2wxOQq9kSO16cT46qPpeIFgzbf7/JX/WuNzmXOSW8a FwPkVLPsTnmAQSiFViCYgHe096nJU9iJEyKkU= Original-Received: by 10.204.53.211 with SMTP id n19mr3643053bkg.66.1279527772736; Mon, 19 Jul 2010 01:22:52 -0700 (PDT) Original-Received: by 10.204.65.77 with HTTP; Mon, 19 Jul 2010 01:22:52 -0700 (PDT) In-Reply-To: <4C41EE02.2010204@harpegolden.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 19 Jul 2010 04:23:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38667 Archived-At: On 17 July 2010 19:53, David De La Harpe Golden wro= te: > On 17/07/10 16:32, Tim Van Holder wrote: > > >> The following is something I do a lot as part of code editing: >> =C2=A01) copy/kill something >> =C2=A02) yank the copied/kill text >> =C2=A03) select certain portions and replace them as needed for that cop= y >> =C2=A04) 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 mor= e > 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 >=3D rev. 100838 and see= if > the problems you are having persist. =C2=A0 Unfortunately, there are know= n 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 em= acs > -Q with a known test string (say the initial ";; This buffer is for..." o= r > "The quick brown fox jumps over the lazy dog."), and describe the keystro= kes > and mouse clicks and point and mouse movements right down to which letter= s > the point and mouse are on, the results of the operations, and the result= s > you expected if they vary. > > It is also possible there are Cygwin/X specific issues that you are seein= g > but the rest of us on other X servers aren't. =C2=A0Eyeing 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. =C2=A0OTOH= , 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.