From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: window.el has no provide Date: Thu, 12 Feb 2015 16:12:39 -0500 Message-ID: References: <9332B768-1714-4C84-88E5-91A8197F53AF@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1423775594 21739 80.91.229.3 (12 Feb 2015 21:13:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Feb 2015 21:13:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jordon Biondo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 12 22:13:05 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YM14L-0007nI-84 for ged-emacs-devel@m.gmane.org; Thu, 12 Feb 2015 22:13:05 +0100 Original-Received: from localhost ([::1]:52178 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YM14K-0007i3-L0 for ged-emacs-devel@m.gmane.org; Thu, 12 Feb 2015 16:13:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YM146-0007hw-0f for emacs-devel@gnu.org; Thu, 12 Feb 2015 16:12:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YM13z-00079G-5l for emacs-devel@gnu.org; Thu, 12 Feb 2015 16:12:49 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:37716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YM13z-00078W-1E for emacs-devel@gnu.org; Thu, 12 Feb 2015 16:12:43 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t1CLCd6f020646; Thu, 12 Feb 2015 16:12:39 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 54F9DA4F; Thu, 12 Feb 2015 16:12:39 -0500 (EST) In-Reply-To: (Jordon Biondo's message of "Thu, 12 Feb 2015 14:32:32 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5215=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5215> : inlines <2156> : streams <1389191> : uri <1853619> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:182980 Archived-At: > My init generates requires for all packages I have configurations for whi= ch > is why I=E2=80=99m requiring =E2=80=98window 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