From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Default for image-dired-main-image-directory Date: Wed, 27 Oct 2021 16:26:16 +0300 Message-ID: <83fssmwqdj.fsf@gnu.org> References: <83sfwp1c27.fsf@gnu.org> <83a6iwylp7.fsf@gnu.org> <87a6ivvr5t.fsf@localhost> <83wnlzyir1.fsf@gnu.org> <877ddzvnni.fsf@localhost> <83ilxjyd83.fsf@gnu.org> <875yti7h5j.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36937"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefan@marxist.se, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 27 15:50:16 2021 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 1mfjJn-0009Hm-R7 for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Oct 2021 15:50:16 +0200 Original-Received: from localhost ([::1]:44218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfjJm-0001vy-7u for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Oct 2021 09:50:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfiwe-000368-QR for emacs-devel@gnu.org; Wed, 27 Oct 2021 09:26:22 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37020) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfiwe-0007sU-4L; Wed, 27 Oct 2021 09:26:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=5JOM0UTOF36Z/fad+FOKmDWlrf/KUPy30Yvan7K0NfM=; b=PWEq0VE92qj1 FbZFcUJyUIPbDID/dyf1D6g36n3R2sDF4oFgi86kMF9cbbJP7Dgy58L1UY/b9emqA+8nnw7Vawg+g xgOz1epwMhB1pT0PeWSTnSG1xur1LJ5ahkEzO9sxYelJ1DwCFhCpcoc8EhLiuOmMGeKotVLuR8G/M sM1/1+SJJbbWYEwsj7BuBKu63IDwFR2WPVVWupCSdOLNiAROPAQrCamrLgxMyxqoKm2bOnuTlWM4P rMYMhfxCd5H9fiUNt8e9a86UsVEMyuUxUcU0PDz/xjTGiMnprCewiMBCquEajUsWyhFZB1MldVLO1 3utqFWLKskMBlDy5CxU8XQ==; Original-Received: from [87.69.77.57] (port=4302 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfiwb-0000wg-Sn; Wed, 27 Oct 2021 09:26:19 -0400 In-Reply-To: <875yti7h5j.fsf@localhost> (message from Ihor Radchenko on Wed, 27 Oct 2021 21:04:40 +0800) 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:277958 Archived-At: > From: Ihor Radchenko > Cc: stefan@marxist.se, emacs-devel@gnu.org > Date: Wed, 27 Oct 2021 21:04:40 +0800 > > Eli Zaretskii writes: > > > You say "not necessarily", but then proceed to describe details that > > actually agree with what I said. > > > > It is fine to provide such a feature, I'm just saying that XDG > > requires different directories, and so these two arrangements > > contradict each other. > > Probably I misunderstood what XDG stadard describes. I have read the XDG > description at freedesktop.org [1]. My understanding is that XDG does > not provide any recommendations on the file naming and subdirectories > inside home, config, state, bin, data, runtime, and cache dirs. XDG only > prescribes using the listed dirs to store different types of data. Sure, but none of those is called .emacs.d or anything close. > >From a Emacs package perspective, just following XDG is still not clear > enough. Should all Emacs packages store data inside "XDG_DIR/emacs" > subdirectory or maybe "XDG_DIR/emacs/package-name"? What should be the > file names? The details I quoted are providing a possible clarification > about these kinds of questions, except that no-littering assumes > XDG_DIR=.emacs.d. Look at xdg.el and at startup.el where we already use XDG-compliant directories. What you say above is neither compliant with XDG nor with any current Emacs convention; it's an entirely new arrangement. I think that's one too many.