From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: trusted-content seems to have effect only with sources specified. Date: Fri, 27 Dec 2024 10:33:10 +0200 Message-ID: <861pxty189.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12135"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Michelangelo Rodriguez Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 27 09:33:56 2024 Return-path: Envelope-to: ged-emacs-devel@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 1tR5n9-0002xa-E7 for ged-emacs-devel@m.gmane-mx.org; Fri, 27 Dec 2024 09:33:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tR5mW-0002az-FT; Fri, 27 Dec 2024 03:33:16 -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 1tR5mT-0002aj-7I for emacs-devel@gnu.org; Fri, 27 Dec 2024 03:33:14 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tR5mS-0005KG-Uu; Fri, 27 Dec 2024 03:33:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=NUKhOdCe21w82X/wI4GCP8NnHVm2/uBszjWGwcxSNik=; b=mmprD4VwZNJ5 w7yuY746iD7KciLFAqHG5sWyLHRh8QNG0/6veRgePBrVV8DfSG64IlTdY1J5aGicCpadhJw160eQy KVyqDC9gLZm2ONtNYEo3gDLHYXltOlnpPVfS6r/k3zclbeQfO49VBGW3HDzDb4aZp0XmwKtjMKanu 54BiJcjbrTsgDnmpUWTeZia79aT2zA2J5XHrlqQBlWIEsrPodxWaNozkeNbHhWvq+aHtoyk652PE4 J6zdNp2NIcz7XPuPwP6jAhkrX+RT3J1ShVA/UGvG1Ezb+mxJAW72FPDpKmfeHkv80mnz6J3cBO98G paqJV3LTKQQHXui6UbUXAw==; In-Reply-To: (message from Michelangelo Rodriguez on Fri, 27 Dec 2024 08:04:17 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:327177 Archived-At: > From: Michelangelo Rodriguez > Date: Fri, 27 Dec 2024 08:04:17 +0100 > > If i set `trusted-content' to: > "~/.emacs.d/elpa/elfeed/ > And i visit say "elfeed.el", > and i enable `flymake-mode' > I get the following: > """Disabling elisp-flymake-byte-compile in elfeed.el (untrusted > content)" I cannot reproduce this. I don't have elfeed installed, but I used a different file and subdirectory of ~/.emacs.d/, and didn't get the disabling message. Can you show the precise steps to reproduce the problem, starting from "emacs -Q"? Because at least the way you set trusted-content is not clear to me: the value should be a list, but you say you set it to "~/.emacs.d/elpa/elfeed/", which is a string. Or maybe elfeed.el loads files outside of the directory you declared to be safe?