Hi there,
following the bugfix two days ago, I have now finally sat down and
tried to clean out the annoyingly non-standard behavior of TeXmacs in
terms of selection handling and cut-and-paste. Resulting are the three
attached patches that handle mostly independent issues. Each patch has
an explanation included in the header.
To begin with: I am used to the Windows/KDE/Gnome standard behavior
which is very different from that of Emacs. I believe the patches in
their current form will work in Emacs mode as well, but I would ask
some of the true Emacs users to try these patches.
The first patch should be pretty much invisible if you don't use
X11-style mouse-select-and-middle-button-paste. If you do use this,
you should find the new behavior identical to that in other common
editors. If you have xclipboard, klipper or any similar clipboard
manager running, please check how it might interfere with the
inter-program cut-and-paste.
The second patch makes selections generally non-persistent (i.e. text
is unselected as soon as cursor is moved). This is the standard set by
Windows and adopted by freedesktop.org (i.e. KDE, Gnome, etc.). If
anybody has a good reason for supporting persistent selections, please
bring it forward.
The third patch does away with the annoying habit of TeXmacs
overwriting the clipboard when you press <delete> on a selection. I
know that some Emacs users prefer to have their <delete> key bound to
perform a <cut> operation. If anybody out there thinks this kind of
behavior should be configurable (or even default in Emacs mode), could
you please contact me, so we could try to figure out at which place I
should put a switch.
Please, test these patches thoroughly and give your feedback. This is
something that will affect every user every day, so it should be
polished.
Greeting,
Norbert
------------------------------------------------------------------------
_______________________________________________
Texmacs-dev mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/texmacs-dev