all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Dani Moncayo <dmoncayo@gmail.com>
Cc: "help-gnu-emacs@gnu.org list" <help-gnu-emacs@gnu.org>
Subject: Re: Using the same custom file in two different OSes
Date: Mon, 14 Jan 2013 22:55:14 +0100	[thread overview]
Message-ID: <8E533B01-4964-43C6-8831-F73196C55D40@Web.DE> (raw)
In-Reply-To: <CAH8Pv0iy2X9D=CmauBwGWYar=bbjyyRF+hY12nrta18-=AC4ow@mail.gmail.com>


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 à la ~/.emacs-Abrichtung-<emacs version>.el – 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
			– origin unknown




  reply	other threads:[~2013-01-14 21:55 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-13 22:00 Using the same custom file in two different OSes Dani Moncayo
2013-01-13 22:18 ` Drew Adams
2013-01-14 18:46   ` Dani Moncayo
2013-01-14 19:13     ` Drew Adams
2013-01-14 19:42       ` Dani Moncayo
2013-01-14 21:55         ` Peter Dyballa [this message]
2013-01-14 23:00           ` Dani Moncayo
2013-01-15  8:25             ` Didier Verna
2013-01-15  8:42               ` Dani Moncayo
2013-01-14 22:05         ` Drew Adams
2013-01-16 21:03           ` Dani Moncayo
     [not found]           ` <mailman.17633.1358371586.855.help-gnu-emacs@gnu.org>
2013-01-17  8:43             ` Sebastien Vauban
2013-01-17 14:19               ` Drew Adams
2013-01-17 14:38                 ` Peter Dyballa
2013-01-17 15:22                   ` Dani Moncayo
2013-01-17 16:38                     ` Eli Zaretskii
2013-01-17 16:01                   ` Drew Adams
2013-01-17 16:33                   ` Eli Zaretskii
2013-01-17 16:32                 ` Eli Zaretskii
2013-01-17 16:57                   ` Drew Adams
2013-01-17 17:48                     ` Eli Zaretskii
2013-01-17 18:15                       ` Drew Adams
2013-01-17 18:44                         ` Eli Zaretskii
2013-01-15 13:27 ` Stefan Monnier
2013-01-15 20:27   ` Dani Moncayo
     [not found]   ` <mailman.17532.1358281671.855.help-gnu-emacs@gnu.org>
2013-01-16  8:58     ` Sebastien Vauban
2013-01-16 20:35       ` Dani Moncayo
2013-01-16 12:59     ` Jason Rumney

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=8E533B01-4964-43C6-8831-F73196C55D40@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=dmoncayo@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.