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:39:39 +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="6761"; 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:40:25 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 1tR6pU-0001be-MG for ged-emacs-devel@m.gmane-mx.org; Fri, 27 Dec 2024 10:40:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tR6os-00063w-Pe; Fri, 27 Dec 2024 04:39:46 -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 1tR6or-00063Z-DD for emacs-devel@gnu.org; Fri, 27 Dec 2024 04:39:45 -0500 Original-Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tR6op-0004KJ-Tt for emacs-devel@gnu.org; Fri, 27 Dec 2024 04:39:45 -0500 Original-Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-5d3f28881d6so9861750a12.1 for ; Fri, 27 Dec 2024 01:39:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735292381; x=1735897181; 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=fpSLv6zpe40pXI+QoMKqDqpq2SXBYVQIDTeA5c65gFQ=; b=XMkKVnTAVlGDboQMQJOJFpff8BaE+JyGSx4VV6lqbpFJa4RC+DJVN5mByVUfrGmmwW S+AVG1G8RVEKEt8BwQcKSy4thyCprvBUSFQBrWP+gWZdUjFM1bH4ve/7mAQO94KlYj9S yKaKgroJoQgVEyMqXq/gavQRMwm0L7HWGHvQ3g/vky+FvJGk6kzvt9fFf75d1KBu1byE Qvv5zuYgFN9DhA2xwBlPP1Rvox+r0Jyl/akbsnI4bdgzIjQWyC3triYwJDh6GNpUQGPS etu1KKhiONm7cadUswNhyYuDziK/5ZbJ3kqHfyVpwcnFrtc82i9GjkzXFFsu4q1pubMe MMPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735292381; x=1735897181; 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=fpSLv6zpe40pXI+QoMKqDqpq2SXBYVQIDTeA5c65gFQ=; b=Ifm77BM5vtXUhHZHw1A2huoBJ0pJ4n8G5toKFFpkGXIlmNrooaKl9zqmu2ILEM1b5S lmkVSH1k/9osw693kxnvAM5q4RUB//DimHO08eJxUzpqqNZ8VYZ8kHklMDx+NhANdenX I2fM3mmF8DuxzFR4y6KYGXVrAto2REttWoOWfIa1exripNOCpDtm+7t/3Wv2kGX2GwBP OkrOgcmyphRI7oWb4SlMBztUylulIZ3v4QApFB1ydL8ElGVFw+2ua5D6xChNH/Q2HhjF nCSNrjlHS0WlQGMcv2+kULVsa+SbiRRr8sTmashA6sE749ghjhjRIiERN9OWwevhgYhM dszg== X-Gm-Message-State: AOJu0YyeBImhrocyDrGFZmoYwMoqljlsvacHknpOBem+AaME3mF+oXgF rm1EDPB6GbhmT/I5OKdCddV0DzlwnfnkD3u6p24s1oXM397OtNC16Q23dg== X-Gm-Gg: ASbGnct8FFZkfGAIhzkmOJ2XWNCs8NJ7sztXBspMfhdMM7xDRlW703KG5fyEfWSAiaz 6xds5xMZhL6P2rVUhPJEKMdMcYaIIIys5DLzZ3RNQgPFXnIso9XrGBBSh5Uw99vnwq04JN+HDgJ kIFh1gw4B/WL+p6/+3/G8NfMKUSDgLGpST/D7XK/o1xFQFACsGfalAKcgRIblFzIc2E2iCwomRe N58QB6v8CM0AtQTq54L6QBw4sT/jbxC8L8NH3p//fzGEXrfjorbbTbcOCX0ieFexAdV90FXOGHb eYDDollWO1ctsg== X-Google-Smtp-Source: AGHT+IEXHfVb3VVkgUvaPpUgcm8Qp0nIPG1eUSmFaQ81Zl28exqmKx5c/HewMo3b5nfTuA15w59Wyg== X-Received: by 2002:a05:6402:3206:b0:5d1:2377:5af3 with SMTP id 4fb4d7f45d1cf-5d81dd83b23mr58567767a12.5.1735292381437; Fri, 27 Dec 2024 01:39:41 -0800 (PST) Original-Received: from mac-mikey.local ([37.161.211.169]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5d80675a5a8sm10498913a12.13.2024.12.27.01.39.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Dec 2024 01:39:40 -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::52f; envelope-from=michelangelo.rodriguez@gmail.com; helo=mail-ed1-x52f.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:327181 Archived-At: However, with a fresh session it works. So it should depend from something i have in my configuration file, bug what it could be? 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?