From: Jean Louis <bugs@gnu.support>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Is it expected to have reserved "system.el"?
Date: Wed, 4 Jan 2023 00:30:39 +0300 [thread overview]
Message-ID: <Y7SefyJ3eYQI1iz7@protected.localdomain> (raw)
In-Reply-To: <83k02427g7.fsf@gnu.org>
* Eli Zaretskii <eliz@gnu.org> [2023-01-02 20:05]:
> > As you may see Emacs expects users to define function
> > `system-move-file-to-trash' and based on that, is there notion that
> > package named "system.el" is reserved for users on specific computer?
>
> No and no. What the above says is that if the function by that name
> is defined, it will be used. We have 2 platforms which define such a
> function: MS-Windows and macOS. On other platforms, we use our own
> Lisp code in move-file-to-trash. We don't _expect_ users to define
> such a function. And there's no claim here that no other function can
> be called system-SOMETHING.
Alright, I got it now. Surprising.
It should be part of docstring.
> > Is prefix `system-' maybe reserved from Emacs for every specific
> > system (computer)?
>
> No.
Thank you.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
prev parent reply other threads:[~2023-01-03 21:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-02 9:49 Is it expected to have reserved "system.el"? Jean Louis
2023-01-02 12:34 ` Eli Zaretskii
2023-01-02 16:35 ` Jean Louis
2023-01-02 17:05 ` Eli Zaretskii
2023-01-03 21:30 ` Jean Louis [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y7SefyJ3eYQI1iz7@protected.localdomain \
--to=bugs@gnu.support \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.