At 03:42 PM 6/6/99 -0400, Dmitry Yaitskov wrote:
Now, about what upsets me. Under X, as far as I remember (I only used
X briefly) pasting meant the current selection, and I do not remember
there being a "clipboard" - although from you and Hrvoje's replies I
gathered that there actually is. Anyway, under Windows, I'd like
cut/copy/paste to work in XEmacs the same way they do in other Windows
programs. That is, selecting does not affect the clipboard until an
explicit cut or copy is done. And, pasting when a selection is active
overwrites that selection with the clipboard contents. In other words,
I'd like the functions from select.el to do what their doc strings
say, really.
Ok. I think this is doable, although we will probably have to have an
option to select between incompatible behaviour. I would add that:
1. Middle button should paste (the selection or the clipboard), windows
people won't care since they don't use the middle button.
2. M-x and C-w should copy and kill to the clipboard as well as the kill
ring. This is the behaviour that *really* bugs me, the old way you could
only get stuff in the clipboard my using the menubar, toolbar or bogus
^H^H^H^H^H appropriate Windows keystrokes.
3. C-y should yank from the clipboard, in what preference to the kill-ring
I don't know - the beauty of the X model is that these decisions are easy.
And, I do not care too much whether the "standard Windows"
behavior is
NT XEmacs' default or not (although I do think that it would make
XEmacs NT much more useful "out of the box"), the important thing for
me is to be able to write lisp functions that would do that (which *I*
could not do with the new select code in b15).
As Martin and Ben said last night "there should always be an option" :)
Doing things the way windows people expect without breaking things that
work the way XEmacs people expect seems reasonable to me. And the windows
way should probably be the default.
While we are at it... would be nice to have an
"append-to-clipboard"
function. I don't think there is one now, is there?
Don't know but its easy to do.
Thanks, and sorry about the "heated" replies.
No problem.
Now I have to go and use that outside pool and jacuzzi - I like Northern
California .....
andy
--------------------------------------------------------------
Dr Andy Piper
Senior Consultant Architect, BEA Systems Ltd