With 'fume (func-menu.el Version: 2.66) enabled, I often encouter this
error when entering a function:
(1) (error/warning) Error in `pre-command-hook' (setting hook to nil):
(wrong-type-argument unable to bind this type of event
#<misc-user-event (eval (fume-goto-function "BlobIsSeekable" 9238))>)
After this error, the basic timing in xemacs (21.4.14) seems screwed
up since file backups and blinking braces go as fast as the CPU
allows. The only fix is to restart xemacs.
The problem has been observed when editing C, C++, and Perl
source files.
The following associated code is in .xemacs/init.el:
(cond (running-xemacs
(require 'func-menu)
(define-key global-map 'f8 'function-menu)
(add-hook 'find-file-hooks 'fume-setup-buffer) ;; new
(add-hook 'Manual-mode-hook 'turn-on-fume-mode) ;; new
;; (add-hook 'find-file-hooks 'fume-add-menubar-entry ;; old
(define-key global-map "\C-cl" 'fume-list-functions)
(define-key global-map "\C-cg" 'fume-prompt-function-goto)
;; The Hyperbole information manager package uses (shift button2) and
;; (shift button3) to provide context-sensitive mouse keys. If you
;; use this next binding, it will conflict with Hyperbole's setup.
;; Choose another mouse key if you use Hyperbole.
(define-key global-map '(shift button3) 'mouse-function-menu)
;; For descriptions of the following user-customizable variables,
;; type C-h v <variable>
(setq fume-max-items 25
fume-fn-window-position 3
fume-auto-position-popup t
fume-display-in-modeline-p t
fume-menubar-menu-location "File"
fume-buffer-name "*Function List*"
fume-no-prompt-on-valid-default nil)
))
Is there a fix for this problem?
Bob
======================================
Bob Friesenhahn
bfriesen(a)simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen