unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Zhu Zihao <all_but_last@163.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Zhu Zihao <all_but_last@163.com>, emacs-devel@gnu.org
Subject: Re: Why subr.el doesn't provide a feature?
Date: Thu, 29 Aug 2019 18:59:00 +0800	[thread overview]
Message-ID: <87pnko8cgb.wl-all_but_last@163.com> (raw)
In-Reply-To: <83k1awbg3b.fsf@gnu.org>

On Thu, 29 Aug 2019 15:12:08 +0800,
Eli Zaretskii wrote:
> 
> > Date: Thu, 29 Aug 2019 11:59:30 +0800
> > From: Zhu Zihao <all_but_last@163.com>
> > Cc: eliz@gnu.org
> > 
> > There's no form like "(provide 'subr)" in subr.el. I'm interesting in the reason
> > of not doing such thing? Is it because it will cause conflict during the
> > bootstrap? 
> 
> Because it's preloaded, I guess.

Should we add a provide form for subr? I ask this question because I see a elisp
file wrote "(require 'subr)" and no doubt that it failed to run because subr.el
didn't provide such feature.

Though it's rare condition because we just use subr.el without requiring it. But
each elisp library should provide a feature whose name is same as filename of
library on regular basis.




  reply	other threads:[~2019-08-29 10:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-29  3:59 Why subr.el doesn't provide a feature? Zhu Zihao
2019-08-29  7:12 ` Eli Zaretskii
2019-08-29 10:59   ` Zhu Zihao [this message]
2019-08-29 12:38     ` Eli Zaretskii
2019-08-31 10:12     ` Basil L. Contovounesios
2019-08-31 12:15       ` Zhu Zihao
2019-08-31 13:21         ` Basil L. Contovounesios
2019-09-01  3:30       ` Richard Stallman
2019-09-01 16:02         ` Basil L. Contovounesios

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=87pnko8cgb.wl-all_but_last@163.com \
    --to=all_but_last@163.com \
    --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 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).