Subject: bug#53475: closed (Re: [bug#53475] [PATCH] gnu: Add emacs-cape.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 23 Jan 2022 17:26:01 +0000

Your bug report

#53475: [PATCH] gnu: Add emacs-cape.

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 [email-masked].

-- 
53475: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=53475
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#53475] [PATCH] gnu: Add emacs-cape.
From: Nicolas Goaziou <[email-masked]>
To: Brandon Lucas <[email-masked]>
Cc: [email-masked]
Date: Sun, 23 Jan 2022 18:24:55 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Brandon Lucas <[email-masked]> writes:

> * gnu/packages/emacs-xyz.scm (emacs-cape): New variable.

Thank you.

I fixed the license field, changed the description, and downcased
synopsis. Then I applied your patch.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add emacs-cape.
From: Brandon Lucas <[email-masked]>
To: [email-masked]
Cc: Brandon Lucas <[email-masked]>
Date: Sun, 23 Jan 2022 14:22:54 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8edbfc5a3d..f853f0b832 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2902,6 +2902,41 @@ (define-public emacs-corfu
 @code{completion-in-region} counterpart of the Vertico minibuffer UI.")
     (license license:gpl3+)))

+(define-public emacs-cape
+  (package
+    (name "emacs-cape")
+    (version "0.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/minad/cape")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0780qymlrg3glyxypizqzwicp5ly5xavxgpmayhx8cxlgp2zlkjh"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/minad/cape")
+    (synopsis "Completion At Point Extensions for Emacs")
+    (description
+     "Cape provides additional completion backends in the form of Capfs
+(completion-at-point-functions).
+
+@itemize
+@item cape-dabbrev: Complete word from current buffers
+@item cape-file: Complete file name
+@item cape-keyword: Complete programming language keyword
+@item cape-symbol: Complete Elisp symbol
+@item cape-abbrev: Complete abbreviation (add-global-abbrev, add-mode-abbrev)
+@item cape-ispell: Complete word from Ispell dictionary
+@item cape-dict: Complete word from dictionary file
+@item cape-line: Complete entire line from file
+@item cape-tex: Complete unicode char from TeX command, e.g. \\hbar.
+@item cape-sgml: Complete unicode char from Sgml entity, e.g., &alpha.
+@item cape-rfc1345: Complete unicode char using RFC 1345 mnemonics.
+@end itemize\n")
+    (license license:gpl3)))
+
 (define-public emacs-direnv
   (package
     (name "emacs-direnv")
--
2.34.0