GNU bug report logs - #4707
23.1; Elisp manual: index constant variables for defconst

Previous Next

Package: emacs;

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

Date: Mon, 12 Oct 2009 17:55:07 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4707 in the body.
You can then email your comments to 4707 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4707; Package emacs. (Mon, 12 Oct 2009 17:55:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 12 Oct 2009 17:55:08 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 23.1; Elisp manual: index constant variables for defconst
Date: Mon, 12 Oct 2009 10:48:52 -0700
emacs -Q
 
In the Elisp manual, `constant' is indexed for variables only for node
`Constant Variables', which is really about keywords, nil, and t.
 
I find no index entry for defconst in this regard, yet it is the way
you define constant variables.
 
Also, the node Constant Variables should mention defconst variables,
and point out how they differ from the other constant variables, which
are currently described in the node: Trying to set a defconst variable
does not raise a `setting-constant' error. Trying to set a keyword, t,
or nil does raise that error.
 
IOW, there are really two different kinds of variables that we often
call "constants" in Emacs Lisp. Some of them are truly constants
(raise an error if you try to set them), some of them are only
intended to be used as constants, with no check wrt setting them.
 
This needs to be better documented and better indexed.
 
 
 
In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
 of 2009-07-29 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'
 





Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. (Fri, 16 Oct 2009 02:30:12 GMT) Full text and rfc822 format available.

Notification sent to "Drew Adams" <drew.adams <at> oracle.com>:
bug acknowledged by developer. (Fri, 16 Oct 2009 02:30:12 GMT) Full text and rfc822 format available.

Message #10 received at 4707-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 4707-done <at> debbugs.gnu.org
Subject: Re: 23.1; Elisp manual: index constant variables for defconst
Date: Thu, 15 Oct 2009 22:22:18 -0400
> In the Elisp manual, `constant' is indexed for variables only for node
> `Constant Variables', which is really about keywords, nil, and t.

> I find no index entry for defconst in this regard, yet it is the way
> you define constant variables.

> Also, the node Constant Variables should mention defconst variables,
> and point out how they differ from the other constant variables

Fixed, thanks.



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Fri, 13 Nov 2009 15:24:24 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 277 days ago.

Previous Next


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