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: Tue, 26 Oct 2021 21:42:22 +0800 Message-ID: <87a6ivvr5t.fsf@localhost> References: <83sfwp1c27.fsf@gnu.org> <83a6iwylp7.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="20074"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Kangas , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 26 15:42:05 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 1mfMiL-000535-5W for ged-emacs-devel@m.gmane-mx.org; Tue, 26 Oct 2021 15:42:05 +0200 Original-Received: from localhost ([::1]:54866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfMiJ-0001VP-9N for ged-emacs-devel@m.gmane-mx.org; Tue, 26 Oct 2021 09:42:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfMhJ-0000go-E4 for emacs-devel@gnu.org; Tue, 26 Oct 2021 09:41:01 -0400 Original-Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]:44955) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfMhH-0001w6-HR; Tue, 26 Oct 2021 09:41:01 -0400 Original-Received: by mail-pj1-x102b.google.com with SMTP id oa12-20020a17090b1bcc00b0019f715462a8so1703381pjb.3; Tue, 26 Oct 2021 06:40:58 -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=3il+PYcMxfpEeFB6vc102kRE+euZ4S8WFrO42ZsK56k=; b=AKHJ91PodfSP78r+b/YuEHmbkwTe+XUXMb4BtYDPVbjnCwyWkg3pYtA/6MDoWq2g+G sYNCnpkyWtQbIf/CmoVtv109/2yVAc+Qv0FFdVhSjwgzWHHLonLBC5g8WyKWFfy9aGwV YLFMo/Nz4KZWCIAE08H/Vk/oLieiMS7l/vgL8ZYFrGw7RlQhoiAi169gdo7Lg4nrj++z iy4WWbFRZ89wHE6frPemtQPmaureS8PUEFvdm3K23gXnjiU4fzbKUYkPWi5y2A4y2Kb6 FjKDubqA3lblpTLYcjraVwhGngTr98sTmlbwxJJ6aW0uSfSjIG1FUHFjZSnqnPYkEnjY 69qA== 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=3il+PYcMxfpEeFB6vc102kRE+euZ4S8WFrO42ZsK56k=; b=khJt1f82+I1vuon0GxLsV5lMmQl92EbLIoLkVzUt5vGx2Ms7Zf+qsVzbG0WHwfhqkb jClLrwTRn1Q7R0VWL4diTxeoY9QyZgtw22ksmtaVAUCc4hgc2JDVXC5/E9Hxv/nIq2MC k2hg2QVx02hNTYqTXf1GGJxMZ7NvtFD9tyS6ixJCvPPCHkfk4B09SVi/Fii6bZAgiCKW B7fZ3d3e6Va6aokbudJvNNAnT/S94ZAVZc8s4EjZmz3+Wqv4F6n0P4YHenWsDmfbne9T 05fZRGcGVLsJ9NtvkeTrm1baxprtf0esZ2wnrTPk0LTA32OJrXgfo4MMKmCEXEn3fE8+ QeJQ== X-Gm-Message-State: AOAM531HH5GEPXw1jJu9/6sJT1mRk5Urhn9emvaFBJuG3TlEYrqaaUVw xcNGT1HJ4JMBfWutPhWN3vt8A74w/p2Npg== X-Google-Smtp-Source: ABdhPJw+POaQof//UePVky6YUIVHjjt6CU484eEizTl4CeVFrl8VyqUpMLDm/MCOQBwOs4yEwIv3YA== X-Received: by 2002:a17:90b:1c09:: with SMTP id oc9mr43099662pjb.33.1635255656682; Tue, 26 Oct 2021 06:40:56 -0700 (PDT) Original-Received: from localhost ([103.125.234.161]) by smtp.gmail.com with ESMTPSA id gq15sm960138pjb.42.2021.10.26.06.40.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Oct 2021 06:40:56 -0700 (PDT) In-Reply-To: <83a6iwylp7.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::102b; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102b.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:277856 Archived-At: Eli Zaretskii writes: > How about if we DTRT right away, and provide reasonable defaults for > all the non-XDG platforms (assuming we prefer platform-specific > defaults in this particular case)? I see no real reason to install > half-solutions. FYI, there is no-littering package [1] trying to provide unified directory structure within .emacs.d. It follows the same idea of unified set of abstract directory variables for different types of data: - etc-directory - var-directory Essentially, it is similar to XDG directory set, but all the directories are inside .emacs.d by default. I think that putting things in a reasonably-names directories inside .emacs.d can be a meaningful default, unless there is an OS-specific standard (XDG on Linux, de-facto standard on Windows or Mac). The question is what kind of directories are actually useful within Emacs. [1] https://github.com/emacscollective/no-littering Best, Ihor