all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#47304] [PATCH] gnu: Add emacs-relative-buffers.
@ 2021-03-21 23:48 Joseph LaFreniere
  2021-03-26 21:12 ` bug#47304: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph LaFreniere @ 2021-03-21 23:48 UTC (permalink / raw)
  To: 47304

[-- Attachment #1: Type: text/plain, Size: 46 bytes --]

Patch file is attached.

--
Joseph LaFreniere

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-emacs-relative-buffers.patch --]
[-- Type: text/x-patch, Size: 2390 bytes --]

From 9dffdb221ab741ea564b5f07e92a6a29ec3e9ccf Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sun, 21 Mar 2021 18:47:22 -0500
Subject: [PATCH] gnu: Add emacs-relative-buffers.

* gnu/packages/emacs-xyz.scm (emacs-relative-buffers): New variable.
---
 gnu/packages/emacs-xyz.scm | 39 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7085318e58..328c948e89 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27253,3 +27253,42 @@ and prefered services can easily be configured.")
        "This package provides an Elisp wrapper around the Java
 @command{keytool} command and major mode for viewing Java keystores.")
       (license license:expat))))
+
+(define-public emacs-relative-buffers
+  (let ((release "0.0.1")
+        (revision "0")
+        (commit "9762fe268e9ff150dcec2e2e45d862d82d5c4008"))
+    (package
+      (name "emacs-relative-buffers")
+      (version (git-version release revision commit))
+      (home-page "https://github.com/emacsattic/relative-buffers")
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url home-page)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32 "0fzhwbpyndwrmxip9zlcwkrr675l5pzwcygi45hv7w1hn39w0hxp"))
+                (snippet
+                 '(begin
+                    ;; Delete the Cask test runners.
+                    (for-each delete-file '("Cask" "test/test-helper.el"))
+                    #t))))
+      (build-system emacs-build-system)
+      (arguments
+       `(#:tests? #t
+         #:test-command '("ert-runner")))
+      (native-inputs
+       `(("ert-runner" ,emacs-ert-runner)))
+      (propagated-inputs
+       `(("emacs-dash" ,emacs-dash)
+         ("emacs-f" ,emacs-f)
+         ("emacs-s" ,emacs-s)))
+      (synopsis "Minor mode to rename buffers by project structure")
+      (description
+       "This package provides a minor mode for renaming buffers according to
+project structure.  For python buffers, that will be the whole module name.
+For temporary files and directories, that will be the relative path from the
+project root.")
+      (license license:gpl3+))))
-- 
2.31.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#47304: [PATCH] gnu: Add emacs-relative-buffers.
  2021-03-21 23:48 [bug#47304] [PATCH] gnu: Add emacs-relative-buffers Joseph LaFreniere
@ 2021-03-26 21:12 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2021-03-26 21:12 UTC (permalink / raw)
  To: Joseph LaFreniere; +Cc: 47304-done

Hello,

Joseph LaFreniere <joseph@lafreniere.xyz> writes:

> Patch file is attached.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-26 21:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-21 23:48 [bug#47304] [PATCH] gnu: Add emacs-relative-buffers Joseph LaFreniere
2021-03-26 21:12 ` bug#47304: " Nicolas Goaziou

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.