From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Implement XDG Base Directory specification for user-emacs-directory Date: Sun, 28 Jul 2019 19:34:50 +0300 Message-ID: <838ssikthx.fsf@gnu.org> References: <20190525172356.30070.65317@vcs0.savannah.gnu.org> <20190525172357.86D4F207F5@vcs0.savannah.gnu.org> <835zpnv1o4.fsf@gnu.org> <87lfybw8cd.fsf_-_@fencepost.gnu.org> <83d0jmbmcs.fsf@gnu.org> <8336khbeas.fsf@gnu.org> <83woh0cppu.fsf@gnu.org> <83r26gq0lt.fsf@gnu.org> <87blxg6v5c.fsf@fencepost.gnu.org> <837e83nc87.fsf@gnu.org> <49b51848-c390-eff6-b2e1-be75f67ba620@cs.ucla.edu> <87pnlv2mx2.fsf@tcd.ie> <83ftmqkyq2.fsf@gnu.org> <87wog2jic9.fsf@tcd.ie> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="163009"; mail-complaints-to="usenet@blaine.gmane.org" Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org To: "Basil L. Contovounesios" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 28 18:35:15 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrm8g-000gHi-33 for ged-emacs-devel@m.gmane.org; Sun, 28 Jul 2019 18:35:14 +0200 Original-Received: from localhost ([::1]:46060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrm8e-0003ZA-HM for ged-emacs-devel@m.gmane.org; Sun, 28 Jul 2019 12:35:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39246) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrm8a-0003WU-Pq for emacs-devel@gnu.org; Sun, 28 Jul 2019 12:35:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hrm8Z-0003R6-N3; Sun, 28 Jul 2019 12:35:07 -0400 Original-Received: from [176.228.60.248] (port=3933 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hrm8Y-0007K1-Pq; Sun, 28 Jul 2019 12:35:07 -0400 In-reply-to: <87wog2jic9.fsf@tcd.ie> (contovob@tcd.ie) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:238971 Archived-At: > From: "Basil L. Contovounesios" > Cc: eggert@cs.ucla.edu, emacs-devel@gnu.org > Date: Sun, 28 Jul 2019 16:21:10 +0100 > > > In general, I feel that xdg.el is currently too Freedesktop-specific, > > and "needs work" if we want to make it a portable mainstream package > > useful on all the supported platforms. (There's also a strange > > comment about Emacs "not having a notion of l10n/i18n", which is > > simply wrong, so support for localestring could/should also be > > improved.) Patches welcome. > > What kind of non-Freedesktop-specific portability do you envision? The fallback directory names are Unix-specific; the assumption that all the settings are necessarily in a file which has a very particular format is specific to Freedesktop; The file associations are only > supported in XDG way of their definitions; etc. Of course, one could argue that this package supports the XDG spec and nothing else, and that is completely legitimate. But in that case using it for general-purpose Emacs features like finding our files and directories is questionable, and should IMO be restricted to the absolute minimum -- more or less what Paul proposed in his patch.