From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michelangelo Rodriguez Newsgroups: gmane.emacs.devel Subject: Re: trusted-content seems to have effect only with sources specified. Date: Fri, 27 Dec 2024 10:24:05 +0100 Message-ID: References: <861pxty189.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33130"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 27 10:25:03 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 1tR6ad-0008UV-4M for ged-emacs-devel@m.gmane-mx.org; Fri, 27 Dec 2024 10:25:03 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tR6Zo-0004Ea-A0; Fri, 27 Dec 2024 04:24:12 -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 1tR6Zn-0004ER-KM for emacs-devel@gnu.org; Fri, 27 Dec 2024 04:24:11 -0500 Original-Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tR6Zm-0002Vr-4K for emacs-devel@gnu.org; Fri, 27 Dec 2024 04:24:11 -0500 Original-Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a9e44654ae3so1147431266b.1 for ; Fri, 27 Dec 2024 01:24:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735291448; x=1735896248; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=jdpbZ7pA7TiSge6F/lIrmqAylRTuutstqQT7XpSBww4=; b=ld+d/8HAnC8FHLvs3/HMVrZ00WdGkcJXClD37xTIIZuJdEcMY0iqu//nBjb0+btn8K eSTmzIWcOw3aHITLUGz21Pfa2Y+UpHBDSyQITlh/uR8XZ7C33w8WZjI44Y9WFedTv8tc y1PdDaESRHHEGA9qfuLBLQBUVWDW7iiXvXcBUC7ZqMAWkIiAtm5K5JVE85U5CwgGWc2t vhINlNQphRgQqEWQbV+Qtnh3hOyg0T09WveB/V0TWS+Lds+3k7AnQ6UB7HQLMiJLwg7i aT17gVumgqHhapm2G9UM5DsEdRJ9M7q43wbZu9YRvf/v4xXJCpz4s0v72I4CwM8yXufl uTxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735291448; x=1735896248; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=jdpbZ7pA7TiSge6F/lIrmqAylRTuutstqQT7XpSBww4=; b=YnZgqG0lUH2R1LWl4F2ENrkATYglQzimCkGNMcIw2IpEdN5B4HyFOgDX6PRXrYlqZy X8hzP7rkTqiGsSCnFAB1gwaeizcSd7ZcuKbJv1VI5bX3nVR2lwl8qBe9tcbZb8ad+wuu Nl2dIl1cBdqFqz4jfXVfRZ9j0Wyk8Sj1AdWdXlm9DhsKnGbA7dzm0trcq7BCsE34C5MG h24PLB1ToAXPKDb0wMDzB7MyIlo0SPSAMU+mq6LevqUHY31yzccIeDtKrVCRz7Ximrbe fqaScst4AJJquXFPtT3Dle83BBOwqxABluKQ1HVX5nQD5VqzPtDUB8RrJEFWngczc4gx PAbw== X-Gm-Message-State: AOJu0YwyUgEq4DD2XWYVj+9HoBbF5uth5XSeCrqdv1JTiSSc0WY+uIEd Y51ETzMZcjwoHDGOHFbVUAnn4jl9JRCaHh8uWTS/NawYdZx2WRs14VMvfQ== X-Gm-Gg: ASbGncvXoLuT1Wo/fmF1U39d6JtLv5XGMYSh4b7i6houBhyl9U20q9AodUAlt3Y8MZv S4ogz9CYyNR6oTkkKyzcyg4W6PON583ewsOHxVUy7wOCBpyJqtBvIKHTNTEVekrAVyTvmnqsrBV M/K4oKJ4HZ3ylRcGd6z8W0QAjs0AV37gkve4zmoYQpThKeztbGIKEubHB3z17+6M+SG/Ux9D/J0 3A49ZO2x74C+Emes8Zqw/AnvEonIkIPyBtk3lnU1mn/JtHNJ7uk0HmhmK2ht58m4QHYK7T1ZvUt V2WZhamhJY744w== X-Google-Smtp-Source: AGHT+IG+sn9UUMVgsX8DNsX98ALtNARMOHP8x4rKhnyRCb8BZ89QkUJrpn8f9yT24uxJ9Rm/6sDAow== X-Received: by 2002:a17:907:9345:b0:aae:ea52:3a5 with SMTP id a640c23a62f3a-aaeea5204bemr1205547766b.44.1735291447629; Fri, 27 Dec 2024 01:24:07 -0800 (PST) Original-Received: from mac-mikey.local ([37.161.211.169]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0efe494dsm1101821066b.101.2024.12.27.01.24.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Dec 2024 01:24:07 -0800 (PST) In-Reply-To: <861pxty189.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 27 Dec 2024 10:33:10 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::62e; envelope-from=michelangelo.rodriguez@gmail.com; helo=mail-ej1-x62e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:327180 Archived-At: Eli Zaretskii writes: >> 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? Sorry, i copied the contents of the customization buffer, but it is a list. The value is: ("~/.emacs.d/elpa/greader/greader.el" "~/.emacs.d/elpa/elfeed/") With this value, i can enable flymake-mode in greader.el but not in elfeed.el. If i set '("~/.emacs.d/elpa/greader/") either in greader.el i get the message.