PS:
find lisp -type f -name \*.el -exec sed -i "s/:safe t/:safe #'(lambda(_)
t)/g" {} \;
is a quick-and-dirty hack for it.
Checked in the sense that it doesn't break any test...
/PA
On Mon, 30 Mar 2026 at 07:14, Pedro Andres Aranda Gutierrez <
[email protected]> wrote:
> HI again,
> the "remedy" would be to convert all those
>
> :safe t)
>
> into a "dont-look-just-swallow" like:
>
> :safe #'(lambda (_) t))
>
> Whether that is wise or not is another question
>
> My .2 cents, /PA
>
> On Sun, 29 Mar 2026 at 18:42, Pedro Andres Aranda Gutierrez <
> [email protected]> wrote:
>
>> +1
>> /PA
>>
>> On Sun, 29 Mar 2026 at 18:21, Kyle Meyer <[email protected]> wrote:
>>
>>> There are handful of defcustom's that declare ':safe t':
>>>
>>> $ git rev-parse HEAD
>>> be7ad3124631178abb2c9c081ddc00bd3057e11b
>>>
>>> $ git grep ':safe t'
>>> lisp/ob-csharp.el: :safe t)
>>> lisp/ob-csharp.el: :safe t)
>>> lisp/ob-ditaa.el: :safe t)
>>> lisp/ob-tangle.el: :safe t)
>>> lisp/oc-bibtex.el: :safe t)
>>> lisp/ol.el: :safe t)
>>> lisp/ol.el: :safe t)
>>> lisp/ol.el: :safe t)
>>> lisp/org-archive.el: :safe t)
>>> lisp/org-cycle.el: :safe t)
>>> lisp/org-id.el: :safe t)
>>> lisp/org-src.el: :safe t)
>>> lisp/org.el: :safe t)
>>> lisp/org.el: :safe t)
>>> lisp/org.el: :safe t)
>>> lisp/org.el: :safe t)
>>> lisp/org.el: :safe t)
>>> lisp/ox-html.el: :safe t)
>>> lisp/ox-html.el: :safe t)
>>> lisp/ox-html.el: :safe t)
>>> lisp/ox-html.el: :safe t)
>>> lisp/ox-md.el: :safe t)
>>> lisp/ox-odt.el: :safe t)
>>> lisp/ox-odt.el: :safe t)
>>>
>>> Many of these were added in 4b5abdd6d (Add missing :safe for
>>> defcustoms added/changed in Org 9.8, 2026-02-14).
>>>
>>> As far as I understand, that's invalid. See Emacs's 4341e79a5fa (Remove
>>> bogus ":safe t" custom properties, 2021-10-02), which previously pruned
>>> a bunch of these from Org's tree.
>>>
>>> Likewise, I think ':safe nil' properties should be removed, for the
>>> reason given in Emacs's 62d6cecfcd1 (Remove bogus ":safe nil" custom
>>> properties, 2021-10-02).
>>>
>>>
>>
>> --
>> Fragen sind nicht da, um beantwortet zu werden,
>> Fragen sind da um gestellt zu werden
>> Georg Kreisler
>>
>> "Sagen's Paradeiser" (ORF: Als Radiohören gefährlich war) => write BE!
>> Year 2 of the New Koprocracy
>>
>>
>
> --
> Fragen sind nicht da, um beantwortet zu werden,
> Fragen sind da um gestellt zu werden
> Georg Kreisler
>
> "Sagen's Paradeiser" (ORF: Als Radiohören gefährlich war) => write BE!
> Year 2 of the New Koprocracy
>
>
--
Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler
"Sagen's Paradeiser" (ORF: Als Radiohören gefährlich war) => write BE!
Year 2 of the New Koprocracy