~ruther/guix-local

da088c622aa6dc3760936b2dd0295bd944c80095 — Liam Hupfer 11 months ago 1a7a195
gnu: Add emacs-cycle-at-point.

* gnu/packages/emacs-xyz.scm (emacs-cycle-at-point): New variable.

Change-Id: I73866a7b3ff8fd35daa1ef198ca8aa2847eeecf7
Signed-off-by: jgart <jgart@dismail.de>
1 files changed, 32 insertions(+), 0 deletions(-)

M gnu/packages/emacs-xyz.scm
M gnu/packages/emacs-xyz.scm => gnu/packages/emacs-xyz.scm +32 -0
@@ 37626,6 37626,38 @@ again to cycle over options.  Completion candidates are displayed in the echo
area.")
      (license license:gpl3+))))

(define-public emacs-cycle-at-point
  (package
    (name "emacs-cycle-at-point")
    (version "0.2")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://codeberg.org/ideasman42/emacs-cycle-at-point")
             (commit "83d94733fd8ed64f2ba40f4e1df7ecbfe8260e51")))
       (file-name (git-file-name name version))
       (sha256
        (base32 "17h93idzdg5y30q46y5njsvixwlq3isnynym6b6gp3sy50xqgjgs"))))
    (build-system emacs-build-system)
    (arguments
     (list
      ;; `make test' assumes recomplete repository is in a sibling directory.
      #:test-command
      #~(list "emacs" "-Q" "--batch"
              "-l" "tests/cycle-at-point-tests"
              "-f" "ert-run-tests-batch-and-exit")))
    (propagated-inputs (list emacs-recomplete))
    (home-page "https://codeberg.org/ideasman42/emacs-cycle-at-point")
    (synopsis "Immediately cycle text at the cursor, without prompting")
    (description
     "@code{cycle-at-point} provides commands to cycle text at the cursor.
Repeatedly invoke the command to cycle over available options.  Completion
candidates are displayed in the echo area.  Users can define their own
completion lists.  Common use cases include true and false literals,
arithmetic operators, and months of the year.")
    (license license:gpl3+)))

(define-public emacs-ediprolog
  (package
    (name "emacs-ediprolog")