all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Subject: Re: Emacs 22 problems with split init file
Date: Sun, 14 Jan 2007 12:14:49 +0100	[thread overview]
Message-ID: <40ED324D-6081-46C1-AACE-AB789DFD97ED@Web.DE> (raw)
In-Reply-To: <87hcuurrfd.fsf@lion.rapttech.com.au>


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.

--
Greetings

   Pete

"A mathematician is a machine that turns coffee into theorems."

  reply	other threads:[~2007-01-14 11:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-14  7:36 Emacs 22 problems with split init file Tim X
2007-01-14 11:14 ` Peter Dyballa [this message]
     [not found] ` <mailman.3046.1168773302.2155.help-gnu-emacs@gnu.org>
2007-01-15  6:42   ` Tim X
2007-01-15 10:14     ` Peter Dyballa
     [not found]     ` <mailman.3068.1168856053.2155.help-gnu-emacs@gnu.org>
2007-01-15 21:50       ` Tim X
2007-01-15 23:27         ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40ED324D-6081-46C1-AACE-AB789DFD97ED@Web.DE \
    --to=peter_dyballa@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.