From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?IkrDqXLDtG1lIE0uIEJlcmdlciI=?= Newsgroups: gmane.emacs.help Subject: Re: Copy/paste issue. Date: Sat, 31 Mar 2012 10:51:33 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC7DD47B855CCBA6313BA7E91" X-Trace: dough.gmane.org 1333184119 23404 80.91.229.3 (31 Mar 2012 08:55:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 31 Mar 2012 08:55:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 31 10:55:19 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SDu5e-0003K9-Ai for geh-help-gnu-emacs@m.gmane.org; Sat, 31 Mar 2012 10:55:18 +0200 Original-Received: from localhost ([::1]:51223 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDu5d-0000hp-QZ for geh-help-gnu-emacs@m.gmane.org; Sat, 31 Mar 2012 04:55:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDu5X-0000gs-Le for help-gnu-emacs@gnu.org; Sat, 31 Mar 2012 04:55:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDu5V-0004cC-BU for help-gnu-emacs@gnu.org; Sat, 31 Mar 2012 04:55:11 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:46288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDu5V-0004bZ-4k for help-gnu-emacs@gnu.org; Sat, 31 Mar 2012 04:55:09 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SDu5Q-00038d-G9 for help-gnu-emacs@gnu.org; Sat, 31 Mar 2012 10:55:04 +0200 Original-Received: from def92-4-82-224-197-72.fbx.proxad.net ([82.224.197.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 31 Mar 2012 10:55:04 +0200 Original-Received: from jeberger by def92-4-82-224-197-72.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 31 Mar 2012 10:55:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 60 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: def92-4-82-224-197-72.fbx.proxad.net User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.24) Gecko/20120206 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666 In-Reply-To: X-Enigmail-Version: 0.96.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84222 Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC7DD47B855CCBA6313BA7E91 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable J=C3=A9r=C3=B4me M. Berger wrote: > Hi, >=20 > I have an issue with copy/paste. Here are the steps to reproduce: > * Select some text (say "foo") and copy it (M-w); > * Select some other text (say "bar") and paste (C-y): > -> The text "bar" is deleted and the text "foo" is inserted > in its place; > * Select yet some other text (say "zzz") and paste (C-y): > -> Expected behavior: The text "zzz" is deleted and the text > "foo" is inserted in its place; > -> Actual behavior: The text "zzz" is deleted and the text > "bar" is inserted in its place. >=20 > This behavior is with my configuration files. If I start emacs with > -Q, pasting over selected text does not erase the selection but > inserts the pasted text at the cursor position. In that case, > pasting multiple times always pastes "foo". I'm not sure what part > of my configuration changes this behavior (grepping for "yank" and > "kill" yields nothing obvious). >=20 > I've looked through the docs and code for the "yank" and > "kill-ring-save" functions but could not find anything. >=20 > Can somebody give me pointers to what > variables/functions/customizations I should check to get the > behavior I want? >=20 Sorry, forgot a couple of points: - OS: ArchLinux 64 bits; - Emacs version 23.4 (standard Arch package); - The described behavior happens when selecting with the mouse, selecting with the keyboard gives the expected behavior. Jerome --=20 mailto:jeberger@free.fr http://jeberger.free.fr Jabber: jeberger@jabber.fr --------------enigC7DD47B855CCBA6313BA7E91 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAk92xZUACgkQd0kWM4JG3k+hsACfXqcT1kToX9/nNpTsiBGqLdI3 bW0An3//kqekxAJjfoLqYWpOvfZjJW13 =uUeD -----END PGP SIGNATURE----- --------------enigC7DD47B855CCBA6313BA7E91--