GNU bug report logs - #25110
defun nil should err

Previous Next

Package: emacs;

Reported by: "Devon Sean McCullough" <Emacs-Hacker2016 <at> jovi.net>

Date: Sun, 4 Dec 2016 18:41:02 UTC

Severity: minor

Found in version 26.0.50

Fixed in version 26.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#25110: closed (defun nil should err)
Date: Mon, 12 Dec 2016 20:25:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 12 Dec 2016 15:24:16 -0500
with message-id <iatwa8x5e7.fsf <at> fencepost.gnu.org>
and subject line Re: bug#25110: defun nil should err
has caused the debbugs.gnu.org bug report #25110,
regarding defun nil should err
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
25110: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25110
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Devon Sean McCullough" <Emacs-Hacker2016 <at> jovi.net>
To: bug-gnu-emacs <at> gnu.org
Subject: defun nil should err
Date: Sun, 4 Dec 2016 12:39:51 -0600
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



[Message part 3 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 25110-done <at> debbugs.gnu.org
Subject: Re: bug#25110: defun nil should err
Date: Mon, 12 Dec 2016 15:24:16 -0500
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.


This bug report was last modified 8 years and 223 days ago.

Previous Next


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