From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hadron Quark Newsgroups: gmane.emacs.help Subject: Re: Why I can't use `info' in emacs? Date: Fri, 15 Dec 2006 14:49:26 +0100 Message-ID: References: <458268D7.6020203@163.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1166193639 7629 80.91.229.10 (15 Dec 2006 14:40:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Dec 2006 14:40:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 15 15:40:38 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GvEEd-0002gV-TJ for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Dec 2006 15:40:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GvEEd-0006Hg-EV for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Dec 2006 09:40:27 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 42 Original-X-Trace: individual.net grtc635F0iR4Mr6d6/4SsgaluXnl3r7m6N9k9uog5pzmXZXmbN X-Orig-Path: news.individual.net!news X-Face: 2h#||Cd#d%F*NCm59[_6/{1a@jy%; |j>{D~4^gKg(^i%7j0IK?+,/GmW&:CD5fEKb_! User-Agent: Gnus Cancel-Lock: sha1:jDTr7FzegSTEUFEfWggQ3rBmf/Y= Original-Xref: shelby.stanford.edu gnu.emacs.help:143957 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:39565 Archived-At: Eli Zaretskii writes: >> Date: Fri, 15 Dec 2006 17:20:23 +0800 >> From: Ronald >> CC: help-gnu-emacs@gnu.org >> > >> 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 () (interactive) (manual-entry (current-word)) ) assigned to a key in cc-mode --