From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74879: 30.0.92; trusted-content-p and trusted-files cannot be used for non-file buffers Date: Mon, 16 Dec 2024 09:31:08 -0500 Message-ID: References: <87ed29ixu8.fsf@daniel-mendler.de> <87msgw94fz.fsf@daniel-mendler.de> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10903"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Daniel Mendler , 74879@debbugs.gnu.org To: Eshel Yaron Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 16 15:32:33 2024 Return-path: 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 ) id 1tNC9A-0002hd-0S for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Dec 2024 15:32:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNC8j-0004EY-WF; Mon, 16 Dec 2024 09:32:06 -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 ) id 1tNC8h-0004EH-Q5 for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 09:32:04 -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 ) id 1tNC8g-00028A-Ps for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 09:32: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=8Z288inqjua0zIY20TQr34hhS9jTHKx0eOZ4yl6p2qg=; b=t56vpjA3p6eVOJp26yjAj82ZztJPdX1kHPq9MLORHZbdmSokn1OAREkbSS9gHwguQm1S8i3GhZJrlDK0hLpgyyA9Z/L+erzr02iSYHjPmbHLblZ1BCbORCstGAtRJ9NApc372LdKTP/He0NfidxrysElO5Gs0rODrwt15fPQkTsbGvyvlmQ5Sv/CPbJCrKkuRXzlLAM2uX5s/G4QZZlMh3Z0krKU0YJSP8j1L8hwJUiJy2anZt2jkeECSChB68peWCQ1OZC0mWRl4dwqcT0KQ3g/fKoA42qK57xCrwjDWj4jUc4lSvtWXTY9DjRL0c1g8QavRb7hlMTY+A9g7j9z0w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNC8g-0004k0-Kl for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 09:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Dec 2024 14:32:02 +0000 Resent-Message-ID: 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.173435948318151 (code B ref 74879); Mon, 16 Dec 2024 14:32:02 +0000 Original-Received: (at 74879) by debbugs.gnu.org; 16 Dec 2024 14:31:23 +0000 Original-Received: from localhost ([127.0.0.1]:54070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNC83-0004ih-3B for submit@debbugs.gnu.org; Mon, 16 Dec 2024 09:31:23 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:56143) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNC7z-0004iP-8V for 74879@debbugs.gnu.org; Mon, 16 Dec 2024 09:31:21 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 69244442B47; Mon, 16 Dec 2024 09:31:11 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1734359470; bh=zcn2B4yMstaBJmA8/niWFcNxm2a1lYNAVnraHR/9Vuk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=UJKglHWMMHaUVknpRfchkusuwwy+bDUzTyx/WMOMD9o2zE6qubOEA5JK8iKSBvrXM dtqe6wlsfZ0EAAplUeux/mco3yYPF1UIEAchK7g4z6k7fzxztesVBigF4uoC5Z2xdF oTckiZGJ17iqUcOuCinqUNDqePyxOLHPQce+YAlduMB5zYXw66ICyTZK7hCXqs8cfY nWpGOqCzMkCsUtTCOrFaj8eAgGiIlsG8k8fG8YrLn2qD6Pp+IzGt/ztvRBBRSGMu5Z RvDaet3sRMIML2ZyYwgmizpi1UoO78uOA0XaF5cDvJVVYPJ/iz5DR05zhiretxKY9x EenJ8dptBBISg== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 523AE442A54; Mon, 16 Dec 2024 09:31:10 -0500 (EST) Original-Received: from pastel (104-195-225-43.cpe.teksavvy.com [104.195.225.43]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 24F3C12026C; Mon, 16 Dec 2024 09:31:10 -0500 (EST) In-Reply-To: (Eshel Yaron's message of "Mon, 16 Dec 2024 13:39:25 +0100") 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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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:297171 Archived-At: > Sorry, I now realize that they are already consolidated in the sense > trusted-content-p considers both variables. It's a limited form of consolidation, but indeed I did try and do a bit of it. =F0=9F=99=82 > 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". Stefan