Hrvoje Niksic writes:
Colin Rafferty <craffert(a)ms.com> writes:
> However, the equivalent in 19.13 does not crash, but creates the
> margin annotation correctly.
How can it attach a "pointer" annotation to a buffer?
Perhaps it was
a bug in 19.13?
I did the code from the sample.emacs from 19.13:
(if (featurep 'xpm)
(let ((file "/u/sag3_dev4/craffert/xemacs/irix-cvs-2/etc/recycle2.xpm"))
(if (condition-case error
(make-cursor file) ;returns a cursor if successful.
(error nil)) ; returns nil if an error occurred.
(setq x-gc-pointer-shape file))))
Then, I redefined `make-annotation' (from 21.0), and ran:
(make-annotation x-gc-pointer-shape nil 'text)
make-annotation had an error at the end, but the glyph was
appropriately in the buffer.
Is this a bug in 19.13? Maybe, but I would say that 19.15+ crashing
is a much worse bug.
--
Colin