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

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

Re: 'Info' var failure


From: Jesper Harder
Subject: Re: 'Info' var failure
Date: Wed, 19 May 2004 03:11:34 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Mike Ballard <dont_w@nt_spam.org> writes:

> Sometimes (often?) C-h C-i, when mark/point are on a valid var, Info
> will search and open the appropriate section.  But I just tried that
> with "gnus-summary-mode-line-format" while gnus was running and it
> failed to return anything.  Running "s" in Gnu's Info section takes
> me right to the var.  

"i" is more similar to C-h C-i.

> Is there a way to get Info/Emacs to call up that Info page without
> having entered Info first (for gnus)?

Adding the Gnus index node should work, something like this:

(info-lookup-add-help
 :mode 'emacs-lisp-mode
 :regexp "[^][()'\" \t\n]+"
 :doc-spec '(("(emacs)Command Index"  nil "`\\(M-x[ \t\n]+\\)?" "'")
             ("(emacs)Variable Index" nil "`" "'")
             ("(elisp)Index"          nil "^ - .*: " "\\( \\|$\\)")
             ("(gnus)Index" nil "`" "'")))

You need to do `M-x info-lookup-reset' before it takes effect.

-- 
Jesper Harder                                <http://purl.org/harder/>


reply via email to

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