I'm trying to (re-)use XEmacs after a long period without. I often experience
errors, because some code comes from GNU Emacs and is not compatible. Then, I
get a stack trace such as this one:
--8<---------------cut here---------------start------------->8---
# bind (standard-output stack-trace-on-signal debug-on-signal stack-trace-on-error debug-on-error)
# (unwind-protect ...)
featurep(toolbar)
# bind (pointer vars help button user-pointer user-pointer1 glyph-extent glyph-extent1 extent point modeline-string modeline-point buffer window frame event)
default-mouse-motion-handler(#<motion-event 468, 275>)
("execute_internal_event()" "[internal]")
(dispatch-event "[internal]")
# (condition-case ... . error)
# (catch top-level ...)
--8<---------------cut here---------------end--------------->8---
Logic.
My problem is that I can't get out of it: every mouse movement generates tens
of liens in the Messages buffer, and even C-c C-x remains "inactive"[1]:
--8<---------------cut here---------------start------------->8---
# bind (standard-output stack-trace-on-signal debug-on-signal stack-trace-on-error debug-on-error)
# (unwind-protect ...)
featurep(dialog)
should-use-dialog-box-p()
# bind (next def elt char prompt map mouse-event user-keys actions no-cursor-in-echo-area action-alist help list actor prompter)
map-y-or-n-p(#<compiled-function (buffer) "...(103)" [switch-buffer arg buffer-offer-save last-buffer pred buffer buffer-modified-p buffer-base-buffer symbol-value-in-buffer save-buffers-skip buffer-file-name buffer-size 0 functionp t one-window-p delete-other-windows switch-to-buffer format "Save file %s? " "Save buffer %s? " buffer-name switched] 4> #<compiled-function (buffer) "...(8)" [buffer nil (save-buffer) ((error))] 3> (#<buffer "*Backtrace*"> #<buffer "*scratch*"> #<buffer " *Minibuf-0*"> #<buffer " *Echo Area*"> #<buffer " *pixmap conversion*"> #<buffer " *Message-Log*"> #<buffer " *Gutter Area*">) ("buffer" "buffers" "save") ((?\^R #<compiled-function (buf) "...(11)" [view-exit-action buf view-buffer #<compiled-function (ignore) "...(3)" [exit-recursive-edit] 1> recursive-edit nil] 2> "%_Display Buffer")))
# bind (last-buffer switched switch-buffer pred arg)
save-some-buffers-1(nil t t)
# (unwind-protect ...)
# bind (G70306)
# (unwind-protect ...)
# bind (pred arg)
save-some-buffers(nil t)
# bind (arg)
save-buffers-kill-emacs(nil)
# bind (command-debug-status)
call-interactively(save-buffers-kill-emacs)
(dispatch-event "[internal]")
# (condition-case ... . error)
# (catch top-level ...)
--8<---------------cut here---------------end--------------->8---
What can I do to make such errors stop widespreading over my whole XEmacs
session?
Best regards,
Seb
Footnotes:
[1] inefficient would be a better term.
--
Sebastien Vauban
> What can I do to make such errors stop widespreading over my whole XEmacs
> session?
The only thing I can think of would be to identify the incompatible
code and disable it. Maybe you can find the incompatible code by
grepping for "mouse". You could also try starting XEmacs with
-vanilla. Then start loading your customizations and libraries one at
a time, until the error starts happening.
--
Mike Kupfer m.ku...@acm.org