From unknown Fri Aug 15 20:27:21 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#42549] [PATCH] gnu: Add emacs-standard-dirs. Resent-From: "LaFreniere, Joseph" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Jul 2020 16:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42549 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42549@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15957800328950 (code B ref -1); Sun, 26 Jul 2020 16:14:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jul 2020 16:13:52 +0000 Received: from localhost ([127.0.0.1]:53348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzjHb-0002KI-QU for submit@debbugs.gnu.org; Sun, 26 Jul 2020 12:13:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:44976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzjHZ-0002KA-D2 for submit@debbugs.gnu.org; Sun, 26 Jul 2020 12:13:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzjHZ-0004l9-4x for guix-patches@gnu.org; Sun, 26 Jul 2020 12:13:49 -0400 Received: from mx.kolabnow.com ([95.128.36.41]:2082) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzjHW-0000Bq-Nr for guix-patches@gnu.org; Sun, 26 Jul 2020 12:13:48 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id BF0E964D for ; Sun, 26 Jul 2020 18:13:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from:received:received:received; s= dkim20160331; t=1595780022; x=1597594423; bh=52X0kuvduD8USWWgp5K fY4WLgIiM4vuzzlWOavGpr2Y=; b=4hz4N/uPXahpEted8mb3YynaunIDtjkAXV/ vUHgfAow44ilvbdn5JXKJkQfHGeYPtxoX5JkCpcYbwEd/RqaV5jgkLPuA3hlBZKx 8DbzWRUxx3/FCZhAbqfqZeEtWEH64vR/EkMywWyMBDStyqKdZoIRXl4yCUajGpy0 GVEDEFpcJ1gCIrBhB2Zy3+Y2HtzWqUNeHtAUePc3pmO+0bSU6I4/G+el8snflUjI jLbDSluRggdfJaWVZwzanqBHuo6IAx0n2YHjjAGWgcufEenGuirg0+Em7Vlnxfox 5TBoWnJ0SqSek8/+8cAvew3JC82Ak13xZ040ZxytfYNFMYU9HN5lUxS9TsB65u0P LQLzhM9o+0Eqp+wtNvU3ECVs3m7aMPxwUa9lWZgOYOBfEUX9Lh9fLZ5EnALx4v0d jeBcL3FVYSrXL1e5xbgZSd7ct8Q2h5GXm7lOlT0fydRN8+6Qyn3M8wg6OsA5Fyfx u6/NEjUIIBFOOawbnoSSmXljwJBHxo4ExuX8tMXEHy4gxszB38N647AFmr9fif43 fj7XQJvu7EDhR1GLY3Esvm0h3g7holy0swe+6Da7ylemmv7SBUQk5peziQwoE9sV h0cxR+f+WaQOrU5bq/7xivagaNxK3w2O6IidTDQ8F6+2IX6OC09mT1wpnzEKWV7G KzEmArnU= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-10 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Asiq9cZ2SJwt for ; Sun, 26 Jul 2020 18:13:42 +0200 (CEST) Received: from int-mx002.mykolab.com (unknown [10.9.13.2]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id 00FB0520 for ; Sun, 26 Jul 2020 18:13:41 +0200 (CEST) Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx002.mykolab.com (Postfix) with ESMTPS id B4FE32328 for ; Sun, 26 Jul 2020 18:13:41 +0200 (CEST) From: "LaFreniere, Joseph" Date: Sun, 26 Jul 2020 11:13:38 -0500 Message-ID: <87lfj6s18t.fsf@odyssey.lafreniere.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=95.128.36.41; envelope-from=joseph@lafreniere.xyz; helo=mx.kolabnow.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/26 12:13:43 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FROM_SUSPICIOUS_NTLD=1, FROM_SUSPICIOUS_NTLD_FP=1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.4 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.9 (-) --=-=-= Content-Type: text/plain; format=flowed Patch file is attached. Disclaimer that I am the author of the upstream package. Even though Guix does not (to the best of my knowledge) currently support macOS, I left the paragraph about behavior in macOS in the description because cross-platform support for users of multiple operating systems was one of my primary motivations for writing the package. -- Joseph LaFreniere --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-emacs-standard-dirs.patch >From 2e0716d7ed9b35b780cbefda29bb9982079461ed Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Sun, 26 Jul 2020 11:06:19 -0500 Subject: [PATCH] gnu: Add emacs-standard-dirs. * gnu/packages/emacs-xyz.scm (emacs-standard-dirs): New variable. --- gnu/packages/emacs-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index db395361b9..d9529a2182 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -3570,6 +3570,39 @@ particular, the minor mode works quite well with Org or Markdown modes, or other markup language major modes.") (license license:gpl3+)))) +(define-public emacs-standard-dirs + (package + (name "emacs-standard-dirs") + (version "2.0.0") + (home-page "https://github.com/lafrenierejm/standard-dirs.el") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0r814qcrhvx4qlx4sdzwdmrhiryslqclx0bnpp0qcrbx6g8qfl25")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-f" ,emacs-f) + ("emacs-s" ,emacs-s))) + (synopsis "Platform-specific paths for config, cache, and other data") + (description + "This package provides platform-specific paths for reading and writing +configuration, cache, and other data. + +On Linux (@code{gnu/linux}), the directory paths conform to the +@uref{https://specifications.freedesktop.org/basedir-spec/basedir-spec-0.6.html, +XDG Base Directory Specification} where relevant, with fallbacks to +@code{xdg-user-dirs}. + +On macOS (@code{darwin}), the directory paths conform to Apple's +@uref{https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/FileSystemOverview/FileSystemOverview.html#//apple_ref/doc/uid/TP40010672-CH2-SW14, +macOS File System Programming Guide}.") + (license license:gpl3+))) + (define-public emacs-string-inflection (package (name "emacs-string-inflection") -- 2.27.0 --=-=-=-- From unknown Fri Aug 15 20:27:21 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#42549] [PATCH] gnu: Add emacs-standard-dirs. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Jul 2020 10:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42549 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "LaFreniere\, Joseph" Cc: 42549@debbugs.gnu.org Received: via spool by 42549-submit@debbugs.gnu.org id=B42549.159593267125254 (code B ref 42549); Tue, 28 Jul 2020 10:38:01 +0000 Received: (at 42549) by debbugs.gnu.org; 28 Jul 2020 10:37:51 +0000 Received: from localhost ([127.0.0.1]:57377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0MzX-0006ZE-12 for submit@debbugs.gnu.org; Tue, 28 Jul 2020 06:37:51 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:59263) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0MzT-0006Yy-Oj for 42549@debbugs.gnu.org; Tue, 28 Jul 2020 06:37:49 -0400 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 719F120000C; Tue, 28 Jul 2020 10:37:40 +0000 (UTC) From: Nicolas Goaziou References: <87lfj6s18t.fsf@odyssey.lafreniere.xyz> Date: Tue, 28 Jul 2020 12:37:39 +0200 In-Reply-To: <87lfj6s18t.fsf@odyssey.lafreniere.xyz> (Joseph LaFreniere's message of "Sun, 26 Jul 2020 11:13:38 -0500") Message-ID: <87y2n47wng.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, "LaFreniere, Joseph" writes: > Patch file is attached. Disclaimer that I am the author of the > upstream package. Thank you. > Even though Guix does not (to the best of my knowledge) currently > support macOS, I left the paragraph about behavior in macOS in the > description because cross-platform support for users of multiple > operating systems was one of my primary motivations for writing the > package. I suggest to eschew the problem and stick to the first sentence of the description: This package provides platform-specific paths for reading and writing configuration, cache, and other data. I think this is enough to understand what the package is about without looking at the gory details. WDYT? Regards, -- Nicolas Goaziou From unknown Fri Aug 15 20:27:21 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#42549] [PATCH] gnu: Add emacs-standard-dirs. Resent-From: "LaFreniere, Joseph" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Jul 2020 23:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42549 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 42549@debbugs.gnu.org Received: via spool by 42549-submit@debbugs.gnu.org id=B42549.159597729724130 (code B ref 42549); Tue, 28 Jul 2020 23:02:02 +0000 Received: (at 42549) by debbugs.gnu.org; 28 Jul 2020 23:01:37 +0000 Received: from localhost ([127.0.0.1]:59430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0YbI-0006H7-UL for submit@debbugs.gnu.org; Tue, 28 Jul 2020 19:01:37 -0400 Received: from mx.kolabnow.com ([95.128.36.41]:21338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0YbH-0006Gn-GS for 42549@debbugs.gnu.org; Tue, 28 Jul 2020 19:01:36 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out001.mykolab.com (Postfix) with ESMTP id 0F094D72; Wed, 29 Jul 2020 01:01:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :in-reply-to:subject:subject:from:from:references:received :received:received; s=dkim20160331; t=1595977287; x=1597791688; bh=7Qb2U94d4IK0pFYifaVD9fVSBIdceujL1Xn8VTTvbz4=; b=mUrMmyIAkje7 izyBC4cGUHlWAS9FEGuwS2DMfB27dk8+4Ener1iiy6i2kLIVOijaC7POGSP4l/7Y /tgc4k5zDEi0NPQ3eetPYD8QcPFmM46eO/mLe0tN0BrQDgaUjBrpAyNja9bcPCzV zwuY+Q1XuU3mUfEmEiJJ9EOG5QP63DsCoGe3/vAiMThzZGHei1dPPP47LT1FzEMa OrCbDdEqegu5mtwf/5CC7BJKIBKqVeCS47utNcPCfIzhlCVcKzppuarYajVbTgHA ziyclESQbDVAtVYhb/iN5CWMbKqGk1T30H/MqqQ9udPg9G73GqkzRbHEiAulDxo/ U8ClzucP6hMeLmmO/+azoocnR3L4SOsPUUkax67sOXd/D2JZC6Itaw54Tb3MSq9k p7iRs4wuF8DUNmnaV+IgqsobhC1+lGtOKQ0Zydblg+2lwZpLSI1XRWzcSbbfnolr e2zVJcFmjf4owEa2WdZJUXYnQ+fjCw+Kwbiqf/IUBWeytarQaf4qKuBSVIcWAad5 H56AdZl3oS7gQhSLBNvW/Ua603Wo/FVEVuLYaJbVbBOURQv4Qfg2NVIcEfGtIeIc s5+ETTpWXpj5JE1uHSFK6OMKY9pkqCBVD+3+cR355+Ftttdlq4pB7OeR9m+tpUHD vc7h4ZDRanMutD39zyiZaWqStrHrwHo= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-10 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out001.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 97yMFaIR9PJm; Wed, 29 Jul 2020 01:01:27 +0200 (CEST) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out001.mykolab.com (Postfix) with ESMTPS id A5840CC8; Wed, 29 Jul 2020 01:01:16 +0200 (CEST) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx003.mykolab.com (Postfix) with ESMTPS id 082802098; Wed, 29 Jul 2020 01:01:15 +0200 (CEST) References: <87lfj6s18t.fsf@odyssey.lafreniere.xyz> <87y2n47wng.fsf@nicolasgoaziou.fr> From: "LaFreniere, Joseph" In-reply-to: <87y2n47wng.fsf@nicolasgoaziou.fr> Date: Tue, 28 Jul 2020 18:01:12 -0500 Message-ID: <87ime7s0qv.fsf@odyssey.lafreniere.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --=-=-= Content-Type: text/plain; format=flowed Nicolas Goaziou writes: > I suggest to eschew the problem and stick to the first sentence > of the > description: > > This package provides platform-specific paths for reading and > writing > configuration, cache, and other data. > > I think this is enough to understand what the package is about > without > looking at the gory details. > > WDYT? Sounds good to me. A new patch file is attached with the description updated. -- Joseph LaFreniere --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-emacs-standard-dirs.patch >From 9ba21584daa8a62bf939162dbd91ccb706f75f0f Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Sun, 26 Jul 2020 11:06:19 -0500 Subject: [PATCH] gnu: Add emacs-standard-dirs. * gnu/packages/emacs-xyz.scm (emacs-standard-dirs): New variable. --- gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 8aaa92e1b2..f74fa948e4 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -3592,6 +3592,30 @@ particular, the minor mode works quite well with Org or Markdown modes, or other markup language major modes.") (license license:gpl3+)))) +(define-public emacs-standard-dirs + (package + (name "emacs-standard-dirs") + (version "2.0.0") + (home-page "https://github.com/lafrenierejm/standard-dirs.el") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0r814qcrhvx4qlx4sdzwdmrhiryslqclx0bnpp0qcrbx6g8qfl25")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-f" ,emacs-f) + ("emacs-s" ,emacs-s))) + (synopsis "Platform-specific paths for config, cache, and other data") + (description + "This package provides platform-specific paths for reading and writing +configuration, cache, and other data.") + (license license:gpl3+))) + (define-public emacs-string-inflection (package (name "emacs-string-inflection") -- 2.27.0 --=-=-=-- From unknown Fri Aug 15 20:27:21 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "LaFreniere, Joseph" Subject: bug#42549: closed (Re: [bug#42549] [PATCH] gnu: Add emacs-standard-dirs.) Message-ID: References: <87eemxpkkz.fsf@gnu.org> <87lfj6s18t.fsf@odyssey.lafreniere.xyz> X-Gnu-PR-Message: they-closed 42549 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 42549@debbugs.gnu.org Date: Sat, 19 Sep 2020 20:40:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1600548001-743-1" This is a multi-part message in MIME format... ------------=_1600548001-743-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #42549: [PATCH] gnu: Add emacs-standard-dirs. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 42549@debbugs.gnu.org. --=20 42549: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D42549 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1600548001-743-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 42549-done) by debbugs.gnu.org; 19 Sep 2020 20:39:52 +0000 Received: from localhost ([127.0.0.1]:48213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJjeB-0000BX-QQ for submit@debbugs.gnu.org; Sat, 19 Sep 2020 16:39:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJje8-0000BG-TK for 42549-done@debbugs.gnu.org; Sat, 19 Sep 2020 16:39:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52029) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJje2-0005mC-6r; Sat, 19 Sep 2020 16:39:42 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49278 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kJje1-0006FQ-Kf; Sat, 19 Sep 2020 16:39:41 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "LaFreniere, Joseph" Subject: Re: [bug#42549] [PATCH] gnu: Add emacs-standard-dirs. References: <87lfj6s18t.fsf@odyssey.lafreniere.xyz> <87y2n47wng.fsf@nicolasgoaziou.fr> <87ime7s0qv.fsf@odyssey.lafreniere.xyz> Date: Sat, 19 Sep 2020 22:39:40 +0200 In-Reply-To: <87ime7s0qv.fsf@odyssey.lafreniere.xyz> (Joseph LaFreniere's message of "Tue, 28 Jul 2020 18:01:12 -0500") Message-ID: <87eemxpkkz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42549-done Cc: Nicolas Goaziou , 42549-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, "LaFreniere, Joseph" skribis: >>>From 9ba21584daa8a62bf939162dbd91ccb706f75f0f Mon Sep 17 00:00:00 2001 > From: Joseph LaFreniere > Date: Sun, 26 Jul 2020 11:06:19 -0500 > Subject: [PATCH] gnu: Add emacs-standard-dirs. > > * gnu/packages/emacs-xyz.scm (emacs-standard-dirs): New variable. Applied, thanks! Ludo=E2=80=99. ------------=_1600548001-743-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 26 Jul 2020 16:13:52 +0000 Received: from localhost ([127.0.0.1]:53348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzjHb-0002KI-QU for submit@debbugs.gnu.org; Sun, 26 Jul 2020 12:13:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:44976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzjHZ-0002KA-D2 for submit@debbugs.gnu.org; Sun, 26 Jul 2020 12:13:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzjHZ-0004l9-4x for guix-patches@gnu.org; Sun, 26 Jul 2020 12:13:49 -0400 Received: from mx.kolabnow.com ([95.128.36.41]:2082) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzjHW-0000Bq-Nr for guix-patches@gnu.org; Sun, 26 Jul 2020 12:13:48 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id BF0E964D for ; Sun, 26 Jul 2020 18:13:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from:received:received:received; s= dkim20160331; t=1595780022; x=1597594423; bh=52X0kuvduD8USWWgp5K fY4WLgIiM4vuzzlWOavGpr2Y=; b=4hz4N/uPXahpEted8mb3YynaunIDtjkAXV/ vUHgfAow44ilvbdn5JXKJkQfHGeYPtxoX5JkCpcYbwEd/RqaV5jgkLPuA3hlBZKx 8DbzWRUxx3/FCZhAbqfqZeEtWEH64vR/EkMywWyMBDStyqKdZoIRXl4yCUajGpy0 GVEDEFpcJ1gCIrBhB2Zy3+Y2HtzWqUNeHtAUePc3pmO+0bSU6I4/G+el8snflUjI jLbDSluRggdfJaWVZwzanqBHuo6IAx0n2YHjjAGWgcufEenGuirg0+Em7Vlnxfox 5TBoWnJ0SqSek8/+8cAvew3JC82Ak13xZ040ZxytfYNFMYU9HN5lUxS9TsB65u0P LQLzhM9o+0Eqp+wtNvU3ECVs3m7aMPxwUa9lWZgOYOBfEUX9Lh9fLZ5EnALx4v0d jeBcL3FVYSrXL1e5xbgZSd7ct8Q2h5GXm7lOlT0fydRN8+6Qyn3M8wg6OsA5Fyfx u6/NEjUIIBFOOawbnoSSmXljwJBHxo4ExuX8tMXEHy4gxszB38N647AFmr9fif43 fj7XQJvu7EDhR1GLY3Esvm0h3g7holy0swe+6Da7ylemmv7SBUQk5peziQwoE9sV h0cxR+f+WaQOrU5bq/7xivagaNxK3w2O6IidTDQ8F6+2IX6OC09mT1wpnzEKWV7G KzEmArnU= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-10 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Asiq9cZ2SJwt for ; Sun, 26 Jul 2020 18:13:42 +0200 (CEST) Received: from int-mx002.mykolab.com (unknown [10.9.13.2]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id 00FB0520 for ; Sun, 26 Jul 2020 18:13:41 +0200 (CEST) Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx002.mykolab.com (Postfix) with ESMTPS id B4FE32328 for ; Sun, 26 Jul 2020 18:13:41 +0200 (CEST) From: "LaFreniere, Joseph" To: guix-patches@gnu.org Subject: [PATCH] gnu: Add emacs-standard-dirs. Date: Sun, 26 Jul 2020 11:13:38 -0500 Message-ID: <87lfj6s18t.fsf@odyssey.lafreniere.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=95.128.36.41; envelope-from=joseph@lafreniere.xyz; helo=mx.kolabnow.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/26 12:13:43 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FROM_SUSPICIOUS_NTLD=1, FROM_SUSPICIOUS_NTLD_FP=1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.9 (-) --=-=-= Content-Type: text/plain; format=flowed Patch file is attached. Disclaimer that I am the author of the upstream package. Even though Guix does not (to the best of my knowledge) currently support macOS, I left the paragraph about behavior in macOS in the description because cross-platform support for users of multiple operating systems was one of my primary motivations for writing the package. -- Joseph LaFreniere --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-emacs-standard-dirs.patch >From 2e0716d7ed9b35b780cbefda29bb9982079461ed Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Sun, 26 Jul 2020 11:06:19 -0500 Subject: [PATCH] gnu: Add emacs-standard-dirs. * gnu/packages/emacs-xyz.scm (emacs-standard-dirs): New variable. --- gnu/packages/emacs-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index db395361b9..d9529a2182 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -3570,6 +3570,39 @@ particular, the minor mode works quite well with Org or Markdown modes, or other markup language major modes.") (license license:gpl3+)))) +(define-public emacs-standard-dirs + (package + (name "emacs-standard-dirs") + (version "2.0.0") + (home-page "https://github.com/lafrenierejm/standard-dirs.el") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0r814qcrhvx4qlx4sdzwdmrhiryslqclx0bnpp0qcrbx6g8qfl25")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-f" ,emacs-f) + ("emacs-s" ,emacs-s))) + (synopsis "Platform-specific paths for config, cache, and other data") + (description + "This package provides platform-specific paths for reading and writing +configuration, cache, and other data. + +On Linux (@code{gnu/linux}), the directory paths conform to the +@uref{https://specifications.freedesktop.org/basedir-spec/basedir-spec-0.6.html, +XDG Base Directory Specification} where relevant, with fallbacks to +@code{xdg-user-dirs}. + +On macOS (@code{darwin}), the directory paths conform to Apple's +@uref{https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/FileSystemOverview/FileSystemOverview.html#//apple_ref/doc/uid/TP40010672-CH2-SW14, +macOS File System Programming Guide}.") + (license license:gpl3+))) + (define-public emacs-string-inflection (package (name "emacs-string-inflection") -- 2.27.0 --=-=-=-- ------------=_1600548001-743-1--