unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: gemmaro <gemmaro.dev@gmail.com>
To: 74275@debbugs.gnu.org
Cc: gemmaro <gemmaro.dev@gmail.com>, Andrew Tropin <andrew@trop.in>,
	Katherine Cox-Buday <cox.katherine.e+guix@gmail.com>,
	Liliana Marie Prikler <liliana.prikler@gmail.com>
Subject: [bug#74275] [PATCH] gnu: Add emacs-mistty.
Date: Sat,  9 Nov 2024 12:10:27 +0900	[thread overview]
Message-ID: <0cdf05d187ab0b6c883b0a86c53ea1486a7e51f5.1731121827.git.gemmaro.dev@gmail.com> (raw)

* 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





             reply	other threads:[~2024-11-09  3:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-09  3:10 gemmaro [this message]
2024-12-23 23:39 ` bug#74275: [PATCH] gnu: Add emacs-mistty Nicolas Goaziou via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0cdf05d187ab0b6c883b0a86c53ea1486a7e51f5.1731121827.git.gemmaro.dev@gmail.com \
    --to=gemmaro.dev@gmail.com \
    --cc=74275@debbugs.gnu.org \
    --cc=andrew@trop.in \
    --cc=cox.katherine.e+guix@gmail.com \
    --cc=liliana.prikler@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).