GNU bug report logs - #6591
24.0.50; incorrect doc for `catch'

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Fri, 9 Jul 2010 15:53:01 UTC

Severity: minor

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #101 received at 6591 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Andreas Schwab'" <schwab <at> linux-m68k.org>
Cc: 'Chong Yidong' <cyd <at> stupidchicken.com>, 6591 <at> debbugs.gnu.org,
	'Eli Zaretskii' <eliz <at> gnu.org>, 'Richard Stallman' <rms <at> gnu.org>
Subject: RE: bug#6591: 24.0.50; incorrect doc for `catch'
Date: Sun, 11 Jul 2010 14:44:33 -0700
> > which `...' means repetition of what it follows.
> 
> Which fits perfectly.

Repetition of what it follows.
           ^^^^^^^^^^^^^^^^^^

What does `...' follow?  BODY.
Is BODY repeated?        No.

For Emacs, `...' does not mean repetition of what it follows (per what Eli has
said).  Instead, it means that what it follows is a &rest parameter.

For Emacs, (X BODY...) means the same as (X &rest BODY) and (X . BODY).

Which, as I said, is a legitimate, if unwise and unusual, choice.
It just needs to be spelled out in the doc.

Read the thread.  I'm not going to repeat everything that has been said.





This bug report was last modified 14 years and 159 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.