From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Mattie Newsgroups: gmane.emacs.help Subject: Re: Nice Emacs Lisp Date: Wed, 18 Mar 2009 15:42:35 -0700 Message-ID: <20090318224234.GB6695@reforged> References: <87mybiamwi.fsf@mundaneum.com> <20090318213115.GA6695@reforged> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9zSXsLTf0vkW971A" X-Trace: ger.gmane.org 1237416198 1260 80.91.229.12 (18 Mar 2009 22:43:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Mar 2009 22:43:18 +0000 (UTC) Cc: emacs help To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 18 23:44:35 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 1Lk4Uz-0007Og-6Q for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Mar 2009 23:44:33 +0100 Original-Received: from localhost ([127.0.0.1]:50602 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lk4Tc-00009b-T5 for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Mar 2009 18:43:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lk4TF-00009L-QR for help-gnu-emacs@gnu.org; Wed, 18 Mar 2009 18:42:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lk4TA-00007s-Lf for help-gnu-emacs@gnu.org; Wed, 18 Mar 2009 18:42:44 -0400 Original-Received: from [199.232.76.173] (port=48152 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lk4TA-00007n-Hf for help-gnu-emacs@gnu.org; Wed, 18 Mar 2009 18:42:40 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.244]:17837) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lk4TA-0008QL-4X for help-gnu-emacs@gnu.org; Wed, 18 Mar 2009 18:42:40 -0400 Original-Received: by rv-out-0708.google.com with SMTP id f25so256826rvb.6 for ; Wed, 18 Mar 2009 15:42:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=BwJKtt+BD9nTgImfSph48fe2sOUQnOdbmOwAS1FFUdE=; b=axdr7q3WRLYgsMYWCj0oFRdxLVc1R9bFo9ms02lEGkPB9aTaUvNyECuCgewonh57fY 0v1M05y0Q8a6CzI9ZC2EKxN+2VeBgbDpQaQff5ZZx6F7225psoDBAFMDkC5uBQj5pmn4 EDwvoSLMAmwA50Z0mPqXtFZSINv4jHw+2lwlw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=edKrokDtBTZ7X0ObbnicJiNBG/IgnE2h1CkqfA4e0ZkiRfRjN4krx+8w/IWzFgVhin Sp51BgmxNlpzGST2xBGltD6GKroFq4z8PTLekji180XIGA5crI9f3yZj9uSmxaBMM7gp v6wEe9KdasHTqRUPP/wNtfO12o3BKBojPXgX4= Original-Received: by 10.141.36.17 with SMTP id o17mr403220rvj.254.1237416157495; Wed, 18 Mar 2009 15:42:37 -0700 (PDT) Original-Received: from @ (c66-235-1-45.sea2.cablespeed.com [66.235.1.45]) by mx.google.com with ESMTPS id k2sm811193rvb.4.2009.03.18.15.42.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 18 Mar 2009 15:42:36 -0700 (PDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:63060 Archived-At: --9zSXsLTf0vkW971A Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 18, 2009 at 11:13:02PM +0100, Peter Dyballa wrote: > > 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=20 > loaded after the user-init-file (which is a variable containing the file= =20 > name, including directory, of the user's initialisation file). elegant, but isn't the custom-file scribbled on by customize ? =46rom my memory it is really a data file, though it is elisp. > -- > Greetings > > Pete > > For some reason, this fortune reminds everyone of Marvin Zelkowitz. > > --=20 GnuPG Key: B9012279 is available from HKP server pgp.mit.edu --9zSXsLTf0vkW971A Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAknBeNoACgkQdfRchrkBInmsvQCeLSbz9hIHbWgRNeyYLleIYSNd QaUAn2S7N9NGJpVUW0n3BXqbiLCpyXIo =gJYJ -----END PGP SIGNATURE----- --9zSXsLTf0vkW971A--