From: Brett Gilio <brettg@posteo.net>
To: 38339@debbugs.gnu.org
Subject: [bug#38339] [PATCH 1/2] gnu: Add emacs-shrink-path.
Date: Fri, 22 Nov 2019 22:00:23 -0600 [thread overview]
Message-ID: <87tv6vgs2w.fsf@posteo.net> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: [PATCH 1/2] gnu: Add emacs-shrink-path. --]
[-- Type: text/x-patch, Size: 1655 bytes --]
From 90879f02c521d479630cabe3ff754952e859efd6 Mon Sep 17 00:00:00 2001
From: Brett Gilio <brettg@posteo.net>
Date: Fri, 22 Nov 2019 21:50:54 -0600
Subject: [PATCH 1/2] gnu: Add emacs-shrink-path.
* gnu/packages/emacs-xyz.scm (emacs-shrink-path): New variable.
---
gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0caf12a423..c280d44f39 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -19943,3 +19943,28 @@ Google guidelines.")
(description "Helm Fish Completion is a Helm interface for Emacs
fish-completion. It can be used in both Eshell and M-x shell.")
(license license:gpl3+))))
+(define-public emacs-shrink-path
+ (package
+ (name "emacs-shrink-path")
+ (version "0.3.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/bennya/shrink-path.el.git")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32
+ "0kx0c4syd7k6ff9j463bib32pz4wq0rzjlg6b0yqnymlzfr1mbki"))
+ (file-name (git-file-name name version))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-s" ,emacs-s)
+ ("emacs-dash" ,emacs-dash)
+ ("emacs-f" ,emacs-f)))
+ (home-page
+ "https://gitlab.com/bennya/shrink-path.el")
+ (synopsis "Fish-style path truncation in emacs-lisp")
+ (description "Small utility functions that allow for fish-style
+trunctated directories in eshell and various modelines.")
+ (license license:gpl3+)))
--
2.24.0
next reply other threads:[~2019-11-23 4:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-23 4:00 Brett Gilio [this message]
2019-11-23 4:03 ` [bug#38339] [PATCH 2/2] gnu: Add emacs-doom-modeline Brett Gilio
2019-12-02 9:10 ` bug#38339: " Ludovic Courtès
2019-12-02 9:07 ` [bug#38339] [PATCH 1/2] gnu: Add emacs-shrink-path Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tv6vgs2w.fsf@posteo.net \
--to=brettg@posteo.net \
--cc=38339@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.