From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pjb@informatimago.com (Pascal J. Bourguignon) Newsgroups: gmane.emacs.help Subject: Re: Make a "general" Emacs configuration Date: Tue, 10 Aug 2010 18:11:00 +0200 Organization: Informatimago Message-ID: <87wrry1m97.fsf@kuiper.lan.informatimago.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291860367 12724 80.91.229.12 (9 Dec 2010 02:06:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 02:06:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 03:06:03 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQVtS-0001d7-9C for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 03:06:02 +0100 Original-Received: from localhost ([127.0.0.1]:60691 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQVtR-000604-Nf for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 21:06:01 -0500 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-X-Trace: individual.net XVbiREL9OYev0eJb2ShLUA0Urt4BQHcbPC48cDxgodfEEE/nTS Cancel-Lock: sha1:NmE2MjNhM2FhYzNhMmUzOGE1NWMwMDBjNzFiNzllYjI2ZGNiMjM2NQ== sha1:TyU1+xhdw5Jivug+gwPdhOhpAuQ= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.101 (Gnus v5.10.10) Emacs/23.2 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:180544 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76442 Archived-At: Andrea Crotti writes: > I feel that I have to change something in my emacs configuration, what I > would like to have is something similar to the linux kernel, where you > can disable enable things and they keep track of the dependencies. > > Using many autoloads and hooks it should not be a problem of course but > I would like to make more modular. > > But the first thing to do is to move out everything I don't develop. > For example all the packages that I pull from git, should not be in my > own git repository, but if I move them out then I need to download them > every time, and the version could be different. > > I think that git submodule could be the way to go, BUT I would like to > keep the same version also, so I upgrade only once and I keep > consistency everywhere. > > Reading now again the doc looks like it could work exactly like that > anyway, but I still have some troubles understanding the submodules... > > Any example or idea is welcome... You could just rely on the work done by your linux distribution. For example, gentoo automatically updates the site-start.el file (actually site-gentoo.el, loaded from site-start.el), when you install, update or remove packages from the app-emacs category. -- __Pascal Bourguignon__ http://www.informatimago.com/