[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: diff-yank-handler is evil
From: |
Richard Stallman |
Subject: |
Re: diff-yank-handler is evil |
Date: |
Sat, 27 Mar 2004 00:52:31 -0500 |
The diff-yank-handler was only placed on "diff lines" but not on hunk
headers and other lines, so that cut&paste of a few lines from inside
a hunk resulted in the text being inserted without the leading "-" or "+",
whereas if you cut&pasted a larger chunk that included a hunk header,
the diff would be pasted untouched. It DWIM'd perfectly.
I'll believe that it did the right thing most of the time, but it
can't always be right. And something like this, when it gets in the
way, is very annoying.
So I think it needs to be taken out, useful though it may be in many
cases.
It might be okay to put the feature back in with some other interface,
so that it won't get in the way unexpectedly. For instance, maybe
some mouse click on the text that was yanked could clean it up for
insertion. We might have a general convention that a certain kind of
click on text that is somehow specially formatted will adjust the
formatting for the new context of that text.
- diff-yank-handler is evil, Jesper Harder, 2004/03/24
- Re: diff-yank-handler is evil, Stefan Monnier, 2004/03/24
- Re: diff-yank-handler is evil, Jesper Harder, 2004/03/24
- Re: diff-yank-handler is evil, Stefan Monnier, 2004/03/24
- Re: diff-yank-handler is evil, Jesper Harder, 2004/03/24
- Re: diff-yank-handler is evil, Stefan Monnier, 2004/03/24
- Re: diff-yank-handler is evil, Kim F. Storm, 2004/03/25
- Re: diff-yank-handler is evil, Stefan Monnier, 2004/03/25
- Re: diff-yank-handler is evil, Kim F. Storm, 2004/03/25
- Re: diff-yank-handler is evil,
Richard Stallman <=
- Re: diff-yank-handler is evil, Kim F. Storm, 2004/03/28
- Re: diff-yank-handler is evil, Richard Stallman, 2004/03/29
- Re: diff-yank-handler is evil, Stefan Monnier, 2004/03/29
- Re: diff-yank-handler is evil, Richard Stallman, 2004/03/25