From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rustom Newsgroups: gmane.emacs.help Subject: Re: how to find out where a variable is changed? Date: Mon, 31 Mar 2008 21:08:31 -0700 (PDT) Organization: http://groups.google.com Message-ID: <011e81ea-6bef-41f9-913d-edba8aaa7a24@i29g2000prf.googlegroups.com> References: <743b3625-381c-4b76-81a9-af63b9ef6b42@e10g2000prf.googlegroups.com><87abli65gs.fsf@thalassa.informatimago.com> <049ed8ec-fc09-47e5-b8da-703f50eb2287@c26g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1207024869 12154 80.91.229.12 (1 Apr 2008 04:41:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Apr 2008 04:41:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 01 06:41:41 2008 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.50) id 1JgYJW-0002Tw-EA for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Apr 2008 06:41:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgYIr-0006kg-VZ for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Apr 2008 00:40:57 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!i29g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-NNTP-Posting-Host: 59.95.14.220 Original-X-Trace: posting.google.com 1207022911 24683 127.0.0.1 (1 Apr 2008 04:08:31 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 1 Apr 2008 04:08:31 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i29g2000prf.googlegroups.com; posting-host=59.95.14.220; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b3) Gecko/2008020513 Firefox/3.0b3,gzip(gfe),gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:157565 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:52935 Archived-At: On Mar 31, 10:27=A0pm, "Drew Adams" wrote: > > Tip: It's not a bad idea to use a separate `custom-file' (`C-h v custom-fi= le'), > so that Customize does not write to your .emacs file. Put this, for exampl= e, at > the end of your .emacs: (load-file custom-file). That way, your `init-file= ' is > for hand editing, and your `custom-file' is for automatic editing by Custo= mize. Thanks for this. I'll try it. But I am not so sure... I use emacs for quite different purposes. I like to have the customizations of these separately maintained. As a programmer I appreciate internal cleanliness more than external sugar-coating :-) However this forces me to keep my c-mode and python and org and ecb and god-knows-what-else customizations all together -- which I dont like. The problem as I see it is that the specification of initialization in .emacs is given imperatively whereas it could be more declarative and event-driven. Assuming emacs is to .emacs as linux is to init, a possible alternative that illustrates would be upstart -- see https://wiki.ubuntu.com/ReplacementInit#head-4263a0dc03fdf9b46c2004f3e63d803= 3990db10a http://upstart.ubuntu.com/index.html