Gnus development mailing list
 help / color / mirror / Atom feed
From: Jesper Harder <harder@myrealbox.com>
Subject: Re: [Eric Knauel] spam.el and spamoracle
Date: Tue, 10 Jun 2003 01:08:07 +0200	[thread overview]
Message-ID: <m33ciiu9wo.fsf@defun.localdomain> (raw)
In-Reply-To: <4nwufv0y8c.fsf@lockgroove.bwh.harvard.edu>

Ted Zlatanov <tzz@lifelogs.com> writes:

> By the way (for Gnus Texinfo users), should we use @var in Texinfo?

Yes.

> It's in use here and there, but @code seems much more prevalent.

Yeah, but @code and @var isn't used for the same thing.  @var does not
mean variable -- i.e. a Lisp symbol that's used as a variable.  @var
is only used for metasyntactic variables.  From the Texinfo manual:

,----
|   Use the `@var' command to indicate metasyntactic variables.  A
| "metasyntactic variable" is something that stands for another piece of
| text.  For example, you should use a metasyntactic variable in the
| documentation of a function to describe the arguments that are passed
| to that function.
| 
|   Do not use `@var' for the names of particular variables in
| programming languages.  These are specific names from a program, so
| `@code' is correct for them (see *note code::).  For example, the
| Emacs Lisp variable `texinfo-tex-command' is not a metasyntactic
| variable; it is properly formatted using `@code'.
| 
|   Do not use `@var' for environment variables either; `@env' is correct
| for them (see the next section).
| 
|   The effect of `@var' in the Info file is to change the case of the
| argument to all upper case.  In the printed manual and HTML output, the
| argument is printed in slanted type.
| 
|   For example,
| 
|      To delete file @var{filename},
|      type @samp{rm @var{filename}}.
| 
| produces
| 
|      To delete file FILENAME, type `rm FILENAME'.
`----




      reply	other threads:[~2003-06-09 23:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-06 15:57 Lars Magne Ingebrigtsen
2003-05-08 13:44 ` Ted Zlatanov
2003-05-13 17:50   ` Lars Magne Ingebrigtsen
2003-05-13 20:08   ` Eric Knauel
2003-05-13 22:44     ` Lars Magne Ingebrigtsen
2003-05-20 17:41     ` Ted Zlatanov
2003-06-05  9:32       ` Eric Knauel
2003-06-09 20:53         ` Ted Zlatanov
2003-06-09 23:08           ` Jesper Harder [this message]

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=m33ciiu9wo.fsf@defun.localdomain \
    --to=harder@myrealbox.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).