[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trust API
From: |
Suhail Singh |
Subject: |
Re: Trust API |
Date: |
Wed, 23 Apr 2025 09:20:52 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
> Then maybe we should have a third option, to trust this buffer.
I think having finer-grained options of what to mark trusted (vs not) is
useful. This is in contrast to introducing additional trust states
which would violate the unknown-is-untrusted assumption and, thus, IMO
wouldn't be useful.
Regarding things to mark as trusted, the following distinction comes to
mind:
- file :: unless I'm mistaken, I believe this is currently possible.
- buffer :: I don't believe this is possible yet, but would be a useful
addition. Specifically, in the example that Ihor gave the trust
status of the buffer could be used to decide how to handle
`org-babel-execute-buffer'.
- region :: I don't believe this is possible at present, but too would
be a useful addition. With the above running example of executing
snippets of code in an Org file, this would correspond to the command
`org-babel-execute-subtree'.
Thoughts?
--
Suhail
- Trust API (was: bug#74879: 30.0.92; trusted-content-p and trusted-files cannot be used for non-file buffers), Ihor Radchenko, 2025/04/21
- Re: Trust API (was: bug#74879: 30.0.92; trusted-content-p and trusted-files cannot be used for non-file buffers), Eli Zaretskii, 2025/04/21
- Re: Trust API (was: bug#74879: 30.0.92; trusted-content-p and trusted-files cannot be used for non-file buffers), Ihor Radchenko, 2025/04/21
- Re: Trust API (was: bug#74879: 30.0.92; trusted-content-p and trusted-files cannot be used for non-file buffers), Eli Zaretskii, 2025/04/21
- Re: Trust API (was: bug#74879: 30.0.92; trusted-content-p and trusted-files cannot be used for non-file buffers), Ihor Radchenko, 2025/04/21
- Re: Trust API (was: bug#74879: 30.0.92; trusted-content-p and trusted-files cannot be used for non-file buffers), Eli Zaretskii, 2025/04/21
- Re: Trust API (was: bug#74879: 30.0.92; trusted-content-p and trusted-files cannot be used for non-file buffers), Ihor Radchenko, 2025/04/21
- Re: Trust API (was: bug#74879: 30.0.92; trusted-content-p and trusted-files cannot be used for non-file buffers), Eli Zaretskii, 2025/04/21
- Re: Trust API (was: bug#74879: 30.0.92; trusted-content-p and trusted-files cannot be used for non-file buffers), Ihor Radchenko, 2025/04/21
- Re: Trust API,
Suhail Singh <=
- Re: Trust API, Ihor Radchenko, 2025/04/23
- Re: Trust API, Richard Stallman, 2025/04/26
- Re: Trust API, Eli Zaretskii, 2025/04/27
- Re: Trust API, Ihor Radchenko, 2025/04/27