GNU bug report logs - #10713
24.0.93; doc of `local-variable-if-set-p'

Previous Next

Package: emacs;

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

Date: Fri, 3 Feb 2012 18:16:02 UTC

Severity: minor

Found in version 24.0.93

Done: Chong Yidong <cyd <at> gnu.org>

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 10713 in the body.
You can then email your comments to 10713 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-gnu-emacs <at> gnu.org:
bug#10713; Package emacs. (Fri, 03 Feb 2012 18:16:02 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 bug-gnu-emacs <at> gnu.org. (Fri, 03 Feb 2012 18:16:02 GMT) Full text and rfc822 format available.

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

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 24.0.93; doc of `local-variable-if-set-p'
Date: Fri, 3 Feb 2012 10:14:00 -0800
1. The doc string says much more about this function than does the Elisp
manual (node Creating Buffer-Local).  The manual should say at least as
much as the doc string says - it is quite incomplete about this
function.
 
2. The doc string refers the reader to the manual (same node) for more
information!  AFAICT, there is not more info about this in that node -
there is less.  If there is more info to be given about this function
than what is in the doc string, please add it to the manual.
 

In GNU Emacs 24.0.93.1 (i386-mingw-nt5.1.2600)
 of 2012-01-29 on MARVIN
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.6) --no-opt --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-3.0.9/include --ldflags
 -LD:/devel/emacs/libs/gnutls-3.0.9/lib'
 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10713; Package emacs. (Fri, 03 Feb 2012 18:29:02 GMT) Full text and rfc822 format available.

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

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <10713 <at> debbugs.gnu.org>
Subject: RE: bug#10713: 24.0.93; doc of `local-variable-if-set-p'
Date: Fri, 3 Feb 2012 10:27:59 -0800
What's more, this sentence in the doc string (perhaps the most important
sentence) seems incorrect.  At a minimum it is not clear (to me at least).

"More precisely, this means that setting the variable (with `set' or`setq'),
while it does not have a `let'-style binding that was made in BUFFER,
will produce a buffer local binding."

First of all, why the qualification "with `set' or `setq'"?  Does it really
matter how the variable is _set_?  If you are trying to distinguish setting from
`let' binding (?) then say so.

More importantly, the phrase "while it does not have a `let'-style binding that
was made in BUFFER" makes no sense (to me at least).

`let' bindings are not made in buffers.  If this explanation is trying to say
something "more precisely" it is doing a poor job of it.

Are you perhaps really trying to say something like the following?

"The local value in BUFFER is set, provided the variable is not currently `let'
bound."

Please clarify this doc.  Try using more than one sentence to get your point
across, for a start.  That will likely help you say what you are really trying
to say (which is not clear to me).





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10713; Package emacs. (Fri, 07 Sep 2012 14:17:01 GMT) Full text and rfc822 format available.

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

From: Chong Yidong <cyd <at> gnu.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 10713 <at> debbugs.gnu.org
Subject: Re: bug#10713: 24.0.93; doc of `local-variable-if-set-p'
Date: Fri, 07 Sep 2012 22:15:44 +0800
"Drew Adams" <drew.adams <at> oracle.com> writes:

> 1. The doc string says much more about this function than does the Elisp
> manual (node Creating Buffer-Local).  The manual should say at least as
> much as the doc string says - it is quite incomplete about this
> function.
>  
> 2. The doc string refers the reader to the manual (same node) for more
> information!  AFAICT, there is not more info about this in that node -
> there is less.  If there is more info to be given about this function
> than what is in the doc string, please add it to the manual.

Fixed in trunk.




bug closed, send any further explanations to 10713 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com> Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 07 Sep 2012 14:17:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 06 Oct 2012 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 227 days ago.

Previous Next


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