Hi All, I'd like to solicit your feedback on this issue.
Yesterday I found the cause for mouse-track-insert not to work between
buffers, at least under native Windows, today I found more:
buff-meu.el, compile.el, info.el all incorrectly make
`mouse-track-click-hook' local via `make-local-variable'.
mouse-track-insert between buffers works fine until either of
C-x C-b (list-buffers),
M-x compile, or
C-h i (info)
are executed.
According to documentation of `add-hook', `make-local-hook' should be
used for hook variables instead.
Documentation of `make-local-hook' has a worrying, uninformative hint
about non-normal hooks, which will have to be changed one by one.
Can anyone here elaborate on this hint?
A few questions arise:
1. Does mouse-track-insert work between buffers under X, after running
any of the offenders above?
2. Should mouse-track-click-hook be used as a local hook by
buff-meu.el, compile.el, info.el?
3. Should all instances of
(make-local-variable A)
(add-hook A B)
be converted to
(make-local-hook A)
(add-hook A B)
Here is what I found in core lisp:
This is what I found in xemacs-packages lisp:
--
Adrian Aichner Teradyne GmbH, European Design Center
Integra Test Division Telephone +49/89/41861(0)-208
Dingolfinger Strasse 2 Fax +49/89/41861-115
D-81673 MUENCHEN E-mail adrian.aichner(a)teradyne.com