all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steven Degutis <sbdegutis@gmail.com>
To: Joe Riel <joer@san.rr.com>
Cc: Help GNU Emacs <help-gnu-emacs@gnu.org>
Subject: Re: OS independent way to specify location of .emacs.d directory
Date: Wed, 3 Apr 2013 19:19:49 -0500	[thread overview]
Message-ID: <CACeWA3jAV1ir34dDsxG846Za5EovjmHcgQGEFpFk0ciTx7eBeg@mail.gmail.com> (raw)
In-Reply-To: <20130403170119.2bef743a@gauss>

[-- Attachment #1: Type: text/plain, Size: 493 bytes --]

For unix it's `user-emacs-directory` but on Windows it's trickier:
http://emacswiki.org/emacs/DotEmacsDotD

I can't vouch that's an up-to-date article though.

-Steven


On Wed, Apr 3, 2013 at 7:01 PM, Joe Riel <joer@san.rr.com> wrote:

> Is there way that specifies the path to the .emacs.d
> directory that works on Linux, Windows, and Mac?
> Currently I use
>
>   (format "%s/.emacs.d" (getenv "HOME"))
>
> However, I doubt that is necessarily correct on Windows.
>
>
> --
> Joe Riel
>
>
>

[-- Attachment #2: Type: text/html, Size: 1046 bytes --]

  reply	other threads:[~2013-04-04  0:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-04  0:01 OS independent way to specify location of .emacs.d directory Joe Riel
2013-04-04  0:19 ` Steven Degutis [this message]
2013-04-04  2:48 ` Eli Zaretskii
     [not found] <mailman.23457.1365033700.855.help-gnu-emacs@gnu.org>
2013-04-04  0:20 ` Stefan Monnier
2013-04-04 20:56   ` Oleksandr Gavenko
2013-04-04 21:04     ` Ludwig, Mark
2013-04-05  5:59       ` Eli Zaretskii
2013-04-05 13:33         ` Ludwig, Mark

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=CACeWA3jAV1ir34dDsxG846Za5EovjmHcgQGEFpFk0ciTx7eBeg@mail.gmail.com \
    --to=sbdegutis@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=joer@san.rr.com \
    /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.