GNU bug report logs -
#60549
[PATCH 2/5] gnu: Add emacs-citre.
Previous Next
Reported by: tumashu <at> 163.com
Date: Wed, 4 Jan 2023 12:48:02 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
Message #10 received at 60549-done <at> debbugs.gnu.org (full text, mbox):
Hello,
tumashu <at> 163.com writes:
> * gnu/packages/emacs-xyz.scm (emacs-citre): New variable.
Applied, with the changes detailed below. Thank you.
> + #~(modify-phases %standard-phases
> + (add-after 'unpack 'patch-citre-ctags-program
> + (lambda* (#:key inputs #:allow-other-keys)
> + (emacs-substitute-sexps "citre-ctags.el"
> + ("defcustom citre-ctags-program"
> + (string-append (assoc-ref inputs "universal-ctags")
> + "/bin/ctags")))))
> + (add-after 'unpack 'patch-citre-readtags-program
> + (lambda* (#:key inputs #:allow-other-keys)
> + (emacs-substitute-sexps "citre-readtags.el"
> + ("defcustom citre-readtags-program"
> + (string-append (assoc-ref inputs "universal-ctags")
> + "/bin/readtags")))))
> + (add-after 'unpack 'patch-citre-gtags-program
> + (lambda* (#:key inputs #:allow-other-keys)
> + (emacs-substitute-sexps "citre-global.el"
> + ("defcustom citre-gtags-program"
> + (string-append (assoc-ref inputs "global")
> + "/bin/gtags")))))
> + (add-after 'unpack 'patch-citre-global-program
> + (lambda* (#:key inputs #:allow-other-keys)
> + (emacs-substitute-sexps "citre-global.el"
> + ("defcustom citre-global-program"
> + (string-append (assoc-ref inputs "global")
> + "/bin/global"))))))))
I merged everything into a single phase and used more specific
`emacs-substitute-variables' instead of `emacs-substitute-sexps'.
> + (inputs (list global universal-ctags))
> + (home-page "https://github.com/universal-ctags/citre")
> + (synopsis "Ctags IDE on the True Editor")
> + (description
> + "Citre is an advanced Ctags (or actually, readtags) frontend for
> +Emacs. It offers:
> +
> +@itemize
> +@item completion-at-point, xref and imenu integration.
> +@item citre-jump: A completing-read UI for jumping to definition.
> +@item citre-peek: A powerful code reading tool that lets you go down the
> +rabbit hole without leaving current buffer.
> +@end itemize\n")
I reworded the description.
Regards,
--
Nicolas Goaziou
This bug report was last modified 2 years and 137 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.