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: Nice Emacs Lisp Date: Wed, 18 Mar 2009 23:13:02 +0100 Message-ID: References: <87mybiamwi.fsf@mundaneum.com> <20090318213115.GA6695@reforged> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1237414433 28176 80.91.229.12 (18 Mar 2009 22:13:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Mar 2009 22:13:53 +0000 (UTC) Cc: emacs help To: Mike Mattie Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 18 23:15:07 2009 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 1Lk42S-0005V0-SO for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Mar 2009 23:15:05 +0100 Original-Received: from localhost ([127.0.0.1]:42596 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lk415-0008D3-KX for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Mar 2009 18:13:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lk40k-0008Cm-F1 for help-gnu-emacs@gnu.org; Wed, 18 Mar 2009 18:13:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lk40f-0008CK-NQ for help-gnu-emacs@gnu.org; Wed, 18 Mar 2009 18:13:18 -0400 Original-Received: from [199.232.76.173] (port=51952 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lk40f-0008CH-Ib for help-gnu-emacs@gnu.org; Wed, 18 Mar 2009 18:13:13 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:47700) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lk40f-00057W-7l for help-gnu-emacs@gnu.org; Wed, 18 Mar 2009 18:13:13 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate03.web.de (Postfix) with ESMTP id EFC2CF95068D; Wed, 18 Mar 2009 23:13:10 +0100 (CET) Original-Received: from [91.35.238.9] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.110 #277) id 1Lk40c-0002Fd-00; Wed, 18 Mar 2009 23:13:10 +0100 In-Reply-To: <20090318213115.GA6695@reforged> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1+lYiIc9quWwataxquhCOaCJ+wJwdD6Eg4iGGcH 18HyaYBGwnQPGseXOp4lRIoiAQmzIXwKkMhi9GSHhC1jNUt3d1 m520FqTQpg74AmX/68Yw== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:63058 Archived-At: Am 18.03.2009 um 22:31 schrieb Mike Mattie: > (load-user-elisp > (cond > ((string-equal "gnu/linux" system-type) "linux.el") > ((string-equal "darwin" system-type) "darwin.el") > ((string-equal "windows" system-type) "windows.el"))) It's also possible to set the variable custom-file to something like (setq custom-file (format "~/.emacs-Abrichtung-%d.el" system-type)) Then all customisation would go into this file. And this file would be loaded after the user-init-file (which is a variable containing the file name, including directory, of the user's initialisation file). -- Greetings Pete For some reason, this fortune reminds everyone of Marvin Zelkowitz.