GNU bug report logs -
#26635
25.1; elisp docs bug
Previous Next
Reported by: "zhangjg" <jinguozhang <at> qq.com>
Date: Mon, 24 Apr 2017 03:37:01 UTC
Severity: minor
Found in version 25.1
Done: Andreas Schwab <schwab <at> linux-m68k.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 26635 in the body.
You can then email your comments to 26635 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#26635
; Package
emacs
.
(Mon, 24 Apr 2017 03:37:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"zhangjg" <jinguozhang <at> qq.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 24 Apr 2017 03:37:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
The elisp docs in the session "12.1 What Is a Function?" distinction the funtion and the function-like object.
But in some pages, some function-like object is give as a function.
For example:
In session "3.4 Comparison of Numbers", "=" is a set to a "function" but, in fact it a "special forms".
In the same resason, I think, "<", "<=", ">", ">=" also should be "special forms".
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#26635
; Package
emacs
.
(Mon, 24 Apr 2017 10:00:03 GMT)
Full text and
rfc822 format available.
Message #8 received at 26635 <at> debbugs.gnu.org (full text, mbox):
On Apr 24 2017, "zhangjg" <jinguozhang <at> qq.com> wrote:
> In session "3.4 Comparison of Numbers", "=" is a set to a "function" but, in fact it a "special forms".
Why do you think `=' is a special form?
Andreas.
--
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#26635
; Package
emacs
.
(Mon, 24 Apr 2017 10:32:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 26635 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Like the fellow code:
(= 1 1 t) ; error
(= 1 2 t) ; nil
t is a symbol, (= 1 1 t) signal a error, that is what we expect.
But in the second form there is no error, because "=" get the
result before to eval the third argument "t".
So "=" not to eval all arguments, that is a "sepecial form" activation.
------------------ 原始邮件 ------------------
发件人: "Andreas Schwab";<schwab <at> linux-m68k.org>;
发送时间: 2017年4月24日(星期一) 下午5:59
收件人: "zhangjg"<jinguozhang <at> qq.com>;
抄送: "26635"<26635 <at> debbugs.gnu.org>;
主题: Re: bug#26635: 25.1; elisp docs bug
On Apr 24 2017, "zhangjg" <jinguozhang <at> qq.com> wrote:
> In session "3.4 Comparison of Numbers", "=" is a set to a "function" but, in fact it a "special forms".
Why do you think `=' is a special form?
Andreas.
--
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
[Message part 2 (text/html, inline)]
Reply sent
to
Andreas Schwab <schwab <at> linux-m68k.org>
:
You have taken responsibility.
(Mon, 24 Apr 2017 10:51:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
"zhangjg" <jinguozhang <at> qq.com>
:
bug acknowledged by developer.
(Mon, 24 Apr 2017 10:51:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 26635-done <at> debbugs.gnu.org (full text, mbox):
On Apr 24 2017, "zhangjg" <jinguozhang <at> qq.com> wrote:
> Like the fellow code:
>
> (= 1 1 t) ; error
> (= 1 2 t) ; nil
>
> t is a symbol, (= 1 1 t) signal a error, that is what we expect.
> But in the second form there is no error, because "=" get the
> result before to eval the third argument "t".
All arguments are evaluated, by the caller. Try (= 1 2 (foo)), for
example.
> So "=" not to eval all arguments, that is a "sepecial form" activation.
It may _ignore_ some of its arguments, but that's not what `special
form' is about. Any function is free to ignore arguments.
Andreas.
--
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 22 May 2017 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 29 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.