1
;;; ********************
2
;;; func-menu is a package that scans your source file for function
3
;;; definitions and makes a menubar entry that lets you jump to any
4
;;; particular function definition by selecting it from the menu. The
5
;;; following code turns this on for all of the recognized languages.
6
;;; Scanning the buffer takes some time, but not much.
8
;;; Send bug reports, enhancements etc to:
9
;;; David Hughes <ukchugd@ukpmr.cs.philips.nl>
13
(define-key global-map 'f8 'function-menu)
14
(add-hook 'find-file-hooks 'fume-add-menubar-entry)
15
(define-key global-map "\C-cl" 'fume-list-functions)
16
(define-key global-map "\C-cg" 'fume-prompt-function-goto)
18
;; The Hyperbole information manager package uses (shift button2) and
19
;; (shift button3) to provide context-sensitive mouse keys. If you
20
;; use this next binding, it will conflict with Hyperbole's setup.
21
;; Choose another mouse key if you use Hyperbole.
22
(define-key global-map '(shift button3) 'mouse-function-menu)
24
;; For descriptions of the following user-customizable variables,
25
;; type C-h v <variable>
26
(setq fume-max-items 25
27
fume-fn-window-position 3
28
fume-auto-position-popup t
29
fume-display-in-modeline-p t
30
fume-menubar-menu-location "File"
31
fume-buffer-name "*Function List*"
32
fume-no-prompt-on-valid-default nil)
36
;; Provide this menu stuff as a lisp package
37
(provide 'cpp-func-menu)