help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: overwrite yank


From: Dieter Wilhelm
Subject: Re: overwrite yank
Date: Thu, 27 Sep 2007 03:00:35 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

"Drew Adams" <drew.adams@oracle.com> writes:

>> > Hi, I'm sure this is really simple, but I can't find the answer
>> > anywhere.  How can I overwrite from the copy buffer?  I've tried
>> > yanking in overwrite-mode but that doesn't work, it just inserts as
>> > normal, whereas I want to overwrite.  Thanks.
>>
>>  Please try "delete-selection-mode" but from your description I'm not
>>  quite sure that this is what you want.
>
> No, it won't do what he's asking. I don't know of anything, offhand, that
> will. Perhaps someone here will provide some code to do it, as a fun
> exercise.

I thought it implicit that he wanted to overwrite some *selection*
with the stuff from the kill ring.  So you think he wants for example
yanking a line of text and this same line does overwrite the line
where the cursor is (without a region)?

>
> Joe: Out of curiosity, just why do you want to do that?

Yes, why?

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany




reply via email to

[Prev in Thread] Current Thread [Next in Thread]