From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Why I can't use `info' in emacs? Date: Fri, 15 Dec 2006 13:17:26 +0200 Message-ID: References: <458268D7.6020203@163.com> NNTP-Posting-Host: dough.gmane.org X-Trace: sea.gmane.org 1166181470 29086 80.91.229.10 (15 Dec 2006 11:17:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Dec 2006 11:17:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 15 12:17:50 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 1GvB4P-0001cv-JF for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Dec 2006 12:17:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GvB4O-0000Ud-Ho for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Dec 2006 06:17:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GvB4A-0000UY-5o for help-gnu-emacs@gnu.org; Fri, 15 Dec 2006 06:17:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GvB49-0000UM-M5 for help-gnu-emacs@gnu.org; Fri, 15 Dec 2006 06:17:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GvB49-0000UH-JP for help-gnu-emacs@gnu.org; Fri, 15 Dec 2006 06:17:25 -0500 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GvB48-0001Sc-HC for help-gnu-emacs@gnu.org; Fri, 15 Dec 2006 06:17:25 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-202-146.inter.net.il [84.228.202.146]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id GNW30287 (AUTH halo1); Fri, 15 Dec 2006 13:17:22 +0200 (IST) Original-To: help-gnu-emacs@gnu.org In-reply-to: <458268D7.6020203@163.com> (message from Ronald on Fri, 15 Dec 2006 17:20:23 +0800) 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:39554 Archived-At: > 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.