[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mouse-sel
From: |
munro1 Dave Munro 25428 |
Subject: |
mouse-sel |
Date: |
Thu, 19 Feb 2004 13:51:05 -0800 (PST) |
Symptoms:
Between emacs 21.2 and 21.3, mouse-sel.el changed, introducing a
problem with interprogram-cut-function and interprogram-paste-function:
As a new feature, when mouse-sel mode is turned off, the key
bindings and interprogram-*-function's get reset to their values
before mouse-sel mode was turned on.
However, if mouse-sel mode is called to turn the mode off before
it was ever turned on (this was done pre-emptively in a part of
some lisp code I wrote), the 21.3 mouse-sel.el has never stored
the true "original" values of the interprogram-*-function's in the
mouse-sel-original-interprogram-*-function variables. Hence,
after such a first call to mouse-sel-mode, both of the
interprogram-*-function have been reset to nil. This undoes the
correct initialization performed in term/x-win.el at startup time.
Probably the best fix is for the mouse-sel-mode function to
recognize that it has never set mouse-sel-original-interprogram-*-function
and to never attempt to restore them until it has saved them.
If you start "emacs -q" in the X Window environment, you can cut and
paste between the emacs window and an xterm window (for example) by
default (because xterm/x-win.el set interprogram-*-function properly).
If you type "C-u 0 M-x mouse-sel-mode RET" the emacs window will no
longer cut or paste with the xterm window, despite the fact that the
"original" state of interprogram-*-function was to do the pasting.
In GNU Emacs 21.3.50.1 (powerpc-apple-darwin7.0.0, X toolkit)
of 2003-11-03 on elko.llnl.gov
configured using `configure '--with-x' '--without-carbon''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: C
locale-coding-system: nil
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
auto-compression-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
unify-8859-on-encoding-mode: t
line-number-mode: t
Recent input:
M-x r e p o r t - SPC SPC <return>
Recent messages:
Loading mwheel...done
(emacs)
Loading tool-bar...done
Loading image...done
Loading tooltip...done
Loading /usr/gapps/axdot/yorick...done
Loading delsel...done
Loading emacsbug...done
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- mouse-sel,
munro1 Dave Munro 25428 <=