From: Rostislav Svoboda <rostislav.svoboda@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: 61756@debbugs.gnu.org
Subject: [bug#61756] [PATCH 5/8] gnu: Add emacs-xcscope.
Date: Sat, 11 Mar 2023 14:08:45 +0100 [thread overview]
Message-ID: <CAEtmmeywYQNFO4sFx44jwadxhDhMzdJijaLDqzybnrtejJXUZQ@mail.gmail.com> (raw)
In-Reply-To: <87wn3r6ygy.fsf@nicolasgoaziou.fr>
Hello,
I'm resending the patch yet again. See below. I missed that
'(revision "0")' and didn't run `guix lint`. (Sorry, I'm learning)
> You also need to add `cscope' as an input, and patch "xscope.el" so
> `cscope-program' point to the proper binary, using
> `emacs-substitute-variables'. See, e.g., emacs-plz package for an
> example.
`guix style` makes this line too long. I guess I can ignore that, right?
Regards
Bost
From 57e30de01ab56f5917580e43f69ce558187432fb Mon Sep 17 00:00:00 2001
From: Rostislav Svoboda <Rostislav.Svoboda@gmail.com>
Date: Sat, 11 Mar 2023 12:50:08 +0100
Subject: [PATCH 1/3] gnu: Add emacs-xcscope.
* gnu/packages/emacs-xyz.scm (emacs-xcscope): New variable.
---
gnu/packages/emacs-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 13caf6e882..509c640b78 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4176,6 +4176,39 @@ (define-public emacs-form-feed
into mode hooks and is intended to be used that way.")
(license license:gpl3+)))
+(define-public emacs-xcscope
+ (let ((commit "d228d7593d762e457340f678d14b663ef66d7cee")
+ (revision "0"))
+ (package
+ (name "emacs-xcscope")
+ (version (git-version "1.5" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dkogan/xcscope.el")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0pr85ywp585imjzswm04647nb4iqqvg8jgmbcs5210qmr9kh0z8d"))))
+ (build-system emacs-build-system)
+ (inputs (list cscope))
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'substitute-cscope-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (emacs-substitute-variables "xcscope.el"
+ ("cscope-program" (search-input-file
+ inputs "/bin/cscope"))))))))
+ (home-page "https://github.com/dkogan/xcscope.el")
+ (synopsis "Interface to the source cross-referencing tool Cscope")
+ (description
+ "Xcscope is an Emacs interface to Cscope, the source cross-referencing
+tool. See https://cscope.sf.net")
+ (license license:gpl2+))))
+
(define-public emacs-ggtags
(package
(name "emacs-ggtags")
--
2.39.2
next prev parent reply other threads:[~2023-03-11 13:10 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-24 14:18 [bug#61753] [PATCH 1/8] gnu: Add emacs-font-lock+ Rostislav Svoboda
2023-02-24 14:18 ` [bug#61752] [PATCH 2/8] gnu: Add emacs-cfrs Rostislav Svoboda
2023-03-08 15:33 ` bug#61752: " Nicolas Goaziou
2023-02-24 14:18 ` [bug#61754] [PATCH 3/8] gnu: Add emacs-ac-ispell Rostislav Svoboda
2023-03-08 15:34 ` bug#61754: " Nicolas Goaziou
2023-02-24 14:18 ` [bug#61755] [PATCH 4/8] gnu: Add emacs-ace-jump-helm-line Rostislav Svoboda
2023-03-08 15:35 ` bug#61755: " Nicolas Goaziou
2023-02-24 14:18 ` [bug#61756] [PATCH 5/8] gnu: Add emacs-xcscope Rostislav Svoboda
2023-03-08 15:42 ` Nicolas Goaziou
2023-03-11 11:59 ` Rostislav Svoboda
2023-03-11 13:08 ` Rostislav Svoboda [this message]
2023-03-15 23:28 ` bug#61756: " Nicolas Goaziou
2023-02-24 14:18 ` [bug#61757] [PATCH 6/8] gnu: Add emacs-ac-php Rostislav Svoboda
2023-03-15 23:29 ` bug#61757: " Nicolas Goaziou
2023-02-24 14:18 ` [bug#61758] [PATCH 7/8] gnu: Add emacs-cider-eval-sexp-fu Rostislav Svoboda
2023-03-08 15:36 ` bug#61758: " Nicolas Goaziou
2023-02-24 14:18 ` [bug#61759] [PATCH 8/8] gnu: Add emacs-afternoon-theme Rostislav Svoboda
2023-03-08 15:36 ` bug#61759: " Nicolas Goaziou
2023-03-08 15:28 ` bug#61753: [PATCH 1/8] gnu: Add emacs-font-lock+ 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=CAEtmmeywYQNFO4sFx44jwadxhDhMzdJijaLDqzybnrtejJXUZQ@mail.gmail.com \
--to=rostislav.svoboda@gmail.com \
--cc=61756@debbugs.gnu.org \
--cc=mail@nicolasgoaziou.fr \
/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.