From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.help Subject: Re: Open a info file manually Date: Wed, 11 Nov 2009 16:26:43 +0100 Message-ID: <20091111152643.GA31203@tomas> References: <4AF7CD4D.1040102@163.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1257954222 32004 80.91.229.12 (11 Nov 2009 15:43:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Nov 2009 15:43:42 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: ibear Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 11 16:43:35 2009 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 1N8FLz-0006uV-I9 for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Nov 2009 16:43:27 +0100 Original-Received: from localhost ([127.0.0.1]:34142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8FLy-0001Jp-TZ for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Nov 2009 10:43:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8FIB-00041k-BE for help-gnu-emacs@gnu.org; Wed, 11 Nov 2009 10:39:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8FI4-0003wL-IV for help-gnu-emacs@gnu.org; Wed, 11 Nov 2009 10:39:29 -0500 Original-Received: from [199.232.76.173] (port=39909 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8FI4-0003vi-3r for help-gnu-emacs@gnu.org; Wed, 11 Nov 2009 10:39:24 -0500 Original-Received: from alextrapp1.equinoxe.de ([217.22.192.104]:41946 helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N8FDb-0006Qs-5H for help-gnu-emacs@gnu.org; Wed, 11 Nov 2009 10:34:47 -0500 Original-Received: by www.elogos.de (Postfix, from userid 1000) id A6DC490048; Wed, 11 Nov 2009 16:26:43 +0100 (CET) Content-Disposition: inline In-Reply-To: <4AF7CD4D.1040102@163.com> User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:69666 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Nov 09, 2009 at 04:05:33PM +0800, ibear wrote: > I use Emacs 23.1 >=20 > I want to open a info file somewhere, and Google result is I can use th= e > bind key "c-u c-h i" >=20 > But I also will know whether there is a function do the same work? Hm. I don't quite understand what you want to do. Are you looking for a Lisp function to load an info file? Are you trying to load an info file given its path (as opposed to given an index entry)? In the first case, try (info "your/info/file/goes/here"). For example, on my (fairly standard Gnu/Linux) box, this works: (info "/usr/share/info/coreutils.info.gz") But I don't know whether this is what you are looking for... Regards - -- tom=C3=A1s -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFK+tezBcgs9XrR2kYRAnUwAJ9XTsp4NoyupSzsWNRFQdDKcciFQgCeMQ9W MkUTv13t0wcTWChm3WWNcUk=3D =3D9kve -----END PGP SIGNATURE-----