GNU bug report logs -
#13292
24.3.50; wrong sytax description in (elisp) Case Tables
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Fri, 28 Dec 2012 15:29:01 UTC
Severity: normal
Found in version 24.3.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Wolfgang Jenkner <wjenkner <at> inode.at>
> Cc: eliz <at> gnu.org, drew.adams <at> oracle.com
> Date: Sat, 29 Dec 2012 01:21:05 +0100
>
> On Fri, Dec 28 2012, Eli Zaretskii wrote:
>
> >> From: "Drew Adams" <drew.adams <at> oracle.com>
> [...]
> >> In that case, there are bugs in the other direction, in other nodes of the
> >> manual - nodes that use uppercase for parameters.
> >>
> >> For example:
> >>
> >> `A Sample Function Description' - `count-loop'
> >> `Syntax Table Functions' - `with-syntax-table'
> >> `Using Lexical Binding' - `special-variable-p'
> >> `Syntax Table Internals' - `string-to-syntax'
> >> `Declare Form' - `declare'
> >>
> >> Note that `A Sample Function Description' is the very place where we explain the
> >> syntax convention and give an example of it. Not a good place to set a bad
> >> example.
> >
> > It's not bad. This is done on purpose, see the Texinfo sources, which
> > use @var in this case.
>
> But other "imaginary" example definitions in intro.texi don't use @var.
> Nor does any "real" @defspec in doc/lispref use that.
The Texinfo manual is ambiguous wrt this issue. It allows using @var
in some cases. The result in print is a slightly different typeface;
in contrast, the result in the Info output is VERY different.
However, since the references to the arguments in the text _always_
use @var, so are rendered in CAPS in Info, I consider this bug report
a rather petty and even an overly-pedantic one.
> Also, in contrast to the makeinfo program, texinfo-format-region would
> produce
>
> -- Special form: count-loop (VAR [FROM TO [INC]]) BODY...
>
> in both cases, with or without @var. Perhaps, that's the reason that
> nobody noticed at the time?
I doubt that, as no one uses texinfo-format-region anymore, since it
doesn't support so many Texinfo features introduced in recent years.
> So is there anything wrong with Drew's revised suggestion (as
> I understand it)?
See above. That said, I don't want to argue anymore, so I installed
your changes on the emacs-24 branch; thanks.
This bug report was last modified 12 years and 149 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.