gnu: emacs-embark: Update to 0.10.

* gnu/packages/emacs-xyz.scm (emacs-embark): Update to 0.10.
[propagated-inputs]: Add emacs-consult.
[description]: Expound it.
This commit is contained in:
Nicolas Goaziou 2021-02-06 10:18:23 +01:00
parent eefbec5595
commit ee3f819fb4
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -7069,31 +7069,40 @@ them easier to distinguish from other, less important buffers.")
(license license:expat))) (license license:expat)))
(define-public emacs-embark (define-public emacs-embark
;; There are no tagged releases upstream on GitHub, instead we are using the (package
;; most recent commit. (name "emacs-embark")
(let ((commit "dc20b4e53c4ce1ad91100dfeb093115f2cc0b210") (version "0.10")
(revision "0")) (source
(package (origin
(name "emacs-embark") (method git-fetch)
(version (git-version "0.6" revision commit)) (uri (git-reference
(source (url "https://github.com/oantolin/embark")
(origin (commit version)))
(method git-fetch) (sha256
(uri (git-reference (base32 "063hc0hganws11vjdk3ic0mxm9i0vpw6s7hzbgxvja0gjkdxjldz"))
(url "https://github.com/oantolin/embark") (file-name (git-file-name name version))))
(commit commit))) (build-system emacs-build-system)
(sha256 (propagated-inputs
(base32 "1jrvdlwip7zll5ixlnk9l0apr8hj60ysqfc47q3k4hhfyl9rawbq")) `(("emacs-avy" ,emacs-avy)
(file-name (git-file-name name version)))) ("emacs-consult" ,emacs-consult)))
(build-system emacs-build-system) (home-page "https://github.com/oantolin/embark")
(propagated-inputs (synopsis "Emacs mini-buffer actions rooted in keymaps")
`(("emacs-avy" ,emacs-avy))) (description
(home-page "https://github.com/oantolin/embark") "This package provides a sort of right-click contextual menu for Emacs
(synopsis "Emacs mini-buffer actions rooted in keymaps") offering you relevant @emph{actions} to use on a @emph{target} determined by
(description "This package provides a command embark-act (and a variant the context.
embark-act-noexit), to execute actions on the top minibuffer completion
canidate: the one that would be chosen by minibuffer-force-complete.") In the minibuffer, the target is the current best completion candidate. In
(license license:gpl3+)))) the @code{*Completions*} buffer the target is the completion at point.
n a regular buffer, the target is the region if active, or else the file,
symbol or URL at point.
The type of actions offered depend on the type of the target. For files you
get offered actions like deleting, copying, renaming, visiting in another
window, running a shell command on the file, etc. For buffers the actions
include switching to or killing the buffer. For package names the actions
include installing, removing or visiting the homepage.")
(license license:gpl3+)))
(define-public emacs-prescient (define-public emacs-prescient
(package (package