[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it expected to have reserved "system.el"?

From: Jean Louis
Subject: Re: Is it expected to have reserved "system.el"?
Date: Wed, 4 Jan 2023 00:30:39 +0300
User-agent: Mutt/2.2.9+54 (af2080d) (2022-11-21)

* 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.


Take action in Free Software Foundation campaigns:

In support of Richard M. Stallman

reply via email to

[Prev in Thread] Current Thread [Next in Thread]