From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Emacs 22 problems with split init file Date: Mon, 15 Jan 2007 17:42:43 +1100 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87d55gssd8.fsf@lion.rapttech.com.au> References: <87hcuurrfd.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1168881253 11049 80.91.229.12 (15 Jan 2007 17:14:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Jan 2007 17:14:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 15 18:14:11 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by lo.gmane.org with esmtp (Exim 4.50) id 1H6VJc-0002Ab-Ic for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jan 2007 18:08:12 +0100 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1H6VIv-00008H-Nk for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jan 2007 18:07:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6MT1-0000VY-Cm for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Jan 2007 02:41:19 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xt-sjc-05!sn-xt-sjc-06!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) Cancel-Lock: sha1:f1F/Exaa6tgGhrMHy8DgucRx5Q0= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 39 Original-Xref: shelby.stanford.edu gnu.emacs.help:144697 Original-To: help-gnu-emacs@gnu.org 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:40308 Archived-At: Peter Dyballa writes: > Am 14.01.2007 um 08:36 schrieb Tim X: > >> I wanted to break up my .emacs file so that I can run either emacs 22 or >> emacs >> 21. > > I have a different layout, which also puts the customisation (or > desktop/session settings) into different files – and I suppose it's the > customisation that leads to your crashes (I really have no customisation in > ~/.emacs and neither a *common* customisation file): > > (defconst mWS (symbol-value 'window-system) > "Running as some windowing system's client, > or as slave of a terminal emulator?") > (setq custom-file (format "~/.emacs-Abrichtung-%d.el" emacs-major- > version)) > (load custom-file) > (load (format "~/.emacs_%s" mWS)) > > In ~/.emacs blocks are built for different Emacs versions. > > > I'd recommend to remove ~/.emacs-custom.el and put its contents into both > ~/.emacs2?-custom.el files. > > -- Thanks Pete. Actually, I have my custom variable stuff in two different files already - one for emacs22 and one for emacs 21. The emacs-custom.el file is a catch-all in case things were not working and theoretically, should never get called or have anything written into it. However, I do suspect it is something related to the customize stuff which is causeing the seg faults. Tim -- tcross (at) rapttech dot com dot au