rpluim(a)bigfoot.com writes:
loading the following file using xemacs -vanilla, cvsupped after
Andy
Piper's latest patches (~8:40 AM EST, May 9).
--begin--
(setq debug-on-error t)
(require 'build-report)
(custom-set-variables
'(gutter-buffers-tab-visible-p nil))
--end--
Produces the following backtrace:
Signaling: (wrong-type-argument glyphp nil)
wrong-type-argument(glyphp nil)
glyph-property-instance(nil image nil nil nil)
glyph-image-instance(nil)
remove-buffer-from-gutter-tab()
This is because remove-buffer-from-gutter-tab tries to
remove glyph before gutter-buffers-tab is initialized.
You can reproduce the problem by just giving a file name
from command line if your XEmacs is compiled with MULE.
For example, xemacs -vanilla ~/.emacs
2000-05-11 Yoshiki Hayashi <yoshiki(a)xemacs.org>
* gutter-items.el (remove-buffer-from-gutter-tab): Remove
buffer only gutter-buffers-tab is initialized.
From: SANETO Takanori.
Index: gutter-items.el
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/lisp/Attic/gutter-items.el,v
retrieving revision 1.1.2.49
diff -u -r1.1.2.49 gutter-items.el
--- gutter-items.el 2000/05/03 14:47:00 1.1.2.49
+++ gutter-items.el 2000/05/11 06:44:49
@@ -347,6 +347,7 @@
(defun remove-buffer-from-gutter-tab ()
"Remove the current buffer from the tab control in the gutter area."
(when (and (valid-image-instantiator-format-p 'tab-control)
+ gutter-buffers-tab
(specifier-instance default-gutter-visible-p))
(let ((inst (glyph-image-instance gutter-buffers-tab))
(buffers (buffers-tab-items t)))
--
Yoshiki Hayashi