From: Chris Marusich <cmmarusich@gmail.com>
To: 31300@debbugs.gnu.org
Subject: [bug#31300] [PATCH] gnu: Add emacs-dedicated.
Date: Sat, 28 Apr 2018 04:21:30 -0700 [thread overview]
Message-ID: <8736zfmv9h.fsf@gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 169 bytes --]
Hi Guix,
The attached patch adds emacs-dedicated. I've found it useful because
commands like M-x rgrep tend to clobber windows I'd rather keep open.
--
Chris
[-- Attachment #1.2: 0001-gnu-Add-emacs-dedicated.patch --]
[-- Type: text/x-patch, Size: 2486 bytes --]
From 65fd558e7f7814bebe37277c842b067cf7b4dc80 Mon Sep 17 00:00:00 2001
From: Chris Marusich <cmmarusich@gmail.com>
Date: Sat, 28 Apr 2018 04:16:39 -0700
Subject: [PATCH] gnu: Add emacs-dedicated.
* gnu/packages/emacs.scm (emacs-dedicated): New variable.
---
gnu/packages/emacs.scm | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 8112ec971..8854f028c 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -5,7 +5,7 @@
;;; Copyright © 2014, 2015, 2016, 2017, 2018 Alex Kost <alezost@gmail.com>
;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
-;;; Copyright © 2016, 2017 Chris Marusich <cmmarusich@gmail.com>
+;;; Copyright © 2016, 2017, 2018 Chris Marusich <cmmarusich@gmail.com>
;;; Copyright © 2015, 2016 Christopher Allan Webber <cwebber@dustycloud.org>
;;; Copyright © 2016 Adriano Peluso <catonano@gmail.com>
;;; Copyright © 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
@@ -8009,3 +8009,29 @@ Emacs.")
in @code{emacs-lisp-mode}, together with an elisp equivalent of
@code{slime-describe-symbol}.")
(license license:gpl3+)))
+
+(define-public emacs-dedicated
+ (package
+ (name "emacs-dedicated")
+ (version "1.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/emacsorphanage/dedicated/archive/"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0nhbkp278cvcznb5rp3jp9ii3mjgb79zx8iwfrw7zfk3yg8688ni"))
+ (file-name (string-append name "-" version ".tar.gz"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/emacsorphanage/dedicated")
+ (synopsis "Emacs minor mode for toggling a windows's \"dedicated\" flag")
+ (description
+ "This simple Emacs minor mode allows you to toggle a window's
+\"dedicated\" flag. When a window is \"dedicated\", Emacs will not select
+files into that window. This can be quite handy since many commands will use
+another window to show results (compilation mode, starting info, and so on).
+A dedicated window won't be used for such a purpose. For details, please read
+the source file.")
+ (license license:gpl2+)))
--
2.17.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next reply other threads:[~2018-04-28 11:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-28 11:21 Chris Marusich [this message]
2018-04-30 20:58 ` [bug#31300] [PATCH] gnu: Add emacs-dedicated Ludovic Courtès
2018-05-02 5:51 ` bug#31300: " Chris Marusich
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=8736zfmv9h.fsf@gmail.com \
--to=cmmarusich@gmail.com \
--cc=31300@debbugs.gnu.org \
/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).