emacs-devel
[Top][All Lists]
Advanced

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

Re: Various simple.el patches


From: Richard Stallman
Subject: Re: Various simple.el patches
Date: Fri, 16 May 2003 11:47:02 -0400

    1 - When killing the same thing over and over again, don't fill
        the kill-ring unnecessarily.

    ...
    No, this is handled somewhere else.  The only negative effect
    it has (AFAIK) is if you do C-k C-y C-k C-k C-k C-k on the above
    example: The second C-k overwrites the data from the first
    so if you do C-y M-y you won't get "foo" but you'll get
    whatever was on the kill-ring before.

That problem could be solved by having a flag that says there
are notionally two copies of the string on the kill ring.
If you append more killed text when the flag is set, it should
copy the string first, so that the original string remains in the
kill ring.

    2a - When yanking with an active region, do `delete-selection'.

This would be worth trying out, with a variable to control it
and disabled by default.

    3 - Make C-k at EOB kill the last line.

I agree with those who have criticized this.





reply via email to

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