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:42:11 +0800 Message-ID: <8735om7ff0.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> <875yti7h5j.fsf@localhost> <83fssmwqdj.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="20792"; 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 16:34:06 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 1mfk0D-0005D1-CN for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Oct 2021 16:34:05 +0200 Original-Received: from localhost ([::1]:51140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfk0C-0005Fy-3O for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Oct 2021 10:34:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfjAe-00005y-43 for emacs-devel@gnu.org; Wed, 27 Oct 2021 09:40:48 -0400 Original-Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]:35828) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfjAc-00028k-7t; Wed, 27 Oct 2021 09:40:47 -0400 Original-Received: by mail-pl1-x62c.google.com with SMTP id n18so2044157plc.2; Wed, 27 Oct 2021 06:40:45 -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=3ECbnSBVy83hJvSFSIHvYOxkrocMFh11dW82Ron1so4=; b=jPg+RQhoAQjwbddYGd0dtltVPIa5qMBYZwoouhrmBNuHePxcZYpTshZIjaQDPUturg 2PcdtzosfJuiXRowA5GeW/abSCWy2S+/nwg5YlC8d+Ubt5i8G4dOfuWLpOcHz2mc8iJQ NGJLs2FxXUuMw8hWsDNua81qSubsNluEtRBT/GVngLXVY21pbvrI3ExtoPDwguIhLSvL Ah5DFTPcF8jc47KfsP9H6E4JPHo0xe7yrBaCLLpuhivJxO0H7Hn6bH+njJ6HL79se+RU qVHX6YFTHXdevko+xIKvSGF+iUKD+xuQ4yIz1ObBjTZwcyyDhSGvCCbqJ65zIC8rjcSk pGkg== 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=3ECbnSBVy83hJvSFSIHvYOxkrocMFh11dW82Ron1so4=; b=RYl3iTkLBtToKNyKnCtDw6PTLgGsN5mSFGDfdxyoZ/JjNZ2pwH5pWSrO65T+yuKL0G FSIrWDr0v9h+1L/AK3i6odpD37Lc+ex94d3ZVuE6a0EFvGaDDPU7DJb27EuEjeXya1rE zqQSZBS4/lR1ErmD08XkmGEPTPGcGumiLE9sO0UEpEbZDw8D0/rBNUKggc8nJrE+QN2e 4kRcN1frye84qdL/4X86J+1bHXabdHgX0sF+dyTz2vnMtNwGa5m+BFuqwzu/QxvIu3jF 39u0wiU6y+rkQsI9ef0OlNuIpZCNzOVaXMPleGFmEbbSYOK4ULD0skvTf9XUBfSCSSHA XQIw== X-Gm-Message-State: AOAM53053R3NU3NL7ppi3cFnUIU8tS0F7YQBS2pROU5DqrlxIc8aH9Tm BROseU8BkxaR3h3qEzy/c3o7YhaGPoKFvlLt X-Google-Smtp-Source: ABdhPJx4Sq8NBHrAGVGgku9C+k9rldFvVk/DmWwArnYgn2WEX98IZSrsdqp3i9zga6dfChkm69o2bQ== X-Received: by 2002:a17:902:d48a:b0:140:41c4:2ca2 with SMTP id c10-20020a170902d48a00b0014041c42ca2mr22088832plg.86.1635342044200; Wed, 27 Oct 2021 06:40:44 -0700 (PDT) Original-Received: from localhost ([103.125.234.62]) by smtp.gmail.com with ESMTPSA id e8sm60011pfn.45.2021.10.27.06.40.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Oct 2021 06:40:43 -0700 (PDT) In-Reply-To: <83fssmwqdj.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62c.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:277966 Archived-At: Eli Zaretskii writes: >> >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. What I propose is not an alternative to XDG. It is complient with XDG in a sense defined in "Referencing this specification" section of the XDG standard. We just put things under appropriate XDG_DIR instead of .emacs.d. It is indeed a new arrangement for Emacs. I feel that having a convention about sub-directories and file names would be useful. The very existence of no-littering package indicates that some other people also prefer having a convention. If you think that it is not necessary, it is fine. Other people can jump in and support/oppose my suggestion. Best, Ihor