From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thomas Koch Newsgroups: gmane.emacs.devel Subject: Emacs and XDG Base Dir Spec was: persistent storage for Emacs packages Date: Sun, 20 Oct 2013 21:19:18 +0200 Message-ID: <201310202119.19244.thomas@koch.ro> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1382296779 30560 80.91.229.3 (20 Oct 2013 19:19:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2013 19:19:39 +0000 (UTC) Cc: Tyler Smith To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 20 21:19:44 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 1VXyXP-0000WQ-Ux for ged-emacs-devel@m.gmane.org; Sun, 20 Oct 2013 21:19:44 +0200 Original-Received: from localhost ([::1]:37255 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXyXP-0005ZI-5h for ged-emacs-devel@m.gmane.org; Sun, 20 Oct 2013 15:19:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXyXH-0005Yy-P6 for emacs-devel@gnu.org; Sun, 20 Oct 2013 15:19:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VXyXC-0000up-HZ for emacs-devel@gnu.org; Sun, 20 Oct 2013 15:19:35 -0400 Original-Received: from koch.ro ([88.198.2.104]:39486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXyXC-0000uU-Aw for emacs-devel@gnu.org; Sun, 20 Oct 2013 15:19:30 -0400 Original-Received: from 44-25.106-92.cust.bluewin.ch ([92.106.25.44] helo=x121eofhwr1202.localnet) by koch.ro with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1VXyX5-0002jf-LC; Sun, 20 Oct 2013 21:19:23 +0200 User-Agent: KMail/1.13.7 (Linux/3.10-0.bpo.3-amd64; KDE/4.8.4; x86_64; ; ) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 88.198.2.104 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:164399 Archived-At: There is a "standard" where to place different kind of files inside a users home directory[1], in short: config: ~/.config/$APPNAME/ cache: ~/.cache/$APPNAME/ data: ~/.local/share/$APPNAME/ Unfortunately the standard does not yet include a place for STATE data[2]. It would be nice, if emacs would also use this "standard". This would make it much nicer to keep the emacs config in version control without an elaborate ignore file. Some people like me also keep their ~/.cache in a ramdisk[3]. [1] http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html [2] https://wiki.debian.org/XDGBaseDirectorySpecification#state [3] https://github.com/xtaran/unburden-home-dir