Yoshiki Hayashi writes:
Paul Keusemann <Paul_Keusemann(a)cnt.com> writes:
> > `windows-of-buffer' is an alias for `get-buffer-window-list', a
compiled Lisp function
> > -- loaded from
"/usr2/paulk/summitfs1/dl/Editors/XEmacs/Builds/xemacs-21.2.36/lisp/window-xemacs.elc"
> > (windows-of-buffer BUFFER)
> Thanks for the pointer, by the way. I've figured it out, just not
> sure how to fix it yet. I'm running on a Sun machine and am loading
> the Sun/Tooltalk stuff which seems to be shadowing the one from apel.
> Did the one in apel change or was it adde or did the usage change?
It's correctly defalias'ed, but somehow it gets wrong
definition. What does C-h f get-buffer-window-list show?
What I get is:
`get-buffer-window-list' is a compiled Lisp function
-- loaded from "/src/xemacs/lisp/subr.elc"
(get-buffer-window-list &optional BUFFER MINIBUF FRAME)
What I get is:
`get-buffer-window-list' is a compiled Lisp function
-- loaded from "sun-eos-debugger-extra"
(get-buffer-window-list BUFFER)
I grepped tooltalk package but I couldn't find any place
which redefined it. APEL won't redefine functions if they
are already defined. I tested it on Solaris 2.6 with
tooltalk enabled but I couldn't reproduce it. Does it
happen when you do xemacs -vanilla?
It's in the Sun package in sun-eos-debugger-extra.el, which is
required for the SPARCworks integration. I realized after I sent the
last email that the real definition of get-buffer-window-list should
be coming from subr.el. That's what threw me in the first place, I
didn't find the one in sun-eos-debugger-extra.el until after you asked
what C-h f windows-of-buffer showed
As a workaround, I have prefixed the sun-eos-debugger-extra definition
of get-buffer-window-list with `eos::' but it would be nice if the
maintainer would fix it. I guess I should try sending email to
eduardo.pelegri-llopart(a)Eng.Sun.COM.
Let me know if you have any better suggestions for a fix and thanks again.
--
Paul Keusemann Computer Network Technology
email: paul_keusemann(a)cnt.com 6000 Nathan Lane
http://www.cnt.com Plymouth, MN 55442