From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: David De La Harpe Golden <david@harpegolden.net>
Newsgroups: gmane.emacs.bugs
Subject: bug#6637: 24.0.50; kill ring being seriously polluted
Date: Thu, 15 Jul 2010 10:55:38 +0100
Message-ID: <4C3EDB1A.6010202@harpegolden.net>
References: <87oce986yu.fsf@leeloo.anubex.internal>
NNTP-Posting-Host: lo.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: dough.gmane.org 1279188039 5964 80.91.229.12 (15 Jul 2010 10:00:39 GMT)
X-Complaints-To: usenet@dough.gmane.org
NNTP-Posting-Date: Thu, 15 Jul 2010 10:00:39 +0000 (UTC)
Cc: tim.vanholder@gmail.com
To: 6637@debbugs.gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 15 12:00:36 2010
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1OZLF3-0003jM-N0
	for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Jul 2010 12:00:34 +0200
Original-Received: from localhost ([127.0.0.1]:40911 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1OZLF3-0003nt-3Q
	for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Jul 2010 06:00:33 -0400
Original-Received: from [140.186.70.92] (port=55343 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OZLEs-0003lG-0R
	for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2010 06:00:23 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1OZLEq-0006KX-OU
	for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2010 06:00:21 -0400
Original-Received: from debbugs.gnu.org ([140.186.70.43]:39193)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1OZLEq-0006KP-JF
	for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2010 06:00:20 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>)
	id 1OZLAg-0008VQ-29; Thu, 15 Jul 2010 05:56:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: David De La Harpe Golden <david@harpegolden.net>
Original-Sender: debbugs-submit-bounces@debbugs.gnu.org
Resent-To: owner@debbugs.gnu.org
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Thu, 15 Jul 2010 09:56:02 +0000
Resent-Message-ID: <handler.6637.B6637.127918773232689@debbugs.gnu.org>
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.127918773232689
	(code B ref 6637); Thu, 15 Jul 2010 09:56:02 +0000
Original-Received: (at 6637) by debbugs.gnu.org; 15 Jul 2010 09:55:32 +0000
Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1OZLAC-0008VC-5D
	for submit@debbugs.gnu.org; Thu, 15 Jul 2010 05:55:32 -0400
Original-Received: from harpegolden.net ([65.99.215.13])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <david@harpegolden.net>) id 1OZLAA-0008V7-RN
	for 6637@debbugs.gnu.org; Thu, 15 Jul 2010 05:55:31 -0400
Original-Received: from [87.198.55.108] (87-198-55-108.ptr.magnet.ie [87.198.55.108])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "David De La Harpe Golden",
	Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK))
	by harpegolden.net (Postfix) with ESMTPSA id 79BD0683FF;
	Thu, 15 Jul 2010 10:55:38 +0100 (IST)
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5
In-Reply-To: <87oce986yu.fsf@leeloo.anubex.internal>
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
Resent-Date: Thu, 15 Jul 2010 05:56:02 -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" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=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:38545
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/38545>

On 15/07/10 09:50, Tim Van Holder wrote:
>
> With the current BZR head, the kill ring seems to be seriously
> broken, at least in conjunction with pc-selection-mode.
> It seems that whenever I mark a region (using shift + arrow keys), the
> contents of that region go into the kill ring, and when I enter text to
> replace that region, the first character (and only the first character)
> goes into the kill ring.
> This seriously breaks some common activities, i.e. copying a piece of
> code, then pasting it several times, adjusting those parts that need
> adjusting.
> Is there an option to disable this less-than-desirable "functionality"
> until the behaviour is returned to sanity? If not, I suppose I can
> handle a few extra M-y presses for a while, but I'd like to see this
> fixed as soon as possible.
>

[Well, please  bear in mind you're running unstable development code if 
you're running bzr head rather than a release AFAIU]

If you just want shift-arrow selection, note that that has worked in 
emacs anyway for a while, without pc-selection-mode turned on as such.
But since your bug was for the delete-selection part, well, I guess 
that's less than satisfactory.

The problem is likely in delete-selection-mode (which pc-selection-mode 
uses underneath) or some of the code it calls in simple.el:

I was totally expecting this to be related to certain recent changes in 
default selection handling, but breakage happened in my short test even 
with them turned off on X11 emacs on debian.  It may/must still be 
related to recent rearrangements, of course, just perhaps not in the 
area I thought.

I for one won't get to look properly at this until the weekend, though 
I'm not the only person about.