unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#53475] [PATCH] gnu: Add emacs-cape.
@ 2022-01-23 14:22 Brandon Lucas
  2022-01-23 17:24 ` bug#53475: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Brandon Lucas @ 2022-01-23 14:22 UTC (permalink / raw)
  To: 53475; +Cc: Brandon Lucas

* 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






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

end of thread, other threads:[~2022-01-23 17:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-23 14:22 [bug#53475] [PATCH] gnu: Add emacs-cape Brandon Lucas
2022-01-23 17:24 ` bug#53475: " Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).