|
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 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |