bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23528: 25.0.93; Errors are ignored if I load eieio and evaluate the


From: Sho Takemori
Subject: bug#23528: 25.0.93; Errors are ignored if I load eieio and evaluate the byte-compiled form
Date: Sun, 15 May 2016 15:37:34 +0900

Thanks for the comment. I didn't know about `byte-compile-delete-errors'.
Btw, why is your comment not displayed at https://debbugs.gnu.org/cgi/bugreport.cgi?bug=23528?

Sho Takemori

2016-05-14 0:31 GMT+09:00 Michael Heerdegen <address@hidden>:
Sho Takemori <address@hidden> writes:

> eieio-core.el
> (progn
> (require 'cl-lib)
> ;; Arrange for field access not to bother checking if the access is indeed
> ;; made to an eieio--class object.
> (cl-declaim (optimize (safety 0)))
> [...]

> ;; Set it back to the default value.
> (cl-declaim (optimize (safety 1))))

Thanks for investigating.

Looks like loading "eieio-core" can permanently change the value of
`byte-compile-delete-errors'.

And at least, the last declaim form should be

    (cl-declaim (optimize (safety 3)))
                                  ^
to have the desired effect of setting `byte-compile-delete-errors' to
nil.

Can someone with knowledge of eieio please care about this?


Thanks,

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]