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.bugs Subject: bug#71732: 30.0.50; [FR] xdg: provide an ability to create XDG directory, if it does not exist Date: Sun, 23 Jun 2024 15:36:37 +0300 Message-ID: <86jzifesyy.fsf@gnu.org> References: <87pls8uhcu.fsf@localhost> <86v820dl2d.fsf@gnu.org> <87msncufil.fsf@localhost> <86sex4dkij.fsf@gnu.org> <87jziguesw.fsf@localhost> <86r0cnew34.fsf@gnu.org> <877cefvqa0.fsf@localhost> <86o77reuz2.fsf@gnu.org> <874j9jvowr.fsf@localhost> <86msnbetou.fsf@gnu.org> <871q4nvo5b.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38919"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bjorn.bidar@thaodan.de, 71732-done@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 23 14:38:20 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1sLMU7-0009re-Uh for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 23 Jun 2024 14:38:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLMTs-0006ti-Kb; Sun, 23 Jun 2024 08:38:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLMTq-0006tP-ML for bug-gnu-emacs@gnu.org; Sun, 23 Jun 2024 08:38:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sLMTq-0003D1-Bq for bug-gnu-emacs@gnu.org; Sun, 23 Jun 2024 08:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sLMTq-0001Z0-I1 for bug-gnu-emacs@gnu.org; Sun, 23 Jun 2024 08:38:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Jun 2024 12:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 71732 X-GNU-PR-Package: emacs Mail-Followup-To: 71732@debbugs.gnu.org, eliz@gnu.org, yantar92@posteo.net Original-Received: via spool by 71732-done@debbugs.gnu.org id=D71732.17191462275918 (code D ref 71732); Sun, 23 Jun 2024 12:38:02 +0000 Original-Received: (at 71732-done) by debbugs.gnu.org; 23 Jun 2024 12:37:07 +0000 Original-Received: from localhost ([127.0.0.1]:57625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLMSw-0001XO-J9 for submit@debbugs.gnu.org; Sun, 23 Jun 2024 08:37:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLMSf-0001WU-4u for 71732-done@debbugs.gnu.org; Sun, 23 Jun 2024 08:37:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLMSX-00030W-UW; Sun, 23 Jun 2024 08:36:41 -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=qkCL82cgCCbWBhlcjHrGeNyXa+06JTTkMzoA8Ml7tGY=; b=pXHF+vKxFSEt 0ZC39a2nLBwiurOMTI47MGq0aJ+l7ISiDGOpGtoC+0aEhAzKmjzH7pCwroZ3Y2Id/tkqHwiIlbJdD u+rSjyufisdAbJ8GeeuyXHAQu4zWDLPXExdiI+32e2TJUlm1BUZ1Jk3DtB/dIt8jLgb0POvRNqPQg k4NXRXJeUbRvQc5ygCYKpNDbi9UllFlcwRzMdgm9Y9vvoNIOmFnMJoyrzSYoOnFOBjLLyModN9j/h JqlaAnCMac5JRQ3SyiHyRVPQMtkAyJjfM3gBHvkhuTlmWea54gWbNdgC7MuqfDDBfJUSaCFkKnWBK 0iAayGcgyh1ceIx2ta9sJQ==; In-Reply-To: <871q4nvo5b.fsf@localhost> (message from Ihor Radchenko on Sun, 23 Jun 2024 12:28:48 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:287783 Archived-At: > From: Ihor Radchenko > Cc: 71732@debbugs.gnu.org, bjorn.bidar@thaodan.de > Date: Sun, 23 Jun 2024 12:28:48 +0000 > > Eli Zaretskii writes: > > >> I am asking to provide an API function that will create XDG dir with > >> appropriately assignment permissions. It will be up to the xdg.el caller > >> to use that API function. > > > > Like I said earlier: this is a two-liner: > > > > (with-file-modes 0700 > > (make-directory DIR t)) > > > > where the value 0700 is something the Lisp program should control. > > Yes, it is a two-liner, but 0700 requires familiarity with XDG. No, it doesn't. It requires the decision which modes to use, which is independent of what XDG mandates. > > > I see no reason to provide an API for such simple code, let alone do > > that in xdg.el. > > > > And if you still don't agree, let's at least agree to disagree. > > because this argument begins to revisit what was already said. > > Ok. Then, feel free to close the feature request. Done.