GNU bug report logs -
#10346
24.0.92; doc string of `save-buffer'
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Wed, 21 Dec 2011 22:18:01 UTC
Severity: minor
Tags: wontfix
Found in version 24.0.92
Done: Lars Ingebrigtsen <larsi <at> gnus.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 10346 in the body.
You can then email your comments to 10346 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10346
; Package
emacs
.
(Wed, 21 Dec 2011 22:18:01 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
.
(Wed, 21 Dec 2011 22:18:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Please describe the optional argument ARGS (which should be called ARG,
BTW, since it is not &rest and it is not a cons in general).
The doc string talks about the prefix arg, but no connection is made to
ARGS for use in Lisp.
Furthermore, "With a numeric argument of 0" is incorrect and misleads.
For an interactive user, this should be stated in terms of the numeric
value of the prefix argument, not just "a numeric argument".
In general, reread the doc string, and I'm sure you will see that it
could be improved wrt describing the use of a prefix arg and the use of
the argument from Lisp.
In GNU Emacs 24.0.92.1 (i386-mingw-nt5.1.2600) of 2011-12-06 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-2.10.1/include --ldflags
-LD:/devel/emacs/libs/gnutls-2.10.1/lib'
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10346
; Package
emacs
.
(Mon, 17 Sep 2012 00:22:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 10346 <at> debbugs.gnu.org (full text, mbox):
ping
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10346
; Package
emacs
.
(Sun, 09 Feb 2014 05:38:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 10346 <at> debbugs.gnu.org (full text, mbox):
"Drew Adams" <drew.adams <at> oracle.com> writes:
> Please describe the optional argument ARGS (which should be called ARG,
> BTW, since it is not &rest and it is not a cons in general).
Fixed on trunk.
> The doc string talks about the prefix arg, but no connection is made to
> ARGS for use in Lisp.
Yes. But the values for ARG are so... non-Lispey, I have a feeling
that it's been left off by choice. The values are basically 0, 4, 16
and 64, which are ... kinda opaque when calling a function like that.
I don't know. Should these values be documented or not?
> Furthermore, "With a numeric argument of 0" is incorrect and misleads.
> For an interactive user, this should be stated in terms of the numeric
> value of the prefix argument, not just "a numeric argument".
Fixed on trunk.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10346
; Package
emacs
.
(Tue, 11 Feb 2014 15:03:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 10346 <at> debbugs.gnu.org (full text, mbox):
> > The doc string talks about the prefix arg, but no connection is
> > made to ARGS for use in Lisp.
>
> Yes. But the values for ARG are so... non-Lispey, I have a feeling
> that it's been left off by choice. The values are basically 0, 4,
> 16 and 64, which are ... kinda opaque when calling a function like
> that.
>
> I don't know. Should these values be documented or not?
Of course.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10346
; Package
emacs
.
(Thu, 28 Apr 2016 12:00:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 10346 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>> The doc string talks about the prefix arg, but no connection is made to
>> ARGS for use in Lisp.
>
> Yes. But the values for ARG are so... non-Lispey, I have a feeling
> that it's been left off by choice. The values are basically 0, 4, 16
> and 64, which are ... kinda opaque when calling a function like that.
>
> I don't know. Should these values be documented or not?
I think they're left out on purpose. Closing.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) wontfix.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 28 Apr 2016 12:00:03 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
10346 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 28 Apr 2016 12:00:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10346
; Package
emacs
.
(Thu, 28 Apr 2016 14:14:01 GMT)
Full text and
rfc822 format available.
Message #24 received at 10346 <at> debbugs.gnu.org (full text, mbox):
> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>
> >> The doc string talks about the prefix arg, but no connection is made to
> >> ARGS for use in Lisp.
> >
> > Yes. But the values for ARG are so... non-Lispey, I have a feeling
> > that it's been left off by choice. The values are basically 0, 4, 16
> > and 64, which are ... kinda opaque when calling a function like that.
> >
> > I don't know. Should these values be documented or not?
>
> I think they're left out on purpose. Closing.
Do you realize that you answered your own question?
This is a command. Interactively, ARG is the numeric prefix
arg. This should be stated in the doc string: What ARG is for
and how it is used.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 27 May 2016 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 337 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.