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: Using the same custom file in two different OSes Date: Mon, 14 Jan 2013 22:55:14 +0100 Message-ID: <8E533B01-4964-43C6-8831-F73196C55D40@Web.DE> References: <419D9CDD3C2740E3B0E0CDE556F7BD12@us.oracle.com> <3F565B0F873C4BCCAA938FB0B136521E@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1358200528 29519 80.91.229.3 (14 Jan 2013 21:55:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Jan 2013 21:55:28 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org list" To: Dani Moncayo Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 14 22:55:45 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tus0L-0001fz-7I for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Jan 2013 22:55:41 +0100 Original-Received: from localhost ([::1]:59162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tus05-00029Z-0t for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Jan 2013 16:55:25 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Turzy-00028a-T7 for help-gnu-emacs@gnu.org; Mon, 14 Jan 2013 16:55:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Turzx-0003BC-22 for help-gnu-emacs@gnu.org; Mon, 14 Jan 2013 16:55:18 -0500 Original-Received: from mout.web.de ([212.227.15.3]:52931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Turzw-0003Av-Q1 for help-gnu-emacs@gnu.org; Mon, 14 Jan 2013 16:55:17 -0500 Original-Received: from sumac.fritz.box ([95.223.148.182]) by smtp.web.de (mrweb101) with ESMTPA (Nemesis) id 0Lylrf-1SqbuH2ys3-015PGv; Mon, 14 Jan 2013 22:55:14 +0100 In-Reply-To: X-Mailer: Apple Mail (2.1085) X-Provags-ID: V02:K0:smUXO/Mbnrs8BLWmjSYVNRZ4iD96dbJc3xo56ZQSrcw K06l1ICfPE0uyeJZI6zdC1eqhZ44gdkK1c15hu6HDhhxii1H+M J0qSkS67JRWrtFO++cEm6FOGyL0+USAQ49BP6+VAyCmHNXHBxr +9FcPM3eJoG6Uai4h8z2oZAg1S3s7pJ3xkLt7gWXx7D4ej+gzz kxZINyy7VGSwL/6N6Dl1w== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88619 Archived-At: Am 14.01.2013 um 20:42 schrieb Dani Moncayo: > Mmmm I'm afraid I'm unable to keep my custom file free of my > platform-specific stuff. See whether custom-file (a variable) can do something for you! One thing is sure: the custom-set-variables and custom-set-faces can = only exist once. For GNU Emacs (not the file system). So I have one = single body which then loads via (load custom-file) the customisations = for different GNU Emacs versions. They have names =E0 la = ~/.emacs-Abrichtung-.el =96 but it could be OS specific = as well. Practical hint: move all your customisation in one version of = custom-file. Copy this file to the other variants. Then edit these = variants on the specific platforms via GNU Emacs' customisation = interface! -- Greetings Pete There's no place like 127.0.0.1 =96 origin unknown