This bug report will be sent to the XEmacs Development Team,
not to your local site managers!!
Please write in English, because the XEmacs maintainers do not have
translators to read other languages for them.
Please describe as succinctly as possible:
- What happened.
- What you thought should have happened.
- Precisely what you were doing at the time.
Please also include any C or lisp back-traces that you may have.
================================================================
Dear Bug Team!
I have my post-command-hook set as follows:
(blink-cursor-post-command-hook mouse-avoidance-fancy-hook
paren-highlight)
Sometimes, I get an error ("such and such out of range, setting
post-command-hook to nil"). This appears to happen most often when I
delete a buffer. Experimenting with the three functions above, I found
that putting
(condition-case nil ( .. ) (error nil))
around mouse-avoidance-fancy-hook stopped the error. I'm not exactly
sure what the bug is, but it appears to be that the function is trying
to read part of a buffer that no longer exists.
I reported this error a little while ago, but nothing seems to have
happened; I suggest that the fix above is reasonable (since
mouse-avoidance-fancy-hook should never normally raise an error),
although it would obviously be better to fix the underlying bug.
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux emotion 2.4.9 #4 Thu Oct 4 18:45:05 BST 2001 i686 unknown
./configure '--prefix=/home/rrt'
XEmacs 21.4.6 "Common Lisp" configured for `i686-pc-linux'.
Compilation / Installation:
Source code location: /home/rrt/src/xemacs-21.4.6
Installation prefix: /home/rrt
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wshadow
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
TTY:
Compiling in support for ncurses.
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
WARNING: -----------------------------------------------------------
WARNING: Compiling without PNG image support.
WARNING: You should strongly consider installing the PNG libraries.
WARNING: Otherwise certain images and glyphs may not display.
WARNING: (a copy may be found in
ftp://ftp.xemacs.org/pub/xemacs/aux)
WARNING: -----------------------------------------------------------
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for Berkeley database.
Internationalization:
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Load-Path Lisp Shadows:
----------------------
(/home/rrt/elisp/bbdb-vm
/home/rrt/lib/xemacs/site-packages/lisp/bbdb/bbdb-vm
/home/rrt/elisp/winring
/home/rrt/lib/xemacs/xemacs-packages/lisp/edit-utils/winring
/home/rrt/elisp/setnu
/home/rrt/lib/xemacs/xemacs-packages/lisp/edit-utils/setnu
/home/rrt/elisp/vm-mime
/home/rrt/lib/xemacs/xemacs-packages/lisp/vm/vm-mime)
Installed XEmacs Packages:
-------------------------
((xemacs-devel:version 1.4 :type single-file)
(xemacs-base :version 1.58 :type regular)
(w3 :version 1.21 :type regular)
(vm :version 7.02 :type regular)
(view-process :version 1.11 :type regular)
(vc :version 1.3 :type regular)
(tm :version 1.3 :type regular)
(time :version 1.11 :type regular)
(textools :version 1.12 :type regular)
(text-modes :version 1.37 :type single-file)
(texinfo :version 1.2 :type regular)
(supercite :version 1.19 :type regular)
(speedbar :version 1.22 :type regular)
(slider :version 1.13 :type regular)
(sh-script :version 1.13 :type regular)
(sgml :version 1.08 :type regular)
(scheme :version 1.11 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.24 :type regular)
(psgml :version 1.26 :type regular)
(prog-modes
:version
1
.49
:type
single-file)
(pcomplete :version 1.01 :type regular)
(pcl-cvs :version 1.58 :type regular)
(pc :version 1.21 :type single-file)
(os-utils :version 1.26 :type single-file)
(net-utils :version 1.23 :type single-file)
(misc-games :version 1.15 :type single-file)
(mine :version 1.14 :type regular)
(mew :version 1.16 :type regular)
(mailcrypt :version 2.11 :type regular)
(mail-lib :version 1.43 :type regular)
(ispell :version 1.24 :type regular)
(igrep :version 1.08 :type regular)
(hm--html-menus :version 1.17 :type regular)
(gnus :version 1.58 :type regular)
(gnats :version 1.13 :type regular)
(games :version 1.13 :type regular)
(fsf-compat :version 1.1 :type single-file)
(footnote :version 1.13 :type regular)
(eterm :version 1.13 :type regular)
(eshell :version 1.02 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.02 :type regular)
(eicq :version 1.05 :type regular)
(efs :version 1.27 :type regular)
(edit-utils :version 1.76 :type single-file)
(ediff :version 1.35 :type regular)
(edebug :version 1.14 :type regular)
(dired :version 1.11 :type regular)
(dictionary :version 1.06 :type regular)
(debug :version 1.14 :type regular)
(cookie :version 1.13 :type regular)
(cc-mode :version 1.27 :type regular)
(calendar :version 1.18 :type regular)
(calc :version 1.18 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.05 :type regular)
(auctex :version 1.29 :type regular)
(apel :version 1.2 :type regular))
Features:
--------
(xemacsbug shadow bbdb-gui dired-faces dired-xemacs dired mmm-mode
mmm-univ mmm-class mmm-region mmm-utils lua-mode sh-script skeleton
executable psgml-dtd psgml-parse tempo psgml-xemacs sgml-mode psgml
psgml-html rect vm-edit tex-buf x-compose hyper-apropos ispell
cus-edit cus-load view-less view compile tabify outline latex tex
passwd shell enriched vm-reply vm-sort bbdb-hooks vm-delete vm-minibuf
vm-save vm-undo vm-page vm-virtual vm-mime vm-toolbar vm-summary
tapestry vm-motion vm-menu vm-folder vm-misc vm-mouse vm-window
vm-grepmail mailcrypt comint vm-pine vm-macro vm-message bbdb-vm
bbdb-snarf bbdb-com vm-summary-faces vm-autoload highlight-headers
vm-vars vm-version vm vm-startup url-gw url-misc url-cache url-http
url-cookie urlauth mail-extr gnus-picon w3-forms w3-display w3-imap
w3-widget css w3-mouse w3-vars w3-cus w3-keyword url mm mule-sysdp
url-parse url-vars sort smiley annotations gnus-cite gnus-async
gnus-score score-mode gnus-ml gnus-msg gnus-art mm-uu mm-view gnus-sum
nndraft nnmh gnus-cache gnus-group gnus-undo nnmail mail-source
format-spec efs-cu nntp nnoo gnus-start gnus-range gnus-spec gnus-int
gnus-win gnus gnus-ems gnus-xmas message messagexmas mml mm-decode
mm-encode mailcap mm-bodies uudecode mail-parse rfc2045 rfc2231
rfc2047 qp ietf-drums mail-abbrevs sendmail rfc822 mailheader
gnus-util time-date parse-time nnheader nnheaderxm mail-utils mm-util
mail-prsvr font disp-table blink-cursor permanent-buffers
where-was-i-db lazy-shot font-lock balloon-help avoid filladapt paren
blink-paren after-save-commands advice advice-preload env tex-site
cc-styles cc-vars wid-edit cc-defs mmm-auto mmm-vars mmm-compat
regexp-opt ansi-color edmacro iswitchb find-files fm overlay
bbdb-autoloads bbdb timezone sb-info info speedbar sb-image dframe
assoc vc ring vc-hooks jka-compr mwheel gnuserv time cus-face
xemacs-devel-autoloads xemacs-base-autoloads w3-autoloads vm-autoloads
view-process-autoloads vc-autoloads tm-autoloads time-autoloads
textools-autoloads text-modes-autoloads texinfo-autoloads
supercite-autoloads speedbar-autoloads slider-autoloads
sh-script-autoloads sgml-autoloads scheme-autoloads rmail-autoloads
reftex-autoloads psgml-autoloads prog-modes-autoloads
pcomplete-autoloads pcl-cvs-autoloads pc-autoloads os-utils-autoloads
net-utils-autoloads misc-games-autoloads mine-autoloads mew-autoloads
mailcrypt-autoloads mail-lib-autoloads ispell-autoloads
igrep-autoloads hm--html-menus-autoloads gnus-autoloads
gnats-autoloads games-autoloads fsf-compat-autoloads
footnote-autoloads eterm-autoloads eshell-autoloads emerge-autoloads
elib-autoloads eieio-autoloads eicq-autoloads efs-autoloads
edit-utils-autoloads ediff-autoloads edebug-autoloads dired-autoloads
dictionary-autoloads debug-autoloads cookie-autoloads
cc-mode-autoloads calendar-autoloads calc-autoloads
c-support-autoloads build-autoloads auctex-autoloads apel-autoloads
lisp-autoloads loadhist auto-show fontl-hooks x-iso8859-1 gutter-items
menubar-items x-menubar mode-motion mouse itimer auto-save lisp-mode
easymenu iso8859-1 page buff-menu lib-complete help-nomule cus-file
derived frame text-props obsolete cus-start custom widget cl-extra
mini-cl cl cl-19 packages backquote very-early-lisp lucid-scrollbars
cut-buffer lucid-menubars x c-balloon-help tty-frames tty toolbar
native-sound scrollbar unix-processes multicast network-streams
subprocesses modules menu-accelerator-support menubar berkeley-db md5
xemacs gutter gif xface xpm xbm lisp-float-type linux devices
window-system base64)
Recent keystrokes:
-----------------
left left left left left left left left left left left
left left left left left left left left left left left
left left left left left left left left left j b m
1 1 @ c a m . a c . u k , SPC RET s q h u v C-g q M-x
x m e TAB BS e BS e BS e BS BS e m TAB r e p TAB o
TAB BS BS BS BS BS BS BS BS BS BS BS r e p o r t -
x e TAB RET
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Wrote /home/rrt/mail/inbox
Saving...
Stuffing attributes...
Quitting...
Quit
Wrote /home/rrt/.bbdb
Type M-x switch-to-buffer-other-window RET to restore old contents of the bbdb-list
window.
Loading bbdb-gui...done
Loading bbdb-gui...
Formatting...done.
Formatting...
Deleted messages expunged.
Expunging...
1 message saved to /home/rrt/mail/people/jbm
End of message 4 from James Martin
Sending...done
Wrote /home/rrt/mail/people/jbm
Sending...
--
http://sc3d.org/rrt/ | certain, a. insufficiently analysed