[Top][All Lists]

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

Re: Why I can't use `info' in emacs?

From: Hadron Quark
Subject: Re: Why I can't use `info' in emacs?
Date: Fri, 15 Dec 2006 14:49:26 +0100
User-agent: Gnus

Eli Zaretskii <address@hidden> writes:

>> Date: Fri, 15 Dec 2006 17:20:23 +0800
>> From: Ronald <address@hidden>
>> CC:  address@hidden
>> > 
>> I'd like to see the info page for the word where the point is.
>> When I type ``C-h C-i" it says there is no info node for that word.
>> But in bash there is.
> What version of Emacs do you have?  I assume it's Emacs 21.x, because
> in that version `C-h C-i' was running the command info-lookup-symbol,
> and it was buggy.  In Emacs 22, info-lookup-symbol is bound to `C-h S', 
> and it does work for me in the situation you described (point is on
> printf).  Please consider upgrading.
>> >> ``man 3 printf" ,  how to do it with info?
>> > 
>> > There are several ways.  If you are sure you are looking for the C
>> > library function `printf', type "C-h S c-mode RET printf RET".
>> I think the key sequence is too long for convenience.
> Don't be ridiculous, it's exactly 3 characters longer than "man 3
> printf".  And if you are already in a buffer whose major mode is C,
> and point is on `printf', all you need to type is "C-h S RET", which
> is only 3 keystrokes.

How is one supposed to set this up?

On my emacs-snapshot printf is not a documented symbol. I have

(defun jump-man-page ()
  (manual-entry (current-word))

assigned to a key in cc-mode


reply via email to

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