unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#74275] [PATCH] gnu: Add emacs-mistty.
@ 2024-11-09  3:10 gemmaro
  2024-12-23 23:39 ` bug#74275: " Nicolas Goaziou via Guix-patches via
  0 siblings, 1 reply; 2+ messages in thread
From: gemmaro @ 2024-11-09  3:10 UTC (permalink / raw)
  To: 74275; +Cc: gemmaro, Andrew Tropin, Katherine Cox-Buday,
	Liliana Marie Prikler

* gnu/packages/emacs-xyz.scm (emacs-mistty): New variable.

Change-Id: I13c67437d6cb7813d1d399626e52834019cb41f0
---
 gnu/packages/emacs-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 88e1ab89a9..7c3400ef93 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4447,6 +4447,38 @@ (define-public emacs-coterm
 -nw}.")
     (license license:gpl3+)))
 
+(define-public emacs-mistty
+  (let ((revision "0")
+        (commit "6284c0f6529bcce57d183e20765052c603846115"))
+    (package
+      (name "emacs-mistty")
+      (version (git-version "1.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/szermatt/mistty")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1159dy63dq7kyh06q9kfvq6x4bx59w9g1slq2m3xvx2ngaiydf97"))))
+      (build-system emacs-build-system)
+      (arguments
+       (list
+        #:phases #~(modify-phases %standard-phases
+                     (add-before 'patch-el-files 'replace-bash-path
+                       (lambda _
+                         (substitute* "mistty-term.el"
+                           (("/bin/bash")
+                            "/path/to/bash")))))))
+      (home-page "https://github.com/szermatt/mistty")
+      (synopsis "Emacs terminal major mode based on @file{term.el}")
+      (description
+       "This package defines a major mode for Emacs 29.1 and up that runs a shell
+inside of a buffer, similarly to comint mode, started with @samp{M-x mistty} or
+@samp{M-x mistty-create}.  It is built on top of @file{term.el}.")
+      (license license:gpl3+))))
+
 (define-public emacs-counsel-bbdb
   (package
     (name "emacs-counsel-bbdb")

base-commit: 2a6d96425eea57dc6dd48a2bec16743046e32e06
-- 
2.46.0





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

end of thread, other threads:[~2024-12-23 23:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-09  3:10 [bug#74275] [PATCH] gnu: Add emacs-mistty gemmaro
2024-12-23 23:39 ` bug#74275: " Nicolas Goaziou via Guix-patches via

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).