unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#47387] [PATCH] gnu: Add emacs-nice-citation.
@ 2021-03-25 13:39 Xinglu Chen
  2021-03-26 14:08 ` bug#47387: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Xinglu Chen @ 2021-03-25 13:39 UTC (permalink / raw)
  To: 47387

* gnu/packages/emacs-xyz.scm (emacs-nice-citation): New variable.
---
 gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f45507c647..cdd9cea75d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21335,6 +21335,33 @@ DBI, and provides DB-accessing API and the simple management UI.")
 to open SQLite databases.")
       (license license:gpl3+))))
 
+(define-public emacs-nice-citation
+  (let ((commit "1013b56d9d1495a335f40a5f76203034dc5fa0ea")
+        (revision "0"))
+    (package
+      (name "emacs-nice-citation")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/damiencollard/nice-citation")
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "00xqr7haca5vd0bzd043lc6x4fjb903z96frz9b8cbd7spp63z7q"))
+                (file-name (git-file-name name version))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/damiencollard/nice-citation")
+      (synopsis "Nicer, depth-colored citations for Gnus")
+      (description "This package this replaces the traditional chevron
+citation marks @code{>} with a Unicode vertical bar with the same color as
+the text it is quoting.
+
+It is purely presentation: The underlying text is unchanged.  In particular,
+if you send an e-mail containing a citation, it will contain the traditional
+chevron marks.")
+      (license license:gpl3+))))
+
 (define-public emacs-nix-mode
   (package
     (name "emacs-nix-mode")

base-commit: ab170124a327b4b359fc440796b18fadb0516f3c
-- 
2.30.1






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#47387: [PATCH] gnu: Add emacs-nice-citation.
  2021-03-25 13:39 [bug#47387] [PATCH] gnu: Add emacs-nice-citation Xinglu Chen
@ 2021-03-26 14:08 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2021-03-26 14:08 UTC (permalink / raw)
  To: Xinglu Chen; +Cc: 47387-done

Hello,

Xinglu Chen <public@yoctocell.xyz> writes:

> * gnu/packages/emacs-xyz.scm (emacs-nice-citation): New variable.

Thank you. I applied your patch with the following changes.

> +      (version (git-version "0.0.0" revision commit))

I used "0.0.2" version, as specified in the main file. 

> +      (synopsis "Nicer, depth-colored citations for Gnus")

I removed "Nicer" marketing word.

> +      (description "This package this replaces the traditional chevron

I fixed the typo above.

> +citation marks @code{>} with a Unicode vertical bar with the same color as

I used @samp instead of @code. They have not the same purpose, although
they look the same.


Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-26 14:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-25 13:39 [bug#47387] [PATCH] gnu: Add emacs-nice-citation Xinglu Chen
2021-03-26 14:08 ` bug#47387: " Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).