GNU bug report logs -
#31519
[PATCH 08/21] gnu: emacs-fish-completion: New variable.
Previous Next
Reported by: Pierre Neidhardt <ambrevar <at> gmail.com>
Date: Fri, 18 May 2018 18:50:21 UTC
Severity: normal
Tags: patch
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sat, 02 Jun 2018 15:59:24 +0200
with message-id <87603170hv.fsf <at> gnu.org>
and subject line Re: [bug#31519] [PATCH 08/21] gnu: Add emacs-fish-completion.
has caused the debbugs.gnu.org bug report #31519,
regarding [PATCH 08/21] gnu: emacs-fish-completion: New variable.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
31519: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31519
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* gnu/packages/emacs.scm (emacs-fish-completion): New variable.
---
gnu/packages/emacs.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index d8e8f6a34..82f250f34 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -106,6 +106,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))
@@ -10649,3 +10650,37 @@ defaults.")
- calendar (date selection) support
- agenda support")
(license license:gpl3+)))
+
+(define-public emacs-fish-completion
+ (package
+ (name "emacs-fish-completion")
+ (version "20180329.2137")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://melpa.org/packages/fish-completion-"
+ version
+ ".el"))
+ (sha256
+ (base32
+ "02fpxdvvpx6zdfmji6x61bsr4dw9x49wgxkla75i1yp1pqhmbjgp"))))
+ (build-system emacs-build-system)
+ (propagated-inputs `(("fish" ,fish)))
+ (home-page
+ "https://github.com/Ambrevar/emacs-fish-completion")
+ (synopsis
+ "Add fish completion to pcomplete (shell and Eshell)")
+ (description
+ "You can setup this package globally with:
+@code{(when (and (executable-find \"fish\")
+ (require 'fish-completion nil t))
+ (global-fish-completion-mode))}
+
+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,
+@code{fish-completion-complete} can be configured to fall back on bash to further
+try completing. See @code{fish-completion-fallback-on-bash-p}.")
+ (license license:gpl3+)))
--
2.17.0
[Message part 3 (message/rfc822, inline)]
Pierre Neidhardt <ambrevar <at> gmail.com> skribis:
> * gnu/packages/emacs.scm (emacs-fish-completion): New variable.
Applied.
This bug report was last modified 7 years and 82 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.