unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#39334] [PATCH] gnu: Add emacs-message-x.
@ 2020-01-29  0:05 Amin Bandali
  2020-02-02 13:46 ` bug#39334: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Amin Bandali @ 2020-01-29  0:05 UTC (permalink / raw)
  To: 39334; +Cc: Amin Bandali

* gnu/packages/emacs-xyz.scm (emacs-message-x): New variable.
---
 gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e834dfffb3..84396a8740 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21237,3 +21237,31 @@ mode-line text (lighter) of major and minor modes.")
       (description "@code{unkillable-scratch} helps prevent killing buffers
 matching a given regexp.")
       (license license:gpl2+))))
+
+(define-public emacs-message-x
+  ;; Use the latest commit, as there are no tagged releases.
+  (let ((commit "5524de7bbfdd8749c110f48de5afb024d9f83133")
+        (revision "0"))
+    (package
+      (name "emacs-message-x")
+      (version (git-version "1.23" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/emacsmirror/message-x.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0qy1xf11j357lsnbb829hnbg7fq1cii4cx54fwf0wgjh1bv2abvj"))))
+      (build-system emacs-build-system)
+      (home-page "https://www.emacswiki.org/emacs/message-x.el")
+      (synopsis "Customizable completion in message headers")
+      (description "@code{message-x} assigns a context-sensitive
+function to the TAB key in @code{message-mode} of Gnus.  When on a
+header line, it performs completion based on which header we are
+in (for example, newsgroup name completion makes sense on the
+@code{Newsgroups} header, whereas mail alias expansion makes sense in
+the @code{To} and @code{Cc} headers).  When in the message body, this
+executes a different function (default: @code{indent-relative}).")
+      (license license:gpl2+))))
-- 
2.25.0

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

* bug#39334: [PATCH] gnu: Add emacs-message-x.
  2020-01-29  0:05 [bug#39334] [PATCH] gnu: Add emacs-message-x Amin Bandali
@ 2020-02-02 13:46 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-02-02 13:46 UTC (permalink / raw)
  To: Amin Bandali; +Cc: 39334-done

Hello,

Amin Bandali <mab@gnu.org> writes:

> * gnu/packages/emacs-xyz.scm (emacs-message-x): New variable.

Applied as 9f2f96926064a9b0a3774b4734cf681ed5d5358f. Thank you!

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2020-02-02 13:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-29  0:05 [bug#39334] [PATCH] gnu: Add emacs-message-x Amin Bandali
2020-02-02 13:46 ` bug#39334: " 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).