[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A better way to factor custom-set-faces (per OS)
From: |
Denis Bueno |
Subject: |
Re: A better way to factor custom-set-faces (per OS) |
Date: |
Thu, 27 Jul 2006 20:12:16 -0400 |
User-agent: |
Thunderbird 1.5.0.4 (Macintosh/20060516) |
Colin S. Miller wrote:
Denis,
On XEmacs, which separates out the init.el and custom.el files, I use
(setq custom-file (concat "~/.xemacs/custom-" (symbol-name system-type)
".el"))
in my init.el (.emacs.el) so that the customisation file is different for
each OS I run XEmacs on.
This is a good suggestion; I am using a set-up like this now.
My only quibble is that my custom-set-variables form, and not just
custom-set-faces, ends up there, too. Is there a compelling reason that it
should be OS-specific? Currently all my custom-set-variables apply to both
platforms:
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(auto-save-interval 100)
'(case-fold-search t)
'(column-number-mode t)
'(current-language-environment "English")
'(default-major-mode (quote text-mode))
'(global-auto-revert-mode t)
'(indent-tabs-mode nil)
'(inhibit-splash-screen t)
'(mark-even-if-inactive t)
'(org-agenda-files (quote ("~/org/school.org" "~/org/bscs.org"
"~/org/home.org" "~/org/jnp-verify.org" "~/org/phd.org" "~/org/manolios.org"
"~/org/abl.org")))
'(ring-bell-function (quote ignore) t)
'(save-place t nil (saveplace))
'(scroll-bar-mode (quote left))
'(show-paren-style (quote mixed))
'(show-trailing-whitespace nil)
'(transient-mark-mode t)
'(truncate-lines nil)
'(uniquify-buffer-name-style (quote forward) nil (uniquify)))
Is there an easy way to maintain all these variable settings across both custom
files?
-Denis
Re: emacs ssh, Hadron Quark, 2006/07/26