From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Josh Newsgroups: gmane.emacs.devel Subject: Re: Emacs and XDG Base Dir Spec was: persistent storage for Emacs packages Date: Mon, 21 Oct 2013 11:09:32 -0700 Message-ID: References: <201310202119.19244.thomas@koch.ro> <17329_1382360340_52652514_17329_164_1_1c38477173ab4b6cb80a8c50bd6dd0e9@EXHUB2010-1.campus.MCGILL.CA> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1382379012 547 80.91.229.3 (21 Oct 2013 18:10:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2013 18:10:12 +0000 (UTC) Cc: Thomas Koch , =?ISO-8859-1?Q?Jan_Dj=E4rv?= , Stefan Monnier , "emacs-devel@gnu.org" To: Tyler Smith Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 21 20:10:16 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VYJvj-0007BO-AF for ged-emacs-devel@m.gmane.org; Mon, 21 Oct 2013 20:10:15 +0200 Original-Received: from localhost ([::1]:41072 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYJvi-0003gb-Pc for ged-emacs-devel@m.gmane.org; Mon, 21 Oct 2013 14:10:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYJvc-0003ew-66 for emacs-devel@gnu.org; Mon, 21 Oct 2013 14:10:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYJvX-0003Jf-UC for emacs-devel@gnu.org; Mon, 21 Oct 2013 14:10:08 -0400 Original-Received: from mail-wi0-f182.google.com ([209.85.212.182]:55426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYJvX-0003EY-Oy for emacs-devel@gnu.org; Mon, 21 Oct 2013 14:10:03 -0400 Original-Received: by mail-wi0-f182.google.com with SMTP id ez12so4450857wid.15 for ; Mon, 21 Oct 2013 11:10:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=lO6nXa8ypspwRUy6aF4n/6qqflvNjzUhs7new+wF89I=; b=mH0QmIRkDtWsOzVPKOaUzJYSDmomLwAgejG2hP46WxqXu0n3AaUp68BI97mxuwvLcF 6T972EfjDRF9GjtdHT4c0v6EYTcsOe4x+YbIQE7SdCI5HP4SiDDpZOF/GHMrB5iR6/st cXbJ+HCBBmI+HMeDyO/z+NMAUfdFCW80wpNmE/P0c1T4+8a14gcbGdri3dcmad6dU23C 0fIuHfgyp1wmiUWcGXtxScODNHxOfX4f2Vh6Z2+oWUmv6utyPQS5A1q7nmLhCUjSQmGv 6d+vbVxVha3bE2g8EncST8r4mCGBdKC/kKBE0DStdV6zLVrN6yUDM+LYF0/GpKd+wGcV xI1Q== X-Gm-Message-State: ALoCoQmBECOFtYwfWHq7Rq3CHXyAG0sDSnbk37JuOxE/fdgpKzNF9EwD4Or23smwKNW2dGPMjkaG X-Received: by 10.180.188.144 with SMTP id ga16mr10903197wic.42.1382379002321; Mon, 21 Oct 2013 11:10:02 -0700 (PDT) Original-Received: by 10.194.22.225 with HTTP; Mon, 21 Oct 2013 11:09:32 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: kmA4_BCNXQcfbrztvAy1qBK1m18 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.212.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164428 Archived-At: On Mon, Oct 21, 2013 at 6:19 AM, Tyler Smith wrote: > On Mon, Oct 21, 2013 at 8:58 AM, Stefan Monnier > wrote: >> >> >> 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. >> > That's exactly what I do. What is wrong with this, and what is the preferred > alternative? That's a good question: package-user-dir is a variable defined in `package.el'. Its value is "~/.emacs.d/elpa" This variable may be risky if used as a file-local variable. Documentation: Directory containing the user's Emacs Lisp packages. The directory name should be absolute. Apart from this directory, Emacs also looks for system-wide packages in `package-directory-list'.