[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Moving kbd to subr.el
From: |
Stefan Monnier |
Subject: |
Re: Moving kbd to subr.el |
Date: |
Fri, 15 Oct 2021 12:05:52 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>> because it probably means that we (at some point in the future) can
>> drop the string representation altogether (as a return value from
>> `kbd').
> Hmm, I'd like to hear what Stefan Monnier has to say about this.
FWIW, I removed the `need-vector` arg (and simplified the code
accordingly assuming it's always non-nil) and haven't found any
problems, so the uses that aren't prepared to handle a string return
value seem quite rare (tho Murphy swears they exist).
> A good first step should in any case be to say in the 'kbd' docstring
> that the string syntax is considered obsolete, and that callers should
> prepare to handle a vector return value instead. Perhaps we could
> document this already in emacs-28.
Fine by me,
Stefan
- Re: Moving kbd to subr.el, (continued)
- Re: Moving kbd to subr.el, Stefan Kangas, 2021/10/14
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/15
- Re: Moving kbd to subr.el, Eli Zaretskii, 2021/10/15
- Re: Moving kbd to subr.el, Eli Zaretskii, 2021/10/15
- Re: Moving kbd to subr.el, Andreas Schwab, 2021/10/15
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/15
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/15
- Re: Moving kbd to subr.el, Stefan Monnier, 2021/10/15
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/15
- Re: Moving kbd to subr.el, Stefan Kangas, 2021/10/15
- Re: Moving kbd to subr.el,
Stefan Monnier <=
- Re: Moving kbd to subr.el, T.V Raman, 2021/10/15
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/15
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/16
- Re: Moving kbd to subr.el, Stefan Kangas, 2021/10/16
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/16
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/17
- Re: Moving kbd to subr.el, Gregory Heytings, 2021/10/17
- Re: Moving kbd to subr.el, Eli Zaretskii, 2021/10/17
- Re: Moving kbd to subr.el, Gregory Heytings, 2021/10/17
- Re: Moving kbd to subr.el, Lars Ingebrigtsen, 2021/10/17