[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/07: gnu: Add emacs-fish-completion.
From: |
Ludovic Courtès |
Subject: |
07/07: gnu: Add emacs-fish-completion. |
Date: |
Sat, 2 Jun 2018 10:02:59 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 15dcd292df417ef26b69ab892b68c21812c596a7
Author: Pierre Neidhardt <address@hidden>
Date: Fri Jun 1 09:50:25 2018 +0200
gnu: Add emacs-fish-completion.
* gnu/packages/emacs.scm (emacs-fish-completion): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/emacs.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 5c64999..e5da655 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -107,6 +107,7 @@
#:use-module (gnu packages fontutils)
#:use-module (gnu packages password-utils)
#:use-module (gnu packages xdisorg)
+ #:use-module (gnu packages shells)
#:use-module (guix utils)
#:use-module (srfi srfi-1)
#:use-module (ice-9 match))
@@ -10755,3 +10756,40 @@ Org-mode. It features:
@item agenda support.
@end itemize\n")
(license license:gpl3+))))
+
+(define-public emacs-fish-completion
+ (package
+ (name "emacs-fish-completion")
+ (version "20180329")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/Ambrevar/emacs-fish-completion/archive/"
+ "3e3ed1f19fa778b7c35ad88e033dce5a6b1fc153"
+ ".tar.gz"))
+ (sha256
+ (base32
+ "16329py7fvid0bap1qhqxhdc68m9qqy1p8gc2bhng81zhm5a5zsm"))))
+ (build-system emacs-build-system)
+ (propagated-inputs `(("fish" ,fish)))
+ (home-page
+ "https://github.com/Ambrevar/emacs-fish-completion")
+ (synopsis "Fish completion for Emacs pcomplete")
+ (description
+ "This package provides completion for the Fish shell to pcomplete (used
+by shell and Eshell). You can set it up globally with:
+
address@hidden
+(when (and (executable-find \"fish\")
+ (require 'fish-completion nil t))
+ (global-fish-completion-mode))
address@hidden example
+
+Alternatively, you can call the @code{fish-completion-mode} manually or in
+shell/Eshell mode hook.
+
+The package @code{emacs-bash-completion} is an optional dependency: if
available,
address@hidden can be configured to fall back on bash to further
+try completing. See @code{fish-completion-fallback-on-bash-p}.")
+ (license license:gpl3+)))
- branch master updated (9296379 -> 15dcd29), Ludovic Courtès, 2018/06/02
- 02/07: gnu: Add emacs-evil-ediff., Ludovic Courtès, 2018/06/02
- 01/07: self: Do not build (guix man-db)., Ludovic Courtès, 2018/06/02
- 05/07: gnu: Add emacs-evil-multiedit., Ludovic Courtès, 2018/06/02
- 06/07: gnu: Add emacs-evil-org., Ludovic Courtès, 2018/06/02
- 03/07: gnu: Add emacs-evil-magit., Ludovic Courtès, 2018/06/02
- 07/07: gnu: Add emacs-fish-completion.,
Ludovic Courtès <=
- 04/07: gnu: Add emacs-evil-mu4e., Ludovic Courtès, 2018/06/02