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: Mon, 2 Jan 2023 19:35:26 +0300 [thread overview]
Message-ID: <Y7MHzltt3XltjXn6@protected.localdomain> (raw)
In-Reply-To: <83y1ql15e8.fsf@gnu.org>
* Eli Zaretskii <eliz@gnu.org> [2023-01-02 15:35]:
> I don't understand these questions, and therefore cannot answer them.
>
> Please provide more concrete details: which code you tried to use, and
> what was the exact message you saw (please cite the message exactly as
> shown by Emacs). Without these details, I cannot understand what
> exactly happened in your case.
Here it is:
> move-file-to-trash is an interactive byte-compiled Lisp function in
> ‘files.el’.
> (move-file-to-trash FILENAME)
> Move the file (or directory) named FILENAME to the trash.
> When ‘delete-by-moving-to-trash’ is non-nil, this function is
> called by ‘delete-file’ and ‘delete-directory’ instead of
> deleting files outright.
> If the function ‘system-move-file-to-trash’ is defined, call it
> with FILENAME as an argument.
> Otherwise, if ‘trash-directory’ is non-nil, move FILENAME to that
> directory.
> Otherwise, trash FILENAME using the freedesktop.org conventions,
> like the GNOME, KDE and XFCE desktop environments. Emacs moves
> files only to "home trash", ignoring per-volume trashcans.
> Probably introduced at or before Emacs version 23.2.
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?
Is prefix `system-' maybe reserved from Emacs for every specific
system (computer)?
That is by chance exactly what I do, and I would favorite that approach.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
next prev parent reply other threads:[~2023-01-02 16:35 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 [this message]
2023-01-02 17:05 ` Eli Zaretskii
2023-01-03 21:30 ` Jean Louis
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=Y7MHzltt3XltjXn6@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.