From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.devel Subject: Re: Cleaning up and structuring user-emacs-directory Date: Wed, 19 Aug 2020 10:28:35 +0200 Message-ID: <20200819082835.GA31976@tuxteam.de> References: <677E1813-9A0E-4127-9814-36CB9AB8B744@gmail.com> <871rk6uzbv.fsf@gnu.org> <87blj7jkg8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17743"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Gunnar Horrigmo , Richard Stallman To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 19 10:29:21 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8JTE-0004Uh-Tn for ged-emacs-devel@m.gmane-mx.org; Wed, 19 Aug 2020 10:29:20 +0200 Original-Received: from localhost ([::1]:60136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8JTE-0006wZ-0K for ged-emacs-devel@m.gmane-mx.org; Wed, 19 Aug 2020 04:29:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8JSj-0006Vf-6D for emacs-devel@gnu.org; Wed, 19 Aug 2020 04:28:49 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:49685) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from ) id 1k8JSg-0001wG-Sm; Wed, 19 Aug 2020 04:28:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:Date; bh=O17fJj6mL20F9fSnpsh3O7Y/ErvpBINKsJjlSjoM49w=; b=bxdBIqh46uYn+PRD05BJzalYp0QtWt/0kY9xa9IvNv1/Xp1SeXZ7b2FcqF48FgXxEzY93LdsDocaKwLlnqrsgdmIuep6FwyNG4zmLwFjNfT2Z/xIzBYEfck37QW6X6CL17O20JYuIWsjjLVFTPYNE/1nwZrkF9TpfnUj7t8w9dgCx1lGFwt51Q3WaC0yGjtBGsaH9CEi28YLAo5m+UiUJDR79iEQQ/lIfkEoYsGgxWMKsQqtJY5cjxmemXiQUTwbHMd7plRCRf/P8F4km896gUkxcgl7mMeqtV0KhiW8kSn6ZVtJlp5gA3VQxZZLvZW6wN0slnj5qNIINZ2FP2DBdA==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1k8JSV-0008SF-7f; Wed, 19 Aug 2020 10:28:35 +0200 Content-Disposition: inline In-Reply-To: <87blj7jkg8.fsf@gnu.org> Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/19 04:28:38 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:253989 Archived-At: --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 19, 2020 at 01:03:51AM -0400, Amin Bandali wrote: > Richard Stallman writes: >=20 > > [[[ To any NSA and FBI agents reading my email: please consider ]]] > > [[[ whether defending the US Constitution against all enemies, ]]] > > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > > > Would it not be better to follow the freedesktop spec? > > > https://specifications.freedesktop.org/basedir-spec/basedir-spec-0.= 6.html > > > > Concretely, what change would that mean in Emacs? >=20 > In short, the approach that I proposed divides up `user-emacs-directory' > into multiple subdirectories and keeps `user-emacs-directory' as the > all-in-one source of a user's Emacs files, while the XDG Base Directory > approach as suggested by Gunnar would imply keeping only configuration > files in `user-emacs-directory', and moving data and cache files to > "$XDG_DATA_HOME/emacs/" and "$XDG_CACHE_HOME/emacs/" respectively, where > 'XDG_DATA_HOME' defaults to "~/.local/share" and 'XDG_CACHE_HOME' to > "~/.cache". I've now read the freedesktop thing. If you ask me: please make that optional. I have none of those $XDG_* env vars set, and I have nothing of relevance in .local. Cheers - t --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAl884rMACgkQBcgs9XrR2kaQXQCdH3WqTxzAjaeUEShFdZGW20OX MZ8An1CmLmXbZNRv7k/T3gc9HhWXR4J9 =c+Rm -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt--