[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 11:07:03 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
There is the backtrace i get:
"Debugger entered--Lisp error: (error "Disabling elisp-flymake-byte-compile in
greader.el (untrusted content)")
error("Disabling elisp-flymake-byte-compile in %s (untrusted content)"
"greader.el")
elisp-flymake-byte-compile(#f(compiled-function (&rest args) #<bytecode
-0x15eb6515a3691f83>))
apply(elisp-flymake-byte-compile #f(compiled-function (&rest args) #<bytecode
-0x15eb6515a3691f83>) nil)
flymake--run-backend(elisp-flymake-byte-compile nil)
#f(compiled-function (backend) #<bytecode
-0x7f65577e7e0159b>)(elisp-flymake-byte-compile)
flymake-start((on-display) nil)
#f(compiled-function () #<bytecode 0x883a798531d0c11>)()
".
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?
- 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, 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 <=
- 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