unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Jordon Biondo <jordonbiondo@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: window.el has no provide
Date: Thu, 12 Feb 2015 16:12:39 -0500	[thread overview]
Message-ID: <jwv386aet6q.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <EA259D27-BF3F-44AD-995B-9E3B599B3FE1@gmail.com> (Jordon Biondo's message of "Thu, 12 Feb 2015 14:32:32 -0500")

> My init generates requires for all packages I have configurations for which
> is why I’m requiring ‘window in the first place.

Beware: some config vars can move because of file-renamings, so the
`require' might then fail.  Other problems can be that some custom vars
might be in files which shouldn't directly be required (you should
require the "parent" file instead).

FWIW, I don't have a single `require' in my ~/.emacs which sits at
about 60KB.

Usually `require' is needed in Elisp packages, but not in ~/.emacs.
So if/when you do need it there, it's worth reporting it via
M-x report-emacs-bug: there are definitely cases where it's not a bug
that the user needs to do a `require', but for "normal" use it
shouldn't be needed.

> Real problem or not, I thought it was weird that there was no provide.

Many of the preloaded files aren't really considered as independent
packages, instead they're just a convenient place to group related
functionality of the base system.
So they don't come with a `provide' statement.
I think it's good to structure even this "base system" as "independent"
packages, but there are many other things which would be nice, so we
can't do them all.


        Stefan



      reply	other threads:[~2015-02-12 21:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-12 15:52 window.el has no provide Jordon Biondo
2015-02-12 18:45 ` Stefan Monnier
2015-02-12 19:32   ` Jordon Biondo
2015-02-12 21:12     ` Stefan Monnier [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

  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=jwv386aet6q.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=jordonbiondo@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).