bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#74879: 30.0.92; trusted-content-p and trusted-files cannot be used f


From: Dmitry Gutov
Subject: bug#74879: 30.0.92; trusted-content-p and trusted-files cannot be used for non-file buffers
Date: Mon, 16 Dec 2024 15:32:31 +0200
User-agent: Mozilla Thunderbird

On 15/12/2024 12:16, Daniel Mendler via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote:
For example in my GNU ELPA Corfu package the plan was to check
`(trusted-content-p)' when starting auto completion.

Shouldn't that be done in the c-a-p-f function?

To be clear - Corfu
is safe by default, since auto completion is disabled by default.
However many people enable auto completion unconditionally in all
buffers.

Having completion invoked manually doesn't really ensure that the user knows about the odds of it running code from the current file. Some languages do that, some don't, and the newbie Lisp users have little idea of what macro expansion in completion entails.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]