GNU bug report logs - #74879
30.0.92; trusted-content-p and trusted-files cannot be used for non-file buffers

Previous Next

Package: emacs;

Reported by: Daniel Mendler <mail <at> daniel-mendler.de>

Date: Sun, 15 Dec 2024 00:40:02 UTC

Severity: normal

Found in version 30.0.92

Full log


Message #107 received at 74879 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: Daniel Mendler <mail <at> daniel-mendler.de>, 74879 <at> debbugs.gnu.org,
 Eshel Yaron <me <at> eshelyaron.com>, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#74879: 30.0.92; trusted-content-p and trusted-files cannot be
 used for non-file buffers
Date: Tue, 17 Dec 2024 16:04:26 -0800
Ihor Radchenko <yantar92 <at> posteo.net> writes:

> Stefan Kangas <stefankangas <at> gmail.com> writes:
>
>>>> org-latex-preview in org.el still checks for untrusted-content
>>>> directly though, I wonder if it'd make sense for it to check for
>>>> trusted-content-p instead.
>>>
>>> I can't remember the details of the `org-latex-preview` situation, so
>>> I'll say tentatively "probably".
>>
>> Ihor, WDYT?
>
> I am happy to use whatever you decide to be the API.
> For a moment, I am not sure if the API is final. For example,
> `trusted-content-p' is not defined on master.

Thanks.

AFAIU, the API on emacs-30 is now final for Emacs 30, and can be relied
on for that release.  It's just waiting to be merged to master.

We could/should continue to improve the API on master, but whatever
changes we make there will obviously have to take care to maintain a
reasonable level of backwards-compatibility.




This bug report was last modified 55 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.