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: Copy/paste issue. Date: Sat, 31 Mar 2012 10:46:28 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig074DC594CBE723645729BDD2" X-Trace: dough.gmane.org 1333183616 20397 80.91.229.3 (31 Mar 2012 08:46:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 31 Mar 2012 08:46:56 +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:46:55 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 1SDtxX-0005an-Ks for geh-help-gnu-emacs@m.gmane.org; Sat, 31 Mar 2012 10:46:55 +0200 Original-Received: from localhost ([::1]:47056 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDtxX-0005dN-3L for geh-help-gnu-emacs@m.gmane.org; Sat, 31 Mar 2012 04:46:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDtxR-0005ca-5e for help-gnu-emacs@gnu.org; Sat, 31 Mar 2012 04:46:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDtxP-0002TG-BU for help-gnu-emacs@gnu.org; Sat, 31 Mar 2012 04:46:48 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:35060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDtxP-0002St-58 for help-gnu-emacs@gnu.org; Sat, 31 Mar 2012 04:46:47 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SDtxM-0005TX-PH for help-gnu-emacs@gnu.org; Sat, 31 Mar 2012 10:46:44 +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:46:44 +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:46:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 54 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 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:84221 Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig074DC594CBE723645729BDD2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, 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. 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). I've looked through the docs and code for the "yank" and "kill-ring-save" functions but could not find anything. Can somebody give me pointers to what variables/functions/customizations I should check to get the behavior I want? Thanks, Jerome --=20 mailto:jeberger@free.fr http://jeberger.free.fr Jabber: jeberger@jabber.fr --------------enig074DC594CBE723645729BDD2 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) iEYEARECAAYFAk92xGkACgkQd0kWM4JG3k9eigCfS5jkOcm6xRYb/jLu/pN8O+T8 B+YAn1XQdFcHyhJsE3H6yjZmw7ndvptq =LMay -----END PGP SIGNATURE----- --------------enig074DC594CBE723645729BDD2--