bug-ed
[Top][All Lists]
Advanced

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

Re: [bug-ed] Cut buffer does not persist between files


From: Antonio Diaz Diaz
Subject: Re: [bug-ed] Cut buffer does not persist between files
Date: Wed, 04 Dec 2019 18:11:30 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

Brian Zwahr wrote:
I'm running into an issue that I'm not sure if it's a feature, a bug, or
just an oversight. If I open a file in ed, yank some text with `y`, then
open a new file for editing using `e`, I can't paste the yanked text with
`x`.

This has been GNU ed's behavior since the yank buffer was introduced in version 0.2 (1994). The yank buffer is cleared before closing the old file and opening the new.

I agree that it may be useful to keep the yank buffer between files, but it would be a major change because the yank buffer is implemented as a linked list of pointers to lines in the file buffer.


Best regards,
Antonio.



reply via email to

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