[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#59057: Emacs 29. Byte compiler sometimes forgets about a defvar.
From: |
Stefan Monnier |
Subject: |
bug#59057: Emacs 29. Byte compiler sometimes forgets about a defvar. |
Date: |
Thu, 24 Nov 2022 15:36:17 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> I guess defvar will have to stay as it is. But would it make sense to
> add a new `declare-variable' function, and then document the form
>
> (defvar <foo>)
>
> to be considered deprecated?
I don't see any concrete benefit. It's only a problem of documentation
and/or teaching programmers. If we could go back to 1984 maybe it would
be worth it to make a different decision, but the cost of the change
doesn't seem worth the very minor (and hypothetical) benefit.
Stefan
- bug#59057: Emacs 29. Byte compiler sometimes forgets about a defvar., (continued)
- bug#59057: Emacs 29. Byte compiler sometimes forgets about a defvar., Stefan Monnier, 2022/11/07
- bug#59057: Emacs 29. Byte compiler sometimes forgets about a defvar., Stefan Monnier, 2022/11/07
- bug#59057: Emacs 29. Byte compiler sometimes forgets about a defvar., Alan Mackenzie, 2022/11/09
- bug#59057: Emacs 29. Byte compiler sometimes forgets about a defvar., Stefan Monnier, 2022/11/09
- bug#59057: Emacs 29. Byte compiler sometimes forgets about a defvar., Stefan Kangas, 2022/11/24
- bug#59057: Emacs 29. Byte compiler sometimes forgets about a defvar., Eli Zaretskii, 2022/11/24
- bug#59057: Emacs 29. Byte compiler sometimes forgets about a defvar.,
Stefan Monnier <=
- bug#59057: Emacs 29. Byte compiler sometimes forgets about a defvar., Stefan Kangas, 2022/11/24
- bug#59057: Emacs 29. Byte compiler sometimes forgets about a defvar., Alan Mackenzie, 2022/11/25