all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ross@rosslaird.com (Ross A. Laird)
To: help-gnu-emacs@gnu.org
Subject: Startup files data in different locations?
Date: Wed, 31 Mar 2010 20:09:19 -0700	[thread overview]
Message-ID: <87d3yjuaw0.fsf@rosslaird.info> (raw)


I have my .emacs and .gnus in ~/ as usual. I'd like to back them up
using Dropbox. I know that I could store them in my Dropbox folder and
symlink them to ~/, but I wonder if there is a better way. Could I copy
the settings in these files, place them in files in the Dropbox folder,
and then include only the load command for these files in .emacs and
.gnus? This way, I could keep my settings secure and could load them on
my Linux machines and my Mac with a single line in the startup files of
each system. No symlinks (which I am not too familiar with and don't use
much) would be required. So:

On each system, .emacs has one line:

(load-file "/home/ross/Dropbox/emacs_startup.el")
(load-file "/home/ross/Dropbox/gnus_startup.el")

Is this workable?

Cheers.

Ross

-- 
Ross A. Laird, PhD
www.rosslaird.com





             reply	other threads:[~2010-04-01  3:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-01  3:09 Ross A. Laird [this message]
2010-04-01 12:00 ` Startup files data in different locations? J. David Boyd
2010-04-01 13:57   ` Gary .

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=87d3yjuaw0.fsf@rosslaird.info \
    --to=ross@rosslaird.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.