help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

manual-entry and devhelp


From: Richard G Riley
Subject: manual-entry and devhelp
Date: Fri, 01 Aug 2008 15:21:29 +0200
User-agent: Emacs 22.2.1/No Gnus v0.11

I have the following snippet in my c-programming elisp file:

,----
|   (let ((dl '(
|               ([f1] . devhelp-word-at-point)
|               ([(shift f1)] . manual-entry)
| ;              ([backtab] . semantic-complete-analyze-inline)
|               ;;            ([f5] . find-tag-noconfirm)
|               ([f6] . find-tag-repeat)
|               ([f7] . pop-tag-mark)
|               ([f2] . gdb-restore-windows)
|               ([f3] . cscope-find-global-definition-no-prompting)
|               ([f4] . repeat)
|               ([f10] . (lambda()(interactive)(do-compile)))
|               ([(shift f10)] . (lambda()(interactive)(do-lint)))
|               ([(control f10)] . (lambda()(interactive)(do-cdecl)))
|               ([f11] . next-error)
|               ([f12] . gdb))))
|     (dolist (i dl)
|          
|       (define-key c-mode-base-map (car i) (cdr i))
|       ;;       (define-key c-mode-map (car i) (cdr i))
|       ;;       (define-key c++-mode-map (car i) (cdr i))
|       ))
`----

With regards to F1 and S-F1 above, I was hoping some kind elisp
programmer could help with a function which will pull up the
manual-entry if it exists and then, if not, call up
devhelp-word-at-point? The glib devhelp is a bit of a mess and not a
patch on the man pages. Unfortunately the docs for stuff like GTK+ do
not exist as manpages so one use use devhelp (the GTK+ docs in devhelp
are in a nice state however).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]