all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Copy/paste issue.
Date: Sat, 31 Mar 2012 13:34:58 +0300	[thread overview]
Message-ID: <83pqbtjbxp.fsf@gnu.org> (raw)
In-Reply-To: <jl6gim$lhr$1@dough.gmane.org>

> From: "Jérôme M. Berger" <jeberger@free.fr>
> Date: Sat, 31 Mar 2012 10:51:33 +0200
> 
> > 	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?
> > 
> 	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.

I think Emacs 24 will fix that; either wait for it to be released, or
try its latest pretest tarball.




  parent reply	other threads:[~2012-03-31 10:34 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-31  8:46 Copy/paste issue "Jérôme M. Berger"
2012-03-31  8:51 ` "Jérôme M. Berger"
2012-03-31  9:49   ` Peter Dyballa
2012-03-31 10:24     ` "Jérôme M. Berger"
2012-03-31 10:34   ` Eli Zaretskii [this message]
2012-03-31 13:47 ` XeCycle
2012-03-31 15:14   ` Drew Adams
2012-04-01  7:59   ` "Jérôme M. Berger"
     [not found] ` <mailman.189.1333201685.20052.help-gnu-emacs@gnu.org>
2012-05-07  4:19   ` David Combs
2012-05-07  6:27     ` Drew Adams
2012-05-07  7:52     ` Yaoyuan
     [not found]     ` <mailman.730.1336372071.855.help-gnu-emacs@gnu.org>
2012-05-29  1:36       ` David Combs
     [not found]     ` <mailman.731.1336377127.855.help-gnu-emacs@gnu.org>
2012-05-29  1:40       ` David Combs
2012-05-29 13:53         ` Barry Margolin
  -- strict thread matches above, loose matches on Subject: below --
2012-03-31 15:44 Silvio Levy
2012-03-31 16:03 ` Drew Adams
2012-03-31 16:15 ` Peter Dyballa
     [not found] ` <mailman.205.1333209850.20052.help-gnu-emacs@gnu.org>
2012-05-07  4:46   ` David Combs
2012-05-07  6:09     ` Vladimir Murzin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83pqbtjbxp.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.