unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Re: Copy/paste issue.
@ 2012-03-31 15:44 Silvio Levy
  2012-03-31 16:03 ` Drew Adams
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Silvio Levy @ 2012-03-31 15:44 UTC (permalink / raw)
  To: Drew Adams; +Cc: help-gnu-emacs



> This feeling gets reinforced by the fact that things seem to progress very
> slowly with binary search, at first.  Remind yourself of the story of the
> inventor of chess and the king:

In my experience binary search, while sometimes unavoidable, is far
from logarithmic, because the contents interact with each other.

At the simplest level, cutting a file in half typically cuts it in the
middle of a function. Even if the functions are short and it's easy to
break between functions, the remaining code may depend on the omitted
code, so the division introduces new errors that have to be debugged.

Silvio Levy


Silvio





^ permalink raw reply	[flat|nested] 19+ messages in thread
* Copy/paste issue.
@ 2012-03-31  8:46 "Jérôme M. Berger"
  2012-03-31  8:51 ` "Jérôme M. Berger"
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: "Jérôme M. Berger" @ 2012-03-31  8:46 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 1242 bytes --]

	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
-- 
mailto:jeberger@free.fr
http://jeberger.free.fr
Jabber: jeberger@jabber.fr


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2012-05-29 13:53 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-31 15:44 Copy/paste issue 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
  -- strict thread matches above, loose matches on Subject: below --
2012-03-31  8:46 "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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).