From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ronald Newsgroups: gmane.emacs.help Subject: Re: Why I can't use `info' in emacs? Date: Fri, 15 Dec 2006 17:20:58 +0800 Organization: Bentium Ltd. (CN99) Message-ID: <458268FA.3020501@163.com> References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1166175892 10344 80.91.229.10 (15 Dec 2006 09:44:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Dec 2006 09:44:52 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 15 10:44:45 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 1Gv9cP-0007Cy-Qn for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Dec 2006 10:44:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gv9cO-0001fr-QG for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Dec 2006 04:44:41 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!news.cn99.com!news.yaako.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: 222.125.193.25 Original-X-Trace: news.yaako.com 1166174458 18660 222.125.193.25 (15 Dec 2006 09:20:58 GMT) Original-X-Complaints-To: usenet@news.yaako.com Original-NNTP-Posting-Date: Fri, 15 Dec 2006 09:20:58 +0000 (UTC) User-Agent: Thunderbird 1.5.0.8 (X11/20061117) In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:143949 X-Originally-To: Eli Zaretskii 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:39553 Archived-At: Eli Zaretskii wrote: >> From: Ronald >> Date: Fri, 15 Dec 2006 07:59:03 +0800 >> >> It works in bash. >> But in emacs, either I use`M-x info' or `C-h C-i', >> it can't display the info page. > > First, I assume you meant "C-h i", not "C-h C-i". > > Second, what does ``can't display the info page'' mean, exactly? What > happens after "C-h i"? > 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. I was told to add the path to Info-default-directory-list, but I don't know where it is. ``C-h i" works fine. What I need is very simple, open the info page for the word where the point is. >> ``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". > > If you are not sure what `printf' you are looking for, try "M-x > info-apropos RET". > > (The above might not work if you are not running Emacs 22.) > I think the key sequence is too long for convenience.