[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: trusted-content seems to have effect only with sources specified.
From: |
Michelangelo Rodriguez |
Subject: |
Re: trusted-content seems to have effect only with sources specified. |
Date: |
Fri, 27 Dec 2024 10:24:05 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Michelangelo Rodriguez <michelangelo.rodriguez@gmail.com>
>> 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.
- trusted-content seems to have effect only with sources specified., Michelangelo Rodriguez, 2024/12/27
- Re: trusted-content seems to have effect only with sources specified., Eli Zaretskii, 2024/12/27
- Re: trusted-content seems to have effect only with sources specified.,
Michelangelo Rodriguez <=
- Re: trusted-content seems to have effect only with sources specified., Michelangelo Rodriguez, 2024/12/27
- Re: trusted-content seems to have effect only with sources specified., Michelangelo Rodriguez, 2024/12/27
- Re: trusted-content seems to have effect only with sources specified., Michelangelo Rodriguez, 2024/12/27
- Re: trusted-content seems to have effect only with sources specified., Eli Zaretskii, 2024/12/28
- Re: trusted-content seems to have effect only with sources specified., Stefan Monnier, 2024/12/28
- Re: trusted-content seems to have effect only with sources specified., Michelangelo Rodriguez, 2024/12/28
- Re: trusted-content seems to have effect only with sources specified., Eli Zaretskii, 2024/12/28
- Re: trusted-content seems to have effect only with sources specified., Michelangelo Rodriguez, 2024/12/28
- Re: trusted-content seems to have effect only with sources specified., Stefan Monnier, 2024/12/30