From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Emacs 22 problems with split init file Date: Sun, 14 Jan 2007 12:14:49 +0100 Message-ID: <40ED324D-6081-46C1-AACE-AB789DFD97ED@Web.DE> References: <87hcuurrfd.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1168773376 18022 80.91.229.12 (14 Jan 2007 11:16:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 14 Jan 2007 11:16:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 14 12:16:14 2007 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 1H63LO-00027J-TR for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Jan 2007 12:16:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H63LO-0007b1-5G for geh-help-gnu-emacs@m.gmane.org; Sun, 14 Jan 2007 06:16:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H63KD-0007Yk-E9 for help-gnu-emacs@gnu.org; Sun, 14 Jan 2007 06:14:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H63KA-0007XN-DP for help-gnu-emacs@gnu.org; Sun, 14 Jan 2007 06:14:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H63K9-0007X4-U6 for help-gnu-emacs@gnu.org; Sun, 14 Jan 2007 06:14:54 -0500 Original-Received: from [217.72.192.227] (helo=fmmailgate02.web.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H63K9-0007M1-JM for help-gnu-emacs@gnu.org; Sun, 14 Jan 2007 06:14:53 -0500 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate02.web.de (Postfix) with ESMTP id 71D2A5102823 for ; Sun, 14 Jan 2007 12:14:52 +0100 (CET) Original-Received: from [84.245.190.175] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.107 #114) id 1H63K8-0005zB-00 for help-gnu-emacs@gnu.org; Sun, 14 Jan 2007 12:14:52 +0100 In-Reply-To: <87hcuurrfd.fsf@lion.rapttech.com.au> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: help-gnu-emacs list X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de 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:40290 Archived-At: 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 =20 > 22 or emacs > 21. I have a different layout, which also puts the customisation (or =20 desktop/session settings) into different files =96 and I suppose it's =20= the customisation that leads to your crashes (I really have no =20 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-=20 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 =20 both ~/.emacs2?-custom.el files. -- Greetings Pete "A mathematician is a machine that turns coffee into theorems."