[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A question regarding cut and paste.
From: |
Benjamin Rutt |
Subject: |
Re: A question regarding cut and paste. |
Date: |
Thu, 22 May 2003 21:49:46 -0400 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (usg-unix-v) |
"Robin Singh" <nsnanda@hotmail.com> writes:
> Hello All,
> I am a naïve email user. In other windows editors, I can
> 1. Select text(t1) from somewhere and copy it .
> 2. Go somewhere else and and select some other text(t2) and paste
> t1. So t2 will be replaced by t1.
>
> How do we do this in emacs ? Does anyone have macro to do this ? I
> know there's search replace command but I don't want to use that.
For a partial solution, I think you want (delete-selection-mode 1) in
your ~/.emacs. Then, just after you select text t2, you have to hit
the BACKSPACE or DELETE key, and then you can paste text t1 in its
place.
--
Benjamin