[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] before emit an error message, try to load the babel language
From: |
Ruijie Yu |
Subject: |
Re: [PATCH] before emit an error message, try to load the babel language |
Date: |
Wed, 26 Apr 2023 10:33:01 +0800 |
User-agent: |
mu4e 1.9.22; emacs 30.0.50 |
Ihor Radchenko <yantar92@posteo.net> writes:
> Ruijie Yu <ruijie@netyu.xyz> writes:
>
>>> 1. `setopt' already triggers loading when variable is set. It is just
>>> `setq', often used in place of `setopt', that does not trigger
>>> loading/unloading.
>>
>> Speaking of which, since we now (or are about to?) depend on compat, we
>> can just do (require 'compat) and forget that `setopt' is an Emacs 29
>> addition.
>
> No. Compat does not support and does not plan to support `setopt' (see
> https://elpa.gnu.org/packages/doc/compat.html#Limitations).
> And it is not us who needs to use `setopt', but users.
> We just have to deal with de facto situation with users using `setq'
> mindlessly.
Makes sense. So, does that mean nothing should be changed, except for
maybe some additions to documentation mentioning that the users should
avoid using `setq' to set customizable variables, and instead use
`setopt' if >= 29, or [some function in cus-edit.el which I don't
recall] otherwise?
--
Best,
RY
[Please note that this mail might go to spam due to some
misconfiguration in my mail server -- still investigating.]
- [PATCH] before emit an error message, try to load the babel language, lin Sun, 2023/04/22
- Re: [PATCH] before emit an error message, try to load the babel language, Ruijie Yu, 2023/04/22
- Re: [PATCH] before emit an error message, try to load the babel language, Ihor Radchenko, 2023/04/22
- Re: [PATCH] before emit an error message, try to load the babel language, lin Sun, 2023/04/23
- Re: [PATCH] before emit an error message, try to load the babel language, Ihor Radchenko, 2023/04/23
- Re: [PATCH] before emit an error message, try to load the babel language, lin Sun, 2023/04/24
- Re: [PATCH] before emit an error message, try to load the babel language, Ihor Radchenko, 2023/04/25
- Re: [PATCH] before emit an error message, try to load the babel language, Ruijie Yu, 2023/04/25
- Re: [PATCH] before emit an error message, try to load the babel language, Ihor Radchenko, 2023/04/25
- Re: [PATCH] before emit an error message, try to load the babel language,
Ruijie Yu <=
- Re: [PATCH] before emit an error message, try to load the babel language, lin Sun, 2023/04/26
- Re: [PATCH] before emit an error message, try to load the babel language, Ihor Radchenko, 2023/04/26
- Re: [PATCH] before emit an error message, try to load the babel language, lin Sun, 2023/04/26
- Re: [PATCH] before emit an error message, try to load the babel language, Ihor Radchenko, 2023/04/26
- Re: [PATCH] before emit an error message, try to load the babel language, Ihor Radchenko, 2023/04/26