From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Ihor Radchenko <yantar92@posteo.net>
Newsgroups: gmane.emacs.bugs
Subject: bug#74879: 30.0.92;
 trusted-content-p and trusted-files cannot be used for non-file
 buffers
Date: Tue, 17 Dec 2024 17:38:12 +0000
Message-ID: <87a5cu8b23.fsf@localhost>
References: <87ed29ixu8.fsf@daniel-mendler.de>
 <jwvikrlukf7.fsf-monnier+emacs@gnu.org> <87msgw94fz.fsf@daniel-mendler.de>
 <jwv5xnkshy1.fsf-monnier+emacs@gnu.org> <m11py8rrn9.fsf@macbookpro.home>
 <m1seqnrede.fsf@sp-byods-145-109-25-121.wireless.uva.nl>
 <jwvwmfzput9.fsf-monnier+emacs@gnu.org>
 <CADwFkm=in74k2+j+ohwUB05QFnCc7cJ_XTK1kCh2vAZ6d1ki=A@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="36560"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: Daniel Mendler <mail@daniel-mendler.de>, 74879@debbugs.gnu.org,
 Eshel Yaron <me@eshelyaron.com>, Stefan Monnier <monnier@iro.umontreal.ca>
To: Stefan Kangas <stefankangas@gmail.com>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 17 18:37:20 2024
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1tNbVX-0009IA-Tz
	for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 17 Dec 2024 18:37:20 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces@gnu.org>)
	id 1tNbVI-0000WJ-Vj; Tue, 17 Dec 2024 12:37:05 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1tNbVH-0000W5-60
 for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 12:37:03 -0500
Original-Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1tNbVG-0003gE-T4
 for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 12:37:02 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=debbugs.gnu.org; s=debbugs-gnu-org; 
 h=MIME-Version:Date:References:In-Reply-To:From:To:Subject;
 bh=VT369WeXwVuxkNEm3XRhtFSWBdlTiuo52nKI6jVF5UY=; 
 b=puKyInwysi+IBlAVb7avfMT3lnsRbTBwuoIGt5hffI41/z7lJMNZu+pbpQNOQLFrN1yg7/J3o4PlNeW40rQ0zaL1KGyE46sMxrG5VpXvjnMr/0uo1WyaeTMMHlm4NP0jYNL+Omm4hPUzosAofy/N1GLOETUUk/yFZaRKR3sD/aawEFDiSuLDBzoVB810qOQbUk2JpMJrP3oukQumYmQyd9FmHOgpD58dwQ/NYuxKyfi2sP1siLbdea0PkXQj2PeupxnMn4aU4DGVRDBH9WTEv6BZx3Q6DgFm/Vj/SlpSx+Hn/yhvthOReplJ9bwb6tS+YDMGn94Tc9zIU0Q+8UGBfQ==;
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tNbVG-00045E-GP
 for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 12:37:02 -0500
X-Loop: help-debbugs@gnu.org
Resent-From: Ihor Radchenko <yantar92@posteo.net>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Tue, 17 Dec 2024 17:37:02 +0000
Resent-Message-ID: <handler.74879.B74879.173445700915677@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 74879
X-GNU-PR-Package: emacs
Original-Received: via spool by 74879-submit@debbugs.gnu.org id=B74879.173445700915677
 (code B ref 74879); Tue, 17 Dec 2024 17:37:02 +0000
Original-Received: (at 74879) by debbugs.gnu.org; 17 Dec 2024 17:36:49 +0000
Original-Received: from localhost ([127.0.0.1]:60153 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1tNbV2-00044k-L6
 for submit@debbugs.gnu.org; Tue, 17 Dec 2024 12:36:49 -0500
Original-Received: from mout02.posteo.de ([185.67.36.66]:51531)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yantar92@posteo.net>) id 1tNbV0-00044W-CZ
 for 74879@debbugs.gnu.org; Tue, 17 Dec 2024 12:36:47 -0500
Original-Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 3F9F5240101
 for <74879@debbugs.gnu.org>; Tue, 17 Dec 2024 18:36:38 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1734456998; bh=MFoq02zkwMseqJHDgYe/45DREFJIfk9y9LzAiY7sr84=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:
 From;
 b=NqT8X80gxfQcIdkiJsP5J6nwtzzCdbKUlz6oZe2DXhHVamkhMZipzta5CPXJpdQcm
 QNr7Wv/ysVDKvFEfVAin/7nG02dwHlahCWQ6jGpA+NGw4KE5FLBMoWMEur6TXdk6Lc
 NDnWXCHrWOMstZzvynkq8wB2kbJtHh3vW5MqMTL/fRTVWCcuD4nMhqE3ww1IKGHr33
 biaI+jK+9U7HkT9jPN9iHPkwQFjP+q7GlPHvRRNwolMOnDC+09V4HMB+ohCpFSrz+t
 EONdJx/S9z2FtIIrs2qTMbSLk03Ygs9TQmCwnW393gCN8by6ufXx/zG6UWEf+TDlH0
 hREjpw+0r7NVA==
Original-Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4YCPBF09zVz6tvl;
 Tue, 17 Dec 2024 18:36:36 +0100 (CET)
In-Reply-To: <CADwFkm=in74k2+j+ohwUB05QFnCc7cJ_XTK1kCh2vAZ6d1ki=A@mail.gmail.com>
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.bugs:297311
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/297311>

Stefan Kangas <stefankangas@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.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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>