[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#70784: Abolish string resizing
From: |
Stefan Monnier |
Subject: |
bug#70784: Abolish string resizing |
Date: |
Sun, 05 May 2024 14:09:10 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> That's fine, but a warning might help in emacs-30 to prepare for making
> resizing an error in emacs-31.
> Here's how that would work: the first 5 times (say), emit a warning like
>
> Warning: `aset' on a multibyte string with char value #x2022 will become an
> error in Emacs 31
>
> followed by a truncated stack trace, just enough to help the user (or
> someone helping out) see what package is responsible.
Similar to what I do in `track-changes.el` when we detect a missing
call to `after/before-change-functions`? I like that.
If the warning is too annoying, we could do like I did there, i.e. only
emit the warning when running in a non-release Emacs (i.e. when
`emacs-version` has 2 dots), and offer a variable to control whether to
emit the warning or not.
Stefan
- bug#70784: Abolish string resizing, (continued)
- bug#70784: Abolish string resizing, Richard Stallman, 2024/05/08
- bug#70784: Abolish string resizing, Drew Adams, 2024/05/08
- bug#70784: Abolish string resizing, Stefan Kangas, 2024/05/26
- bug#70784: Abolish string resizing, Eli Zaretskii, 2024/05/26
- bug#70784: Abolish string resizing, Stefan Monnier, 2024/05/26
- bug#70784: Abolish string resizing, Eli Zaretskii, 2024/05/26
- bug#70784: Abolish string resizing, Stefan Monnier, 2024/05/26
- bug#70784: Abolish string resizing, Richard Stallman, 2024/05/27
- bug#70784: Abolish string resizing,
Stefan Monnier <=
- bug#70784: Abolish string resizing, Mattias Engdegård, 2024/05/05
- bug#70784: Abolish string resizing, Stefan Monnier, 2024/05/05
- bug#70784: Abolish string resizing, Mattias Engdegård, 2024/05/11
- bug#70784: Abolish string resizing, Stefan Monnier, 2024/05/11
- bug#70784: Abolish string resizing, Mattias Engdegård, 2024/05/15
- bug#70784: Abolish string resizing, Stefan Monnier, 2024/05/15
- bug#70784: Abolish string resizing, Mattias Engdegård, 2024/05/15
- bug#70784: Abolish string resizing, Mattias Engdegård, 2024/05/25
- bug#70784: Abolish string resizing, Eli Zaretskii, 2024/05/25
- bug#70784: Abolish string resizing, Mattias Engdegård, 2024/05/25