[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [POLL] Should we accept breaking changes to get rid of Org libraries
From: |
Ihor Radchenko |
Subject: |
Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading? |
Date: |
Mon, 14 Aug 2023 10:34:15 +0000 |
Samuel Wales <samologist@gmail.com> writes:
> regexp components docstring in bugfix still say reload or restart.
> biut mayube that is obsolete.
`org-emphasis-regexp-components'? It is no longer a defcustom - you are
not supposed to change it.
> i found possible examples in appt and ediff bot those are not org. so
> perhaps this is a case where the problem no longer exists? 8if so,
> then never mind that comment about guideline for not requiring setting
> before org where possible.
>
> perhaps these are unavoidable.
> bugfix .el
> g set *.el|g before|g load
> org-fold-core.el:Important: This variable must be set before loading Org."
It is `org-fold-core-style' - must be set before opening file because it
switches between two implementations of folding.
You usually don't need to touch it.
> org-keys.el:Needs to be set before Org is loaded.
`org-mouse-1-follows-link' simply triggers adding/not adding one binding
to `org-mouse-map'. Actually, `org-tab-follows-link' is the same.
These variables are mostly used to avoid forcing users put
(org-defkey org-mouse-map [follow-link] 'mouse-face)
or (org-defkey org-mouse-map (kbd "TAB") #'org-open-at-point)
into their config.
We may alternatively use custom :set function for these variables. That
will not require a restart.
> org-list.el:This variable needs to be set before org.el is loaded. If you
> org-list.el:This variable needs to be set before org.el is loaded. If you
`org-plain-list-ordered-item-terminator' and `org-list-allow-alphabetical'
configure Org parser. We should probably remove these variables
eventually. To standardize Org syntax.
> org-persist.el:This variable must be set before loading org-persist library.")
`org-persist--disable-when-emacs-Q' is an internal variable used for debugging.
> org.el:This variable needs to be set before org.el is loaded. If you
This is `org-export-backends' that literally controls Org loading.
Technically, you don't need to re-load Org here if you set it via
customize interface.
> org.el:This variable needs to be set before org.el is loaded, and you need to
`org-enforce-todo-checkbox-dependencies'. Again, no need to reload Org
if you use customize interface. In both this and previous cases,
docstring explains about customize.
--
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: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?, (continued)
- Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?, Ihor Radchenko, 2023/08/08
- Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?, Ihor Radchenko, 2023/08/11
- Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?, Bastien Guerry, 2023/08/12
- Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?, Samuel Wales, 2023/08/12
- Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?, Ihor Radchenko, 2023/08/13
- Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?, Samuel Wales, 2023/08/13
- Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?,
Ihor Radchenko <=
- Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?, Fraga, Eric, 2023/08/14
- Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?, Bastien Guerry, 2023/08/22
- Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?, Ihor Radchenko, 2023/08/23
- Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?, Bastien Guerry, 2023/08/24
- Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?, Ihor Radchenko, 2023/08/24
- Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?, Bastien Guerry, 2023/08/24
- Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?, Ihor Radchenko, 2023/08/24
- Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?, Bastien Guerry, 2023/08/24
- Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?, Ihor Radchenko, 2023/08/24
- Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?, Bastien Guerry, 2023/08/24