unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* 'Info' var failure
@ 2004-05-18 21:51 Mike Ballard
  2004-05-19  1:11 ` Jesper Harder
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Ballard @ 2004-05-18 21:51 UTC (permalink / raw)



Hi - 

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.  Is there a way to get Info/Emacs to call up that Info page without
having entered Info first (for gnus)?

Mike
-- 

mikeballard at verizon dot net

  "If your main parachute fouls, deploy your reserve.  If your reserve is 
   also fouled, you have the rest of your life to get it straightened out."

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 'Info' var failure
  2004-05-18 21:51 'Info' var failure Mike Ballard
@ 2004-05-19  1:11 ` Jesper Harder
  2004-05-19 12:42   ` Harry Putnam
       [not found]   ` <mailman.6322.1084997045.1061.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Jesper Harder @ 2004-05-19  1:11 UTC (permalink / raw)


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/>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 'Info' var failure
  2004-05-19  1:11 ` Jesper Harder
@ 2004-05-19 12:42   ` Harry Putnam
       [not found]   ` <mailman.6322.1084997045.1061.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Harry Putnam @ 2004-05-19 12:42 UTC (permalink / raw)


Jesper Harder <harder@myrealbox.com> writes:

> (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.

=> Symbol's function definition is void: info-lookup-add-help

Is something missing here I'm supposed to add?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 'Info' var failure
       [not found]   ` <mailman.6322.1084997045.1061.help-gnu-emacs@gnu.org>
@ 2004-05-19 23:22     ` Jesper Harder
  0 siblings, 0 replies; 4+ messages in thread
From: Jesper Harder @ 2004-05-19 23:22 UTC (permalink / raw)


Harry Putnam <reader@newsguy.com> writes:

> Jesper Harder <harder@myrealbox.com> writes:
>
>> (info-lookup-add-help
>
> => Symbol's function definition is void: info-lookup-add-help
>
> Is something missing here I'm supposed to add?

(require 'info-look)

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-05-19 23:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-18 21:51 'Info' var failure Mike Ballard
2004-05-19  1:11 ` Jesper Harder
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

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).