* bug#25110: defun nil should err
@ 2016-12-04 18:39 Devon Sean McCullough
2016-12-11 2:59 ` Glenn Morris
2016-12-11 16:52 ` Stefan Monnier
0 siblings, 2 replies; 5+ messages in thread
From: Devon Sean McCullough @ 2016-12-04 18:39 UTC (permalink / raw)
To: 25110
Not critical but a definite bug:
(defun nil () (error "Nil")) => nil
(symbol-function nil) => (lambda nil (error "Nil"))
(nil) ?? (void-function nil)
(funcall nil) ?? (void-function nil)
(setf (symbol-function nil) '+)
(symbol-function nil) => +
(nil 1 2) ?? (void-function nil)
(funcall nil 1 2) ?? (void-function nil)
Peace
Devon
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#25110: defun nil should err
2016-12-04 18:39 bug#25110: defun nil should err Devon Sean McCullough
@ 2016-12-11 2:59 ` Glenn Morris
2016-12-11 3:23 ` Glenn Morris
2016-12-11 16:52 ` Stefan Monnier
1 sibling, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2016-12-11 2:59 UTC (permalink / raw)
To: 25110-done
Version: 26.1
Thanks; done in ba8e883.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#25110: defun nil should err
2016-12-11 2:59 ` Glenn Morris
@ 2016-12-11 3:23 ` Glenn Morris
2016-12-12 20:24 ` Glenn Morris
0 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2016-12-11 3:23 UTC (permalink / raw)
To: 25110; +Cc: Emacs-Hacker2016
Glenn Morris wrote:
> Thanks; done in ba8e883.
Hmph. I thought this worked the first time I tried it, but now it seems
to cause build errors, so I've taken part of it out again (3fd4433),
pending further investigation.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#25110: defun nil should err
2016-12-04 18:39 bug#25110: defun nil should err Devon Sean McCullough
2016-12-11 2:59 ` Glenn Morris
@ 2016-12-11 16:52 ` Stefan Monnier
1 sibling, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2016-12-11 16:52 UTC (permalink / raw)
To: Devon Sean McCullough; +Cc: 25110
> (defun nil () (error "Nil")) => nil
How/when did you bump into this?
Stefan "who decided it wasn't worth paying attention to that case
when he made `nil` to mean unbound for `symbol-function`"
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#25110: defun nil should err
2016-12-11 3:23 ` Glenn Morris
@ 2016-12-12 20:24 ` Glenn Morris
0 siblings, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2016-12-12 20:24 UTC (permalink / raw)
To: 25110-done
Version: 26.1
Glenn Morris wrote:
>> Thanks; done in ba8e883.
>
> Hmph. I thought this worked the first time I tried it, but now it seems
> to cause build errors, so I've taken part of it out again (3fd4433),
> pending further investigation.
I figure out what was causing this problem in 61f8c23,
and re-applied the fset change in ffb1302.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-12-12 20:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-04 18:39 bug#25110: defun nil should err Devon Sean McCullough
2016-12-11 2:59 ` Glenn Morris
2016-12-11 3:23 ` Glenn Morris
2016-12-12 20:24 ` Glenn Morris
2016-12-11 16:52 ` Stefan Monnier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).