unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Morgan Willcock <morgan@ice9.digital>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Stefan Kangas <stefankangas@gmail.com>,
	 Eli Zaretskii <eliz@gnu.org>,
	rms@gnu.org,  emacs-devel@gnu.org
Subject: Re: Please rename trusted-content to trusted-contents
Date: Sun, 22 Dec 2024 18:01:51 +0000	[thread overview]
Message-ID: <86seqfbnqo.fsf@ice9.digital> (raw)
In-Reply-To: <jwvh66wba58.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sat, 21 Dec 2024 23:48:45 -0500")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>>> so if he is okay with that name, we are not in a bad place.
>>> I'm copying in Stefan Monnier, in case he has any comments.
>> Indeed, I hesitated between `trusted-content` and `trusted-contents` but
>> not long enough to learn which is right.
>
> OK, I tried to figure it out, but at least the info I found wasn't
> very definitive.  It seems to have to do with whether it's countable or
> not, or whether it describe the "conceptual ideas" contained as opposed
> to the actual elements contained.
> I'm not sure which is more appropriate in this case and even less sure
> that one of the two is wrong.
>
> A related question is what to do with `untrusted-content` (which is the
> identifier with which I aligned mine).  If we rename `trusted-content`,
> we should likely rename `untrusted-content` as well (and this one
> would require a backward compatibility alias).

Isn't it the file path that is being configured and trusted rather than
the file content(s)?  I would have expected something like trusted-paths
and untrusted-paths.

I only speak English, but "content(s)" seems more confusing to me
because another file with the same content(s) isn't necessarily going to
be treated in the same way.

I think similar features in other software will only refer to the
settings as locations to trust.  Here are two examples:
https://code.visualstudio.com/docs/editor/workspace-trust
https://support.microsoft.com/en-us/office/add-remove-or-change-a-trusted-location-in-microsoft-office-7ee1cdc2-483e-4cbb-bcb3-4e7c67147fb4

-- 
Morgan Willcock



  reply	other threads:[~2024-12-22 18:01 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-20  5:23 Please rename trusted-content to trusted-contents Richard Stallman
2024-12-20  7:52 ` Eli Zaretskii
2024-12-20  9:42   ` Stefan Kangas
2024-12-20 12:30     ` Eli Zaretskii
2024-12-22  4:06       ` Stefan Kangas
2024-12-22  4:36         ` Stefan Monnier
2024-12-22  4:48           ` Stefan Monnier
2024-12-22 18:01             ` Morgan Willcock [this message]
2024-12-24  5:17               ` Stefan Monnier
2024-12-24  7:32                 ` tomas
2024-12-22 18:30             ` [External] : " Drew Adams
2024-12-23  0:31               ` Björn Bidar
2024-12-24  4:53               ` Richard Stallman
2024-12-23  4:08             ` Richard Stallman
2024-12-23 13:32               ` Björn Bidar
     [not found]               ` <87ed1yv82u.fsf@>
2024-12-25  4:48                 ` Richard Stallman
2024-12-24  5:14             ` Stefan Monnier
2024-12-23  4:08     ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86seqfbnqo.fsf@ice9.digital \
    --to=morgan@ice9.digital \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rms@gnu.org \
    --cc=stefankangas@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).