GNU bug report logs - #53571
[PATCH] gnu: Add emacs-validate-html.

Previous Next

Package: guix-patches;

Reported by: jgart <jgart <at> dismail.de>

Date: Thu, 27 Jan 2022 05:56:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53571 in the body.
You can then email your comments to 53571 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#53571; Package guix-patches. (Thu, 27 Jan 2022 05:56:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to jgart <jgart <at> dismail.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 27 Jan 2022 05:56:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: guix-patches <at> gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH] gnu: Add emacs-validate-html.
Date: Thu, 27 Jan 2022 00:54:27 -0500
* gnu/packages/emacs-xyz.scm (emacs-validate-html): New variable.
---

Hi,

Here is another one I'm upstreaming from Guix 'R Us.

all best,

jgart

https://whereiseveryone.srht.site
gemini://whereiseveryone.srht.site

 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 258c2b25b5..fa8acf47e7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -29917,6 +29917,33 @@ (define-public emacs-nasm-mode
 Unlike Emacs' generic ASM mode, it understands NASM-specific syntax.")
     (license license:unlicense)))
 
+(define-public emacs-validate-html
+  (let ((commit "748e874d50c3a95c61590ae293778e26de05c5f9")
+        (revision "0"))
+    (package
+      (name "emacs-validate-html")
+      (version (git-version "0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/arthurgleckler/validate-html")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0b2b5dm85jwgkqvga23r3vfya07vxv2n7a3a6r1pxpk8asqlw41c"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/arthurgleckler/validate-html")
+      (synopsis "Run the W3C HTML Validator directly from Emacs")
+      (description
+"@command{emacs-validate-html} installs the command @command{validate-html},
+which sends the current buffer to the World Wide Web Consortium’s HTML
+Validator service and displays the results in a buffer in Compilation
+mode.  Use standard Compilation commands like next-error to move through
+the errors in the source buffer.")
+      (license license:gpl3+))))
+
 (define-public emacs-global-tags
   (let ((commit "06db25d91cc8bfb5e24e02adc04de1226c7e742d")
         (revision "0"))
-- 
2.34.1





Information forwarded to guix-patches <at> gnu.org:
bug#53571; Package guix-patches. (Fri, 28 Jan 2022 08:20:03 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: jgart via Guix-patches via <guix-patches <at> gnu.org>
Cc: 53571-done <at> debbugs.gnu.org, jgart <jgart <at> dismail.de>
Subject: Re: [bug#53571] [PATCH] gnu: Add emacs-validate-html.
Date: Fri, 28 Jan 2022 09:19:52 +0100
Hello,

jgart via Guix-patches via <guix-patches <at> gnu.org> writes:

> * gnu/packages/emacs-xyz.scm (emacs-validate-html): New variable.

Thank you. I applied it with the changes below:

> +(define-public emacs-validate-html
> +  (let ((commit "748e874d50c3a95c61590ae293778e26de05c5f9")
> +        (revision "0"))
> +    (package
> +      (name "emacs-validate-html")
> +      (version (git-version "0.1" revision commit))

Version is actually "1.3" per main file.  I also removed `revision'
since `commit' matches the latest version bump.

I also added a comment explaining the situation.

> +      (description
> +"@command{emacs-validate-html} installs the command @command{validate-html},
> +which sends the current buffer to the World Wide Web Consortium’s HTML
> +Validator service and displays the results in a buffer in Compilation
> +mode.  Use standard Compilation commands like next-error to move through
> +the errors in the source buffer.")
> +      (license license:gpl3+))))

I removed last sentence, which belongs to the package manual rather than
its description.

Regards,
-- 
Nicolas Goaziou




Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Fri, 28 Jan 2022 08:21:02 GMT) Full text and rfc822 format available.

Notification sent to jgart <jgart <at> dismail.de>:
bug acknowledged by developer. (Fri, 28 Jan 2022 08:21:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 25 Feb 2022 12:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 200 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.