unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tim X <timx@nospam.dev.null>
Subject: Re: Emacs 22 problems with split init file
Date: Mon, 15 Jan 2007 17:42:43 +1100	[thread overview]
Message-ID: <87d55gssd8.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: mailman.3046.1168773302.2155.help-gnu-emacs@gnu.org

Peter Dyballa <Peter_Dyballa@Web.DE> 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

  parent reply	other threads:[~2007-01-15  6:42 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
     [not found] ` <mailman.3046.1168773302.2155.help-gnu-emacs@gnu.org>
2007-01-15  6:42   ` Tim X [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87d55gssd8.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).