[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48479: 28.0.50; Crash on `read--expression'
From: |
Lars Ingebrigtsen |
Subject: |
bug#48479: 28.0.50; Crash on `read--expression' |
Date: |
Wed, 19 May 2021 20:58:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Mattias Engdegård <mattiase@acm.org> writes:
> 19 maj 2021 kl. 16.53 skrev Lars Ingebrigtsen <larsi@gnus.org>:
>
>> I thought we did warn about this, but some testing now seems to indicate
>> that we don't?
>
> (condition-case nil t nil)
>
> definitely elicits a warning by the byte-compiler (not about the
> syntax per se but about `nil` not being a condition). Or were you
> thinking about something else?
I was thinking of the
(condition-case nil
(foo)
(error))
case... (I.e., with a missing handler body.) I'm not sure whether
that's supposed to or not. A handler is defined as
(CONDITIONS BODY...)
but a BODY in many other circumstances are allowed to be missing.
Also note that
(condition-case nil
(foo))
doesn't give a warning.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#48479: 28.0.50; Crash on `read--expression', (continued)
- bug#48479: 28.0.50; Crash on `read--expression', Mattias Engdegård, 2021/05/18
- bug#48479: 28.0.50; Crash on `read--expression', Eli Zaretskii, 2021/05/18
- bug#48479: 28.0.50; Crash on `read--expression', Mattias Engdegård, 2021/05/18
- bug#48479: 28.0.50; Crash on `read--expression', Eli Zaretskii, 2021/05/18
- bug#48479: 28.0.50; Crash on `read--expression', Stefan Monnier, 2021/05/18
- bug#48479: 28.0.50; Crash on `read--expression', Andreas Schwab, 2021/05/18
- bug#48479: 28.0.50; Crash on `read--expression', Mattias Engdegård, 2021/05/19
- bug#48479: 28.0.50; Crash on `read--expression', Lars Ingebrigtsen, 2021/05/19
- bug#48479: 28.0.50; Crash on `read--expression', Eli Zaretskii, 2021/05/19
- bug#48479: 28.0.50; Crash on `read--expression', Mattias Engdegård, 2021/05/19
- bug#48479: 28.0.50; Crash on `read--expression',
Lars Ingebrigtsen <=
- bug#48479: 28.0.50; Crash on `read--expression', Mattias Engdegård, 2021/05/19
- bug#48479: 28.0.50; Crash on `read--expression', Lars Ingebrigtsen, 2021/05/25
- bug#48479: 28.0.50; Crash on `read--expression', Mattias Engdegård, 2021/05/25