From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: info reference syntax Date: Mon, 12 Jan 2009 11:00:57 -0600 Message-ID: References: <20090109192209.GQ10452@stats.ox.ac.uk> 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 1231782143 2425 80.91.229.12 (12 Jan 2009 17:42:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Jan 2009 17:42:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 12 18: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 1LMQok-0007nD-PI for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Jan 2009 18:43:15 +0100 Original-Received: from localhost ([127.0.0.1]:33776 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LMQnU-0003ql-Ho for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Jan 2009 12:41:56 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.sysmatrix.net!news.sysmatrix.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Mon, 12 Jan 2009 11:01:00 -0600 User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) Original-Newsgroups: gnu.emacs.help In-Reply-To: Original-Lines: 44 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 65.45.140.56 Original-X-Trace: sv3-kJjHjqUIJliLlKQ7VteluEbDNFP7YKDHpR5h6SJlCnR6OlMzZDoc/LPYTqV2isbYS+8L4xwrIDZlemZ!/s5jY44ROeKqLudDofuxswilpMbbIKdyLfRzBK0bwETDtGYPtQzaS0ppiGAdrcl/nKpptQGRRRXQ!7+feUpA8VrrAMQUS8JeAaM3z8S5DNg== Original-X-Complaints-To: abuse@sysmatrix.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Original-Xref: news.stanford.edu gnu.emacs.help:165938 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:61270 Archived-At: Dan Davison wrote: > On Fri, Jan 09, 2009 at 08:27:40PM +0100, Lennart Borgman wrote: >> On Fri, Jan 9, 2009 at 8:22 PM, Dan Davison wrote: >>> What does this syntax mean? >>> >>> ,---- >>> | See Info node `(viper)Top'. >>> `---- >>> >>> Is there some way of using it to immediately access the info node >>> referred to? >> M-: (info "(viper) Top") > > Great, thanks. That is useful to know. > > "(viper) Top" still seems like a pretty weird syntax. Just out of > curiosity, is there some explanation? I see that the shell version is > 'info filename nodename'. And according to wikipedia info was written > for GNU/linux. So it's a post-linux emacs design? Wouldn't > > (info filename &optional nodename) > > have been more natural? > > Dan This is essentially what it is. Try C-h f info and you read: " info is an interactive compiled Lisp function in `info.el'. It is bound to C-h i, i, i. (info &optional FILE-OR-NODE BUFFER) Enter Info, the documentation browser. Optional argument FILE-OR-NODE specifies the file to examine; the default is the top-level directory of Info. Called from a program, FILE-OR-NODE may specify an Info node of the form `(FILENAME)NODENAME'. Optional argument BUFFER specifies the Info buffer name; the default buffer name is *info*. If BUFFER exists, just switch to BUFFER. Otherwise, create a new buffer with the top-level Info directory. "