Subject: [bug#75683] [PATCH] gnu: Add emacs-discourse-mode.

From: Nicolas Goaziou <[email-masked]>
Date: Tue, 18 Feb 2025 18:42:03 +0100

Hello,

Yuval Langer <[email-masked]> writes:

> * gnu/packages/emacs-xyz.scm (emacs-discourse-mode): New variable.

Thank you.

> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "https://codeberg.org/glenneth/discourse-mode")
> +             (commit "v0.2.4")))

Please use (string-append "v" version) here.

> +       (file-name (git-file-name name version))
> +       (sha256
> +        (base32 "0j2f0vclj6zrmk1hxyrrhkcpk74vqvq42g9wjqrjw827yjh2wm65"))))
> +    (build-system emacs-build-system)
> +    (propagated-inputs (list emacs-compat
> +                             emacs-markdown-mode
> +                             emacs-request))
> +    (home-page "https://codeberg.org/glenneth/discourse-mode")
> +    (synopsis "Emacs package for interacting with Discourse forums")
> +    (description "Browse categories, view topics, read posts, and
> +participate in discussions on Discourse, directly from Emacs.")

Description is expected to contain "complete" sentences. Here,
I suggest, unimaginatively:

  This package lets you browse…

There are some tests in the repo. Could you try running them during
build? Or maybe they require internet access. I didn’t check.

Regards,
-- 
Nicolas Goaziou