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.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 12:28:48 +0000 Message-ID: <871q4nvo5b.fsf@localhost> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28344"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bjorn.bidar@thaodan.de, 71732@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 23 14:28:17 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 1sLMKP-000790-0C for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 23 Jun 2024 14:28:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLMKG-0003SP-M2; Sun, 23 Jun 2024 08:28:08 -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 1sLMKA-0003RJ-Dp for bug-gnu-emacs@gnu.org; Sun, 23 Jun 2024 08:28:03 -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 1sLMKA-0001Jm-5h for bug-gnu-emacs@gnu.org; Sun, 23 Jun 2024 08:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sLMKA-0001CA-Gw for bug-gnu-emacs@gnu.org; Sun, 23 Jun 2024 08:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Jun 2024 12:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71732 X-GNU-PR-Package: emacs Original-Received: via spool by 71732-submit@debbugs.gnu.org id=B71732.17191456384497 (code B ref 71732); Sun, 23 Jun 2024 12:28:02 +0000 Original-Received: (at 71732) by debbugs.gnu.org; 23 Jun 2024 12:27:18 +0000 Original-Received: from localhost ([127.0.0.1]:57251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLMJR-0001AQ-JC for submit@debbugs.gnu.org; Sun, 23 Jun 2024 08:27:18 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:59189) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLMJN-00019v-7u for 71732@debbugs.gnu.org; Sun, 23 Jun 2024 08:27:14 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 55460240028 for <71732@debbugs.gnu.org>; Sun, 23 Jun 2024 14:27:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1719145626; bh=W3NvIpoqBgsnbGbjkX65j5vC4oMmpw3dtoiICbXpLoc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=b7R6iXilIFtPp6mLxz2zD1abSd1azR/NnfbnoiiJV7EmGW0BoR7jHyHfenxu90hHq DfRz2klyY4dEWMYfhOudjHjwVYkdN5tvwRcfKRmyM8nqgdTL0YeuT+tw76LS3rgSCQ BaFhQsgRNaSA7kSq9hSvAbEGwj66zJUXmD4CGmGynspnYqpf8CeaQykXE3bdy/j6E1 WweBU5j0VgxvGGW4wNIHAnI+MJIGWwqvSxUu3M0KRouqSWFfjXDJwm+mIzGE6hp7/S S3PCnBAZ4MW/8nMpgEQHbhFzXUpChJYtH2cCvQpbyBpOjcweIF2TIWRmcnmIixK3pH pLMdQNTYXocpw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4W6Vhn4wwSz9rxK; Sun, 23 Jun 2024 14:27:05 +0200 (CEST) In-Reply-To: <86msnbetou.fsf@gnu.org> 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:287781 Archived-At: 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. > 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. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at