[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: |
Ihor Radchenko |
Subject: |
Re: [PATCH] before emit an error message, try to load the babel language |
Date: |
Wed, 26 Apr 2023 06:59:23 +0000 |
Ruijie Yu <ruijie@netyu.xyz> writes:
>> 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?
Not really. It is a common problem that users keep using `setq' instead
of `setopt', customize interface, or `custom-set-variables'.
Lin Sun's solution is one approach to deal with this problem for
`org-babel-load-languages', but only partial, as I outlined.
I'd prefer to use either `add-variable-watcher' or oc.el-like API with
`org-cite-try-load-processor' being called when babel backend
information is requested.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- Re: [PATCH] before emit an error message, try to load the babel language, (continued)
- 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, 2023/04/25
- 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 <=