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


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: rms <at> gnu.org
Cc: dmitry <at> gutov.dev, mail <at> daniel-mendler.de, 74879 <at> debbugs.gnu.org, stefankangas <at> gmail.com, monnier <at> iro.umontreal.ca
Subject: bug#74879: 30.0.92; trusted-content-p and trusted-files cannot be used for non-file buffers
Date: Fri, 17 Jan 2025 09:15:32 +0200
> Cc: mail <at> daniel-mendler.de, 74879 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca,
>  dmitry <at> gutov.dev
> From: Richard Stallman <rms <at> gnu.org>
> Date: Thu, 16 Jan 2025 17:53:55 -0500
> 
> I continue to urge renaming of this file local variable to
> `trusted-code' because that word precisely fits what gets trusted in
> this way in the files that you mark with it.

I think "trusted-code" would be a misnomer, since nowadays stuff that
can cause Emacs to execute arbitrary code can come from a source that
is not code at all.  A notable example that comes to mind is Org
formatted text.  Many people will not consider that to be "code".





This bug report was last modified 56 days ago.

Previous Next


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