From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Newsgroups: gmane.emacs.bugs
Subject: bug#6637: 24.0.50; kill ring being seriously polluted
Date: Thu, 15 Jul 2010 12:05:57 +0200
Organization: ThierryVolpiatto
Message-ID: <87fwzlukje.fsf@tux.homenetwork>
References: <87oce986yu.fsf@leeloo.anubex.internal>
	<4C3EDB1A.6010202@harpegolden.net>
NNTP-Posting-Host: lo.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: dough.gmane.org 1279189840 11682 80.91.229.12 (15 Jul 2010 10:30:40 GMT)
X-Complaints-To: usenet@dough.gmane.org
NNTP-Posting-Date: Thu, 15 Jul 2010 10:30:40 +0000 (UTC)
To: bug-gnu-emacs@gnu.org
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 15 12:30:38 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 1OZLi8-0006Ws-Mr
	for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Jul 2010 12:30:37 +0200
Original-Received: from localhost ([127.0.0.1]:51016 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1OZLi7-0006B5-S6
	for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Jul 2010 06:30:36 -0400
Original-Received: from [140.186.70.92] (port=54148 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OZLhu-00069f-0B
	for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2010 06:30: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 1OZLhs-0002sd-O7
	for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2010 06:30:21 -0400
Original-Received: from debbugs.gnu.org ([140.186.70.43]:45935)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1OZLhs-0002sW-MN
	for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2010 06:30:20 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>)
	id 1OZLNG-00009Q-3I; Thu, 15 Jul 2010 06:09:02 -0400
X-Loop: help-debbugs@gnu.org
In-Reply-To: <87oce986yu.fsf@leeloo.anubex.internal>
Resent-From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
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 10:09:02 +0000
Resent-Message-ID: <handler.6637.B.1279188527574@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 submit@debbugs.gnu.org id=B.1279188527574
	(code B ref -1); Thu, 15 Jul 2010 10:09:02 +0000
Original-Received: (at submit) by debbugs.gnu.org; 15 Jul 2010 10:08:47 +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 1OZLN0-00009D-Pg
	for submit@debbugs.gnu.org; Thu, 15 Jul 2010 06:08:47 -0400
Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <geb-bug-gnu-emacs@m.gmane.org>) id 1OZLMy-000098-Cf
	for submit@debbugs.gnu.org; Thu, 15 Jul 2010 06:08:45 -0400
Original-Received: from lists.gnu.org ([199.232.76.165]:33423)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <geb-bug-gnu-emacs@m.gmane.org>) id 1OZLN8-0006lg-LP
	for submit@debbugs.gnu.org; Thu, 15 Jul 2010 06:08:54 -0400
Original-Received: from [140.186.70.92] (port=43408 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OZLN4-0007M1-7W
	for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2010 06:08:54 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <geb-bug-gnu-emacs@m.gmane.org>) id 1OZLN2-0007gF-Qq
	for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2010 06:08:50 -0400
Original-Received: from lo.gmane.org ([80.91.229.12]:52607)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <geb-bug-gnu-emacs@m.gmane.org>) id 1OZLN2-0007fm-GV
	for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2010 06:08:48 -0400
Original-Received: from list by lo.gmane.org with local (Exim 4.69)
	(envelope-from <geb-bug-gnu-emacs@m.gmane.org>) id 1OZLMz-0006wE-0v
	for bug-gnu-emacs@gnu.org; Thu, 15 Jul 2010 12:08:45 +0200
Original-Received: from 27.77.197-77.rev.gaoland.net ([77.197.77.27])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <bug-gnu-emacs@gnu.org>; Thu, 15 Jul 2010 12:08:45 +0200
Original-Received: from thierry.volpiatto by 27.77.197-77.rev.gaoland.net with local
	(Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00
	for <bug-gnu-emacs@gnu.org>; Thu, 15 Jul 2010 12:08:45 +0200
X-Injected-Via-Gmane: http://gmane.org/
Original-Lines: 55
Original-X-Complaints-To: usenet@dough.gmane.org
X-Gmane-NNTP-Posting-Host: 27.77.197-77.rev.gaoland.net
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)
Cancel-Lock: sha1:1KRVbsXre1G1CgHd5S8Py2htd+U=
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6,
	seldom 2.4 (older, 4)
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
Resent-Date: Thu, 15 Jul 2010 06:09: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:38549
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/38549>

David De La Harpe Golden <david@harpegolden.net> writes:

> 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.

That appear even if delete-selection-mode is turned off, to disable that
i use here:

,----
| (setq x-select-enable-clipboard nil)
| (setq interprogram-paste-function nil)
`----

and it seem working fine.


-- 
Thierry Volpiatto
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997