* [bug#54089] [PATCH] gnu: Add emacs-highlight-doxygen
@ 2022-02-21 17:07 Niklas Eklund
2022-02-22 10:35 ` bug#54089: " Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Niklas Eklund @ 2022-02-21 17:07 UTC (permalink / raw)
To: 54089
[-- Attachment #1: Type: text/plain, Size: 103 bytes --]
Hello,
here is a patch adding the highlight-doxygen package for Emacs.
Best regards,
Niklas Eklund
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch --]
[-- Type: text/x-patch, Size: 2047 bytes --]
From 8bd74db7e27879b5efb0656614aec4c5e3e7384e Mon Sep 17 00:00:00 2001
From: Niklas Eklund <niklas.eklund@posteo.net>
Date: Mon, 21 Feb 2022 17:52:40 +0100
Subject: [PATCH] gnu: Add emacs-highlight-doxygen.
* gnu/packages/emacs-xyz.scm (emacs-highlight-doxygen): New variable.
---
gnu/packages/emacs-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3b909b8d0d..389be930fe 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27539,6 +27539,35 @@ (define-public emacs-flycheck-cpplint
(home-page "https://github.com/flycheck/flycheck-google-cpplint")
(license license:gpl3+))))
+(define-public emacs-highlight-doxygen
+ ;; Upstream does not tag releases. Commit below matches version bump.
+ (let ((commit "eec4874e2e89d4eb39091aad89a67dff8f8ec84c")
+ (revision "0"))
+ (package
+ (name "emacs-highlight-doxygen")
+ (version (git-version "0.0.2" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lindydancer/highlight-doxygen")
+ (commit commit)))
+ (sha256
+ (base32
+ "0r3rv1px43r265716l3g20c1ss4381h1mc1kjxin22vdmrj6cmxy"))
+ (file-name (git-file-name name version))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/Lindydancer/highlight-doxygen")
+ (synopsis "Highlight Doxygen comments in Emacs, including code blocks")
+ (description
+ "Advanced highlighting package for Doxygen comments.
+
+In addition to highlighting Doxygen commands and their arguments, entire
+Doxygen comment are highlighted, making them stand out compared to other
+comments. The code blocks are highlighted according to the
+language they are written in.")
+ (license license:gpl3+))))
+
(define-public emacs-helm-fish-completion
(package
(name "emacs-helm-fish-completion")
--
2.34.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#54089: [PATCH] gnu: Add emacs-highlight-doxygen
2022-02-21 17:07 [bug#54089] [PATCH] gnu: Add emacs-highlight-doxygen Niklas Eklund
@ 2022-02-22 10:35 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2022-02-22 10:35 UTC (permalink / raw)
To: Niklas Eklund; +Cc: 54089-done
Hello,
Niklas Eklund <niklas.eklund@posteo.net> writes:
> here is a patch adding the highlight-doxygen package for Emacs.
Thank you. I applied your patch with the changes explained below.
> +(define-public emacs-highlight-doxygen
> + ;; Upstream does not tag releases. Commit below matches version bump.
> + (let ((commit "eec4874e2e89d4eb39091aad89a67dff8f8ec84c")
> + (revision "0"))
> + (package
> + (name "emacs-highlight-doxygen")
> + (version (git-version "0.0.2" revision commit))
Since commit matches version bump, you don't need GIT-VERSION at all.
I removed REVISION binding, and wrote:
(version "0.0.2")
> + (description
> + "Advanced highlighting package for Doxygen comments.
This is not a complete sentence. I wrote
This package highlights Doxygen comments.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-22 10:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-21 17:07 [bug#54089] [PATCH] gnu: Add emacs-highlight-doxygen Niklas Eklund
2022-02-22 10:35 ` bug#54089: " Nicolas Goaziou
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.