From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas 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 21:59:45 +0000 Message-ID: References: <87ed29ixu8.fsf@daniel-mendler.de> <87msgw94fz.fsf@daniel-mendler.de> 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="10680"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Daniel Mendler , Ihor Radchenko , 74879@debbugs.gnu.org To: Stefan Monnier , Eshel Yaron Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 16 23:01:15 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 1tNJ9P-0002d3-G4 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Dec 2024 23:01:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNJ9F-0002IC-0h; Mon, 16 Dec 2024 17:01: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 ) id 1tNJ9D-0002I0-3C for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 17:01: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 ) id 1tNJ9C-0007Hx-7y for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 17:01:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:MIME-Version:References:In-Reply-To:From:To:Subject; bh=ioXxEL/yR0yOUIfLlS8st6Q3V4qshJB/fNcwuiDC4as=; b=DEsAjlap/duiNJjbS7fNpTQnOv6bP18EbPwHhF5L+kdNtJ3mt8Bcb+V+rbjSVD49lO9WpbMX0JbM9de5gtwjCwG3Ci+256p0/eJ9/M80bzO2JNvXGrfurdIaMNrfgDkSSA/3NLuYO2dxADKljxY0MCXaFw1SXHuDQyt/lJbGZ4zXV9As0/iFieI+8gBeK76YbuzdxI7VRuupiEKJjlPNLMPdt5sS4Mp++9zrYxm8nUnJ7eMzxSxi8ubmIwKbtGJXbgnenbbVJKXPMzSzc3qCAapLreZ/0onPUPpgigaRlqR18a3wordTxamt+cZC7iJoCo4Xez3JlpVNvfWf9/X4gA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNJ9C-0004Ry-1f for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 17:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Dec 2024 22:01: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.173438644817065 (code B ref 74879); Mon, 16 Dec 2024 22:01:02 +0000 Original-Received: (at 74879) by debbugs.gnu.org; 16 Dec 2024 22:00:48 +0000 Original-Received: from localhost ([127.0.0.1]:56581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNJ8x-0004RB-Oq for submit@debbugs.gnu.org; Mon, 16 Dec 2024 17:00:48 -0500 Original-Received: from mail-ed1-f48.google.com ([209.85.208.48]:57378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNJ8w-0004R1-9h for 74879@debbugs.gnu.org; Mon, 16 Dec 2024 17:00:47 -0500 Original-Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-5d4e2aa7ea9so913355a12.2 for <74879@debbugs.gnu.org>; Mon, 16 Dec 2024 14:00:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734386385; x=1734991185; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=ioXxEL/yR0yOUIfLlS8st6Q3V4qshJB/fNcwuiDC4as=; b=Jc6SZZKLv3Wy1TNuNFx+jgFxBzOaj1/JBGe0IKE/PVwD8wv1foBZl9ROA7KE0SOoK2 +By8IpiUtM4gobeaThLS6Z2tZM+SshzVpilJgLRLDOPVIvZEmZ40zqZToPYeknTEVWKD DL+zzrwAzdkbgh81rVcTkvxFFdZ9XJVBeGN9yPowCw9rPUk0lBlaENk3pGUN+YEflBgF tpr2M7kq/lq6H2NE6snVzdcyu9tUy30TGrNLHRqOwjnW7juj29+EZ/szUiFzVxxqV1ag xY+ekGRBiz55ZO1f1wWw6UogrVgvVoTcPmQsfGE5Ah0kCA2SNONYVRq+WRSu8J7KcQw5 1+jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734386385; x=1734991185; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=ioXxEL/yR0yOUIfLlS8st6Q3V4qshJB/fNcwuiDC4as=; b=BlufCNSb7diBiZ+2WsjthZJEQuHN4Q0T6MuJ3C92KM4xZfXqDS+Cg72LHuPazZfLV9 vakYtfHoJq9+T39JCVI1mgninSeCigOvpDhHdgswKOi0nnL/HH3jya0i9cmo1VP2hfEW tPS0E4+BVPFbYEjBaoYsbIXmAfBUIyk91BnO10d2bWjsm3I8Zo3U0TsV3UCQ66DH3LHi qpYJMf+clORZzyN+kN8ehqzb3RRNs8Qwrpc2di/4ExzbryrJ88JUxrBZSQoL6PlXOgV7 6yh8IdfE3qUJrxHvjlISbvWN0pbAv1E7ASvcUDsCfw/wRfH/K+4rUu0kTwrYxc9VJi9S ULwA== X-Forwarded-Encrypted: i=1; AJvYcCXJRphLsJlN3WNIUcJ3wkYe1wJESCuhxzokAizPrnUblL0tpQ6GOCtutEP1x00DgmBTfx+6KQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwiSgAf9d0VFBgmqWSn5RvimtvOOoYJ8MgUfR36CFS3C3e4B2ly WVlbvo2K6D1KGvLOFoU13jYo4h3uEGSJtlEJPeSfNAxpPODyWnKDuOZC2yx5ixK79EbfZzjywfi LHEZ/1/7s+KyL8JUmdUGVHbSsWXQ= X-Gm-Gg: ASbGnct3588Knhq9O9cou4oIxxWrUvbOkZknAGaK1MuSGT7dIJdvgHf9jx0wM7ZVn5X lRShtMQON/T0r04YEkE0+2DGAlq7AB4T4WIRJyEE= X-Google-Smtp-Source: AGHT+IGEuFTj0ZzWlCmiCOLvLtqZujzVKfPe5mQVjXAong4ur/0NjfAQ6JqSMUOaJqBHp4/+y/lrjLFryVx19j4Vydk= X-Received: by 2002:a05:6402:3890:b0:5cf:bcaf:98ec with SMTP id 4fb4d7f45d1cf-5d63c3a96a7mr13423434a12.26.1734386385285; Mon, 16 Dec 2024 13:59:45 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 16 Dec 2024 21:59:45 +0000 In-Reply-To: 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:297234 Archived-At: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: >> 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". Ihor, WDYT?