all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: info reference syntax
Date: Mon, 12 Jan 2009 11:00:57 -0600	[thread overview]
Message-ID: <xeadnQhjbrvQ6vbUnZ2dnUVZ_gOdnZ2d@sysmatrix.net> (raw)
In-Reply-To: <mailman.4438.1231535588.26697.help-gnu-emacs@gnu.org>

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 <davison@stats.ox.ac.uk> 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, <f1> i, <help> 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.
"


  parent reply	other threads:[~2009-01-12 17:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-09 19:22 info reference syntax Dan Davison
2009-01-09 19:27 ` Lennart Borgman
2009-01-09 21:12   ` Dan Davison
     [not found]   ` <mailman.4438.1231535588.26697.help-gnu-emacs@gnu.org>
2009-01-12 13:56     ` Xah Lee
2009-01-12 19:03       ` Eli Zaretskii
2009-01-12 17:00     ` B. T. Raven [this message]
     [not found] <mailman.4426.1231528955.26697.help-gnu-emacs@gnu.org>
2009-01-12 16:51 ` B. T. Raven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xeadnQhjbrvQ6vbUnZ2dnUVZ_gOdnZ2d@sysmatrix.net \
    --to=nihil@nihilo.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.