unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jesper Harder <harder@myrealbox.com>
Subject: Re: 'Info' var failure
Date: Wed, 19 May 2004 03:11:34 +0200	[thread overview]
Message-ID: <m3ekphnruh.fsf@defun.localdomain> (raw)
In-Reply-To: m2wu39gxhk.fsf@west_f1.net

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	other threads:[~2004-05-19  1:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-18 21:51 'Info' var failure Mike Ballard
2004-05-19  1:11 ` Jesper Harder [this message]
2004-05-19 12:42   ` Harry Putnam
     [not found]   ` <mailman.6322.1084997045.1061.help-gnu-emacs@gnu.org>
2004-05-19 23:22     ` Jesper Harder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3ekphnruh.fsf@defun.localdomain \
    --to=harder@myrealbox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).