unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* kill-ring-save trouble
@ 2002-12-23 19:36 Lars Gustafsson
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Gustafsson @ 2002-12-23 19:36 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 653 bytes --]

Is there a way to stop Emacs from saving everything, which is beeing highlighted into the kill-ring. In many windows applications you can copy some text and then replace other text by first highlighting it and then paste over it. This works one time in Emacs but the second time you're trying to paste in the text, which you first copied, the text pasted in is the text which was highlighted the second time. I wanted the text highlighted the first time to be pasted in.
In summary:
First highlight, copy
Second highlight, paste 
Third highlight, paste ERROR!

Is there something I can put in my .emacs file to avoid this problem?

Regards, Lars

[-- Attachment #1.2: Type: text/html, Size: 1317 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

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

* kill-ring-save trouble
@ 2002-12-23 20:40 Lars Gustafsson
  2002-12-24  9:04 ` Kai Großjohann
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Gustafsson @ 2002-12-23 20:40 UTC (permalink / raw)


Is there a way to stop Emacs from saving everything, which is being
highlighted into the kill-ring. In many windows applications you can
copy some text and then replace other text by first highlighting it
and then paste over it. This works one time in Emacs but the second
time you're trying to paste in the text, which you first copied, the
text pasted in is the text which was highlighted the second time. I
wanted the text highlighted the first time to be pasted in.
In summary:
First highlight, copy
Second highlight, paste 
Third highlight, paste ERROR!
 
Is there something I can put in my .emacs file to avoid this problem?
 
Thankful for answers, Lars

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

* Re: kill-ring-save trouble
  2002-12-23 20:40 Lars Gustafsson
@ 2002-12-24  9:04 ` Kai Großjohann
  0 siblings, 0 replies; 3+ messages in thread
From: Kai Großjohann @ 2002-12-24  9:04 UTC (permalink / raw)


lng2@spray.se (Lars Gustafsson) writes:

> Is there a way to stop Emacs from saving everything, which is being
> highlighted into the kill-ring. In many windows applications you can
> copy some text and then replace other text by first highlighting it
> and then paste over it. This works one time in Emacs but the second
> time you're trying to paste in the text, which you first copied, the
> text pasted in is the text which was highlighted the second time. I
> wanted the text highlighted the first time to be pasted in.

First of all, try M-y after yanking (pasting).

Secondly, investigate delete-selection-mode.

-- 
~/.signature is: umop ap!sdn    (Frank Nobis)

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

end of thread, other threads:[~2002-12-24  9:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-23 19:36 kill-ring-save trouble Lars Gustafsson
  -- strict thread matches above, loose matches on Subject: below --
2002-12-23 20:40 Lars Gustafsson
2002-12-24  9:04 ` Kai Großjohann

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