From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.help Subject: Re: 'Info' var failure Date: Wed, 19 May 2004 03:11:34 +0200 Organization: http://purl.org/harder/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084932640 18208 80.91.224.253 (19 May 2004 02:10:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 May 2004 02:10:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 19 04:10:35 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BQGXT-0003yE-00 for ; Wed, 19 May 2004 04:10:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BQFzb-0007ug-QK for geh-help-gnu-emacs@m.gmane.org; Tue, 18 May 2004 21:35:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:18583 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18583 Mike Ballard 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