[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21701: Fwd: cl-typecase broken (was 25.0.50; ert explainer for equal
From: |
Stefan Monnier |
Subject: |
bug#21701: Fwd: cl-typecase broken (was 25.0.50; ert explainer for equal can't handle negative numbers) |
Date: |
Fri, 04 Dec 2015 13:17:16 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> That's indeed what should be done if ERT needs this to be a plain
> character that can inserted in a string. Common-Lisp's `character'
> includes not just characters but also "characters with modifiers" such
> as ?\M-\H-é, which can't appear in a string and are rejected by
> `characterp'.
I installed a patch which makes ERT use pcase over cl-typecase.
In most cases it doesn't make a big difference, but in a few spots, it
is cleaner because a subsequent cl-destructuring-bind can be merged into
it (and it got rid of those places where we used (member :foo)
as a type to just check equality, which is rather inefficient).
Stefan
- bug#21701: cl-typecase broken (was 25.0.50; ert explainer for equal can't handle negative numbers), Anders Lindgren, 2015/12/04
- Message not available
- bug#21701: Fwd: cl-typecase broken (was 25.0.50; ert explainer for equal can't handle negative numbers), Stefan Monnier, 2015/12/04
- bug#21701: Fwd: cl-typecase broken (was 25.0.50; ert explainer for equal can't handle negative numbers), Anders Lindgren, 2015/12/04
- bug#21701: Fwd: cl-typecase broken (was 25.0.50; ert explainer for equal can't handle negative numbers), Stefan Monnier, 2015/12/04
- bug#21701: Fwd: cl-typecase broken (was 25.0.50; ert explainer for equal can't handle negative numbers),
Stefan Monnier <=
- bug#21701: Fwd: cl-typecase broken (was 25.0.50; ert explainer for equal can't handle negative numbers), Anders Lindgren, 2015/12/04
- bug#21701: Fwd: cl-typecase broken (was 25.0.50; ert explainer for equal can't handle negative numbers), Drew Adams, 2015/12/04
- bug#21701: Fwd: cl-typecase broken (was 25.0.50; ert explainer for equal can't handle negative numbers), Stefan Monnier, 2015/12/04
- bug#21701: Fwd: cl-typecase broken (was 25.0.50; ert explainer for equal can't handle negative numbers), Drew Adams, 2015/12/04
- bug#21701: Fwd: cl-typecase broken (was 25.0.50; ert explainer for equal can't handle negative numbers), Glenn Morris, 2015/12/04
- bug#21701: Fwd: cl-typecase broken (was 25.0.50; ert explainer for equal can't handle negative numbers), Anders Lindgren, 2015/12/05