From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.devel Subject: Re: Default for image-dired-main-image-directory Date: Wed, 27 Oct 2021 21:04:40 +0800 Message-ID: <875yti7h5j.fsf@localhost> References: <83sfwp1c27.fsf@gnu.org> <83a6iwylp7.fsf@gnu.org> <87a6ivvr5t.fsf@localhost> <83wnlzyir1.fsf@gnu.org> <877ddzvnni.fsf@localhost> <83ilxjyd83.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27780"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefan@marxist.se, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 27 15:40:45 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 1mfjAa-00071w-Pk for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Oct 2021 15:40:44 +0200 Original-Received: from localhost ([::1]:57426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfjAZ-0007ie-8F for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Oct 2021 09:40:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfiaP-0004wW-N2 for emacs-devel@gnu.org; Wed, 27 Oct 2021 09:03:21 -0400 Original-Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]:35343) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfiaN-0001ga-M1; Wed, 27 Oct 2021 09:03:21 -0400 Original-Received: by mail-pf1-x42f.google.com with SMTP id l203so2693921pfd.2; Wed, 27 Oct 2021 06:03:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=oXpbaNk2X1QqiG3UZHJrP6LGuGPk1Sw6j5hmFTjRMnQ=; b=gwmWdV1HzS6fB0EplDXGDrugOcxAspf2QC3F2rU40eu/l5sx/xbI9Xt74NNHGj8tVQ b+kpLV5xg9YeShQL5ELi8J3jEDNftvCg2BEpGDaaZnOszDK9WsJTyb5LkXWMtBq3V3gn 22Fw3/xTZAEZK03wxF21BKwWkC0zO/WiTlokpf+3AhOGRXjbna2xsIzpksPOgET+u23h 915dH6IqVKC8KXDz6VHtARCFEt/8Hq5uLJM9BjPgW2sSTI/uMORLDzo5eYA7MUh4BXEh 03HD5BPsr6Bn/+HzWEpz7uOU3YVN3aUn5UAeynL0Jr8pnWhms+H23+LkOe+kCzEETosa r4DA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=oXpbaNk2X1QqiG3UZHJrP6LGuGPk1Sw6j5hmFTjRMnQ=; b=fH4v89rW2FIbmokLwZnXlKhc6VL/PIJ2GKmZK2Iuqs/DLiDaJ6jZnGn47O8lVRcouB B5CXRkROVvrEmIENLXx9v7k9j2mnnhwaCQ/1XCuMdIbAxhwcXU4Bic6yR3LF3sSX2ba9 MF+6JPyan8y1Er8oBBl1+py1Niwgbcwr19RUCKs91tkMyur+NaCLDVNcOrYAHWVkyaSi em9MpP3fw6rOfQ7RMR2yuQ2uIwDeFxi3Jyb8QHQzpzBF90zhJpWG0IAQAayofn+PTVPC ZMpL8L6oApLo4GZ23bTN0bYsiLhSJVluk2Tfr7SvN+IiOg38EUkXNXmYqMUenFJy++8I AgEA== X-Gm-Message-State: AOAM532DIB/PeCD3wgJKJ2m1OkB1aujZULl1Y2KQ57w7pH581PrtTsD0 2/z/XHqKP5IW8JlpepAziqTLqO3j+LstnOee X-Google-Smtp-Source: ABdhPJwk0V4liIOVxM+d/jdybNG8BLvvZwDNX23XqlH4L9/o6e2TQPpf8Nh5BIZjPAKoYt+oyTcjmQ== X-Received: by 2002:a63:101c:: with SMTP id f28mr23348316pgl.330.1635339795339; Wed, 27 Oct 2021 06:03:15 -0700 (PDT) Original-Received: from localhost ([103.125.234.62]) by smtp.gmail.com with ESMTPSA id on17sm4457190pjb.47.2021.10.27.06.03.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Oct 2021 06:03:13 -0700 (PDT) In-Reply-To: <83ilxjyd83.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=yantar92@gmail.com; helo=mail-pf1-x42f.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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:277957 Archived-At: 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. >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. [1] https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html Best, Ihor