[Bug 358333] New: xemacs spits backtraces
https://bugzilla.novell.com/show_bug.cgi?id=358333
Summary: xemacs spits backtraces
Product: openSUSE 11.0
Version: Alpha 2
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: X11 Applications
AssignedTo: mfabian@novell.com
ReportedBy: coolo@novell.com
QAContact: sndirsch@novell.com
Found By: ---
I still haven't found out why it happens and why it does not happen sometimes,
but this is the backtrace I get whenever I edit sources:
(765) (general/warning) Error in unknown: Invalid function: 0
Backtrace follows:
0(6130)
# bind (highlights matcher keyword nkeywords iter old-progress progress
bufname keywords case-fold-search loudly loudvar end start)
font-lock-fontify-keywords-region(6060 6130 nil)
# (unwind-protect ...)
# bind (modified buffer-undo-list inhibit-read-only old-syntax-table
buffer-file-name buffer-file-truename loudly end beg)
font-lock-default-fontify-region(6060 6130 nil)
# bind (loudly end beg)
font-lock-fontify-region(6060 6130)
# bind (val end beg)
#
https://bugzilla.novell.com/show_bug.cgi?id=358333
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358333#c1
--- Comment #1 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=358333
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358333#c2
--- Comment #2 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=358333
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358333#c3
--- Comment #3 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=358333
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358333#c4
--- Comment #4 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=358333
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358333#c5
--- Comment #5 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=358333
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358333#c6
Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=358333
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358333#c7
--- Comment #7 from Mike Fabian
From the “kde-emacs” lisp file kde-emacs-core.el:
(if (not (fboundp 'font-lock-add-keywords))
(defun font-lock-add-keywords (mode keywords &optional append)
"XEmacs doesn't have font-lock-add-keywords so we provide it."
(font-lock-set-defaults)
(if (eq append 'set)
(setq font-lock-keywords keywords)
; NOTE: write this function for XEmacs - Zack
;(font-lock-remove-keywords nil keywords) ;to avoid duplicates
(let ((old (if (eq (car-safe font-lock-keywords) t)
(cdr font-lock-keywords)
font-lock-keywords)))
(setq font-lock-keywords (if append
(append old keywords)
(append keywords old))))))
)
I.e. kde-emacs-core.el uses it’s own implementation of
font-lock-add-keywords if such a function is not available in the
Emacs version used.
The XEmacs in openSUSE 10.2 did *not* yet have such a function,
i.e. the implementation in kde-emacs-core.el was used.
This function was added to XEmacs shortly after the release of
openSUSE 10.2, see xemacs/lisp/ChangeLog:
2006-11-02 Adrian Aichner
https://bugzilla.novell.com/show_bug.cgi?id=358333
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358333#c8
--- Comment #8 from Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=358333
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358333#c9
Mike Fabian
https://bugzilla.novell.com/show_bug.cgi?id=358333
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=358333#c10
--- Comment #10 from Mike Fabian
participants (1)
-
bugzilla_noreply@novell.com