From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.help Subject: Re: How to open a particular info page by command name Date: Tue, 04 Dec 2007 01:08:01 +0100 Message-ID: <47549A61.7090208@gmail.com> References: <465678.94409.qm@web25403.mail.ukl.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1196726927 14978 80.91.229.12 (4 Dec 2007 00:08:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Dec 2007 00:08:47 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: rdiezmail-emacs@yahoo.de Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 04 01:08:47 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IzLLA-00040e-6n for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Dec 2007 01:08:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzLKt-0006Ls-Nj for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Dec 2007 19:08:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IzLKd-0006Kg-Af for help-gnu-emacs@gnu.org; Mon, 03 Dec 2007 19:08:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IzLKc-0006K4-P8 for help-gnu-emacs@gnu.org; Mon, 03 Dec 2007 19:08:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzLKc-0006Jy-7W for help-gnu-emacs@gnu.org; Mon, 03 Dec 2007 19:08:10 -0500 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IzLKb-0005fa-Pq for help-gnu-emacs@gnu.org; Mon, 03 Dec 2007 19:08:10 -0500 Original-Received: from c83-254-148-228.bredband.comhem.se ([83.254.148.228]:62337 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1IzLKZ-00074V-4P; Tue, 04 Dec 2007 01:08:08 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <465678.94409.qm@web25403.mail.ukl.yahoo.com> X-Antivirus: avast! (VPS 071203-0, 2007-12-03), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.148.228 X-Scan-Result: No virus found in message 1IzLKZ-00074V-4P. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1IzLKZ-00074V-4P 1067d021e97bfba964c17e0360dccdc6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:49804 Archived-At: rdiezmail-emacs@yahoo.de wrote: > Hi all: > > In the command-line (outside emacs) I can do "man xxx" to get help > about a Unix command, and "info xxx" to get help in the form of info > pages. > > I easily found how to do "man xxx" within emacs and comfortably browse > the help pages, I'm using the "woman" module at the moment (it comes > with emacs). I even wrote a small shell script to turn emacs into a > handy man page viewer: > > emacs --no-splash --eval "(progn (setq woman-use-own-frame nil) (woman > \"$1\"))" & > > Unfortunately, I couldn't find how to do the same with the info pages. > > Don't get me wrong: I don't want to manually open the root info page > and click around; I want to type the name of a command (say gcc) and > get the same page I would get if I typed "info gcc" in the console, but > inside the built-in emacs info page viewer. > > I've searched with Google and browsed the Lisp code of the info module > to no avail. Can someone help me? If you can figure out how to do the quoting (I can't) then it is no problem. What you want to call is someting like (info "(elisp) That Page")