all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: tumashu@163.com
Cc: 60549-done@debbugs.gnu.org
Subject: bug#60549: [PATCH 2/5] gnu: Add emacs-citre.
Date: Sat, 07 Jan 2023 01:00:51 +0100	[thread overview]
Message-ID: <87v8ljrz64.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <20230104124644.19925-1-tumashu@163.com> (tumashu@163.com's message of "Wed, 4 Jan 2023 20:46:44 +0800")

Hello,

tumashu@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




  reply	other threads:[~2023-01-07  0:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-04 12:46 [bug#60549] [PATCH 2/5] gnu: Add emacs-citre tumashu
2023-01-07  0:00 ` Nicolas Goaziou [this message]
2023-01-07  7:16   ` Feng Shu
2023-01-07 11:11     ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v8ljrz64.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=60549-done@debbugs.gnu.org \
    --cc=tumashu@163.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.