unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: John Yates <john@yates-sheets.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: "Thomas Koch" <thomas@koch.ro>,
	"Tyler Smith" <tyler.smith@mail.mcgill.ca>,
	"Jan Djärv" <jan.h.d@swipnet.se>,
	"Emacs developers" <emacs-devel@gnu.org>
Subject: Re: Emacs and XDG Base Dir Spec was: persistent storage for Emacs packages
Date: Mon, 21 Oct 2013 09:31:16 -0400	[thread overview]
Message-ID: <CAJnXXoi6hipR23X7cq=+3_WUkZvaAkLGcPvTdH3NHZ6dhGp2Ag@mail.gmail.com> (raw)
In-Reply-To: <jwvwql67ppc.fsf-monnier+emacs@gnu.org>

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

I found the discussion at the bottom of this page (Thomas Koch's 2nd
reference) helpful:

  https://wiki.debian.org/XDGBaseDirectorySpecification#state

Decomposing emacs' use of external storage more or less according to the
enumerated criteria is simply good hygiene.  It does not means that you
have to embrace the freedesktop standard.

In my own case I have already partitioned my emacs world into ~/emacs/ (a
non-hidden directory containing elements I manage via github) and
~/.emacs.d/ (everything recreatable).  In particular, with the advent of
better package management I put all downloaded packages beneath
~/.emacs.d/, on the theory that they can be recreated via download.  By
contrast I put the configuration for those packages in ~/emacs/.

/john


On Mon, Oct 21, 2013 at 8:58 AM, Stefan Monnier <monnier@iro.umontreal.ca>wrote:

> > The freedesktop standards tend to come and go and change quite a bit.
> > Are we contemplating this "standard" for non-freedesktop systems also?
>
> We could work our way slowly in that direction.
>
> Currently ~/.emacs.d is pretty messy, so it might be good to try and
> "clean it up", and along the way, we could try and integrate some of
> XDG's suggestions.  Not sure how much of XDG would be useful, tho.
>
> E.g. we could start with a ~/.emacs.d/cache/ directory where all the
> files that can be reconstructed would go.  Tho there aren't many such
> files, IIRC.
>
> But w.r.t "config vs data" this distinction is far from clear.
>
> Still, we have the problem with ~/.emacs.d that many users put their
> elisp packages in there and then add it to their load-path.  I think
> we should at least try and detect this usage and emit a warning (but
> we shouldn't just say "don't do that", so we need to agree on
> a recommendation of where to put those packages).
>
>
>         Stefan
>
>

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

  reply	other threads:[~2013-10-21 13:31 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-18 16:45 persistent storage for Emacs packages Tyler Smith
2013-10-18 17:44 ` Thorsten Jolitz
2013-10-18 19:54 ` Stefan Monnier
2013-10-18 22:37   ` Josh
2013-10-18 22:49     ` Rüdiger Sonderfeld
2013-10-18 23:00       ` Josh
     [not found]       ` <18713_1382137341_5261BDFD_18713_15_2_da88b78b76204dbcbbf9b5a4acbe6a0c@EXHUB2010-3.campus.MCGILL.CA>
2013-10-19  1:37         ` Tyler Smith
     [not found] ` <19473_1382126090_5261920A_19473_52_3_0b1fb8bede554cb79d9303697d2056a2@EXHUB2010-3.campus.MCGILL.CA>
2013-10-18 20:01   ` Tyler Smith
2013-10-19  1:53     ` Stefan Monnier
2013-10-18 22:45 ` Karl Fogel
2013-10-18 22:48   ` Nic Ferrier
2013-11-21 16:13     ` Ted Zlatanov
2013-11-22 13:40       ` Stefan Monnier
2013-11-25 13:30         ` Ted Zlatanov
2013-11-25 16:58           ` Nic Ferrier
2013-11-25 19:21             ` Ted Zlatanov
2013-10-20 19:19 ` Emacs and XDG Base Dir Spec was: " Thomas Koch
2013-10-20 23:16   ` Glenn Morris
2013-10-21  5:07     ` Jan Djärv
2013-10-21  6:32       ` Glenn Morris
2013-10-21  7:47         ` Thien-Thi Nguyen
2013-10-21  9:35         ` Jan Djärv
2013-10-21 12:58       ` Stefan Monnier
2013-10-21 13:31         ` John Yates [this message]
2013-10-21 15:25           ` Barry Fishman
     [not found]       ` <17329_1382360340_52652514_17329_164_1_1c38477173ab4b6cb80a8c50bd6dd0e9@EXHUB2010-1.campus.MCGILL.CA>
2013-10-21 13:19         ` Tyler Smith
2013-10-21 18:09           ` Josh
     [not found]           ` <20874_1382379012_52656E04_20874_7_7_6906997aba2b4fc2b717f1f695c0e3df@EXHUB2010-2.campus.MCGILL.CA>
2013-10-21 18:24             ` Tyler Smith
2013-10-21 19:37               ` Stefan Monnier
2013-10-21 20:54                 ` Josh
2013-10-21 21:00                   ` Glenn Morris

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJnXXoi6hipR23X7cq=+3_WUkZvaAkLGcPvTdH3NHZ6dhGp2Ag@mail.gmail.com' \
    --to=john@yates-sheets.org \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    --cc=monnier@iro.umontreal.ca \
    --cc=thomas@koch.ro \
    --cc=tyler.smith@mail.mcgill.ca \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).