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: Tue, 17 Dec 2024 16:04:26 -0800 Message-ID: References: <87ed29ixu8.fsf@daniel-mendler.de> <87msgw94fz.fsf@daniel-mendler.de> <87a5cu8b23.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21551"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Daniel Mendler , 74879@debbugs.gnu.org, Eshel Yaron , Stefan Monnier To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 18 01:06:49 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 1tNhaT-0005Sz-8B for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Dec 2024 01:06:49 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNhZq-0000tz-KS; Tue, 17 Dec 2024 19:06:14 -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 1tNhZj-0000t8-HP for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 19:06: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 1tNhZj-00079h-6s for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 19:06:03 -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=zuAiK9OS5e0TI8vnR9uzNyKWU406Y4R68kgtVl2HcuI=; b=EztimF9a7OAXkPjRwlw+gGblSuydJlJ1pFwuUsmPwdKF7b8K46RJD9Emu6Dk+QUBrX65Z4/oLzhiQuSXTMiwGUi6wemNLf7+EVoVtnquMfQGgDZAeJVGZkeflbDYsVXVreVn/t79H1/+2e9NSirWk4vlS/Q3m7DyVPqBDLoAFkAGQEw0Z6IpwbEr8XWKFjWRym1JLSM9R2idwJ+P6tgKS/vbBW/uagqY/M7H5ZC5iNXhkZT6YFFs78R4x6xHOzJeblmXvH4YzsGtR2i+P/CZBCfkCKfPhug5nQZwKDGFzGFaBGSkIZPCLLrg3XVlyl1PH/omIJBOm0l5okrDcmEBzA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNhZi-00066f-Oc for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 19:06: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: Wed, 18 Dec 2024 00:06: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.173448033223410 (code B ref 74879); Wed, 18 Dec 2024 00:06:02 +0000 Original-Received: (at 74879) by debbugs.gnu.org; 18 Dec 2024 00:05:32 +0000 Original-Received: from localhost ([127.0.0.1]:60778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNhZD-00065W-Et for submit@debbugs.gnu.org; Tue, 17 Dec 2024 19:05:32 -0500 Original-Received: from mail-ej1-f48.google.com ([209.85.218.48]:53656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNhZA-00065F-9m for 74879@debbugs.gnu.org; Tue, 17 Dec 2024 19:05:29 -0500 Original-Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a9a977d6cc7so788359666b.3 for <74879@debbugs.gnu.org>; Tue, 17 Dec 2024 16:05:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734480267; x=1735085067; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=zuAiK9OS5e0TI8vnR9uzNyKWU406Y4R68kgtVl2HcuI=; b=I4Po8uACyWLJjIaAUkX7OJVwCbAMtQ6N1Yo60hoKij3lDZSXl0PX3B+9UMAJAyCQhw CMMxcKyGiPVrxPfOjhQH0Y3cXvFtItmhFEpTdy+LevnXGH4wylG7N3T4wGmwLGxFGJfv S1Y/Lrm6840IxejHWTzDoyXr/VxL1YVNY1J/778UINyyPpTkbSJ8Rh1lArxj6VBuqtcw 1TzuXRXvI87vaRGQXu7ylXtyfTm8g3kF+Ay1w1YwKEBgiKCrk3cXf+EMrwiu2eurWMIY ABJIFNeH6wxLcwZPoY8kFyvYeLA/+v0SgAAcvyKPRUFLDOI+Tn2elfiPdwg+FJYfGixU vuNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734480267; x=1735085067; h=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=zuAiK9OS5e0TI8vnR9uzNyKWU406Y4R68kgtVl2HcuI=; b=J1YjsiBQwxNRNI8Xh2VFEaA6fok5gVa5Z+TaR0Ep2qRdiXEAz5ETtUmANxqWRp94fY wGDO6oZ+9iObhDwcjL/mr25c+l8WynHefP9I6yXidE0oeI7NKbV3VVA1uMlTNBDLKmeu klmr5OUCI+TWQDoDGZJnvFQosEKNU4qJAmbBxf5989T9CXZiHoJXaZicKEPCeDeiWf7T 1nS2oOfgr81WxeRKSjcdI57QapJQtSyap3LDTjJJZuJqijQmpfNW/U/2po7+44WHEum1 CajylUQ2ELLWh6boXlCBOxaMXOaG7IgJXcFpHljCb/ZHEgerbMB01tyPOvFF2jJuDPKR yI/Q== X-Forwarded-Encrypted: i=1; AJvYcCXLZ8JFBafLme/9RKnFjJAVFVJbMlyAgpOyzjA9bywRw193U9Be0MWJ628u/HrfQxF+0iorpw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyIh4nPRgmFa1TikhH1vpLoJBfwowzvyWDaTRGOae3CkmlF+08c DtC4cEDAQG91XmqnayqDMysHHGwQX1wEY95sTUSsKfcPIMoft297vnqxuGnfg10VgzG8ukG18B2 xktJUUlRcCJ6I3PjEuFoXzmkaqw0= X-Gm-Gg: ASbGncs8iKbJGUPDfwxp+1D1rnu3iyRIRkbt0vVBzbcRFA+6ejIxZNRG978qibwfhKW yTnVCcqUBc/IbL7KtvJ+tvZyPsvUGdRO9vy3jzg== X-Google-Smtp-Source: AGHT+IHNmus0vaJdi3Y4AjgkdrKX0E8JXnOEi5PQ+5ClQ8NExq0ePmF0JJqyc7SJlMWS1gSn4ZVD4Trr8wNlVlwXhW0= X-Received: by 2002:a05:6402:2691:b0:5d0:abb8:7a3 with SMTP id 4fb4d7f45d1cf-5d7ee37b12amr2343200a12.6.1734480266903; Tue, 17 Dec 2024 16:04:26 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 17 Dec 2024 16:04:26 -0800 In-Reply-To: <87a5cu8b23.fsf@localhost> 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:297318 Archived-At: Ihor Radchenko writes: > Stefan Kangas 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.