From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fCNvX-0001iL-EZ for guix-patches@gnu.org; Sat, 28 Apr 2018 07:22:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fCNvW-0006ww-7z for guix-patches@gnu.org; Sat, 28 Apr 2018 07:22:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33746) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fCNvW-0006ws-4w for guix-patches@gnu.org; Sat, 28 Apr 2018 07:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fCNvW-0000KU-01 for guix-patches@gnu.org; Sat, 28 Apr 2018 07:22:02 -0400 Subject: [bug#31300] [PATCH] gnu: Add emacs-dedicated. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fCNv7-0001d7-Ju for guix-patches@gnu.org; Sat, 28 Apr 2018 07:21:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fCNv6-0006Zj-EM for guix-patches@gnu.org; Sat, 28 Apr 2018 07:21:37 -0400 Received: from mail-pf0-x22a.google.com ([2607:f8b0:400e:c00::22a]:40017) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fCNv6-0006ZU-2L for guix-patches@gnu.org; Sat, 28 Apr 2018 07:21:36 -0400 Received: by mail-pf0-x22a.google.com with SMTP id f189so3368438pfa.7 for ; Sat, 28 Apr 2018 04:21:36 -0700 (PDT) Received: from garuda.local ([2601:602:9d02:4725:6495:ba21:1ebe:620a]) by smtp.gmail.com with ESMTPSA id u23-v6sm4414778pgv.13.2018.04.28.04.21.32 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 28 Apr 2018 04:21:33 -0700 (PDT) From: Chris Marusich Date: Sat, 28 Apr 2018 04:21:30 -0700 Message-ID: <8736zfmv9h.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31300@debbugs.gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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. =2D-=20 Chris --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-emacs-dedicated.patch Content-Transfer-Encoding: quoted-printable From=2065fd558e7f7814bebe37277c842b067cf7b4dc80 Mon Sep 17 00:00:00 2001 From: Chris Marusich Date: Sat, 28 Apr 2018 04:16:39 -0700 Subject: [PATCH] gnu: Add emacs-dedicated. * gnu/packages/emacs.scm (emacs-dedicated): New variable. =2D-- 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 =2D-- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -5,7 +5,7 @@ ;;; Copyright =C2=A9 2014, 2015, 2016, 2017, 2018 Alex Kost ;;; Copyright =C2=A9 2015 Federico Beffa ;;; Copyright =C2=A9 2015, 2016, 2017, 2018 Ricardo Wurmus =2D;;; Copyright =C2=A9 2016, 2017 Chris Marusich +;;; Copyright =C2=A9 2016, 2017, 2018 Chris Marusich ;;; Copyright =C2=A9 2015, 2016 Christopher Allan Webber ;;; Copyright =C2=A9 2016 Adriano Peluso ;;; Copyright =C2=A9 2016, 2017, 2018 Efraim Flashner @@ -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\" fla= g") + (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+))) =2D-=20 2.17.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlrkWToACgkQ3UCaFdgi Rp3EeQ/9FTVsCLY1/2azv2Lq+aADIEMvU9YqvRYe3eoHKOVtFdYO7/ADnL9SFRHU 1yfBlpk7QgE2DELnUAnisorIKgRgGKrWFOSu5e2A/Iqr7Pu2As9w56SvVB9y8+uN GZv2vvAXbxvxt4wEntDz5l4obPEf+crTRj6tJ2oTVcbbiOFcsrEbk3lPGM6B6Btd o2pZAT/znJVNjBcT5aX/KHTK/WbHxgQjRMzlXAIgO5p6IadZsWWVu8i/tpJn9ZZQ PgsH+dpQfar5cH9hvJ7cAwJacZMwGqc8AbBU8COg4mmFv4y6Q8WiL8DXwDL9ddS0 qts+hqnu9MIfQGs8f6B12xiC+XJ341iDybzTkAJvWkojMwKlOvA518xTWH0r/r14 Asf4RKaErHfB+1aLnxTz04elRlINTlejtxDHsaS6KF5h7g27lUcHwTS+B4CGeMnO p+dTwjY8X5pWkbkmfbt3Cc7iFZCUktYipP6RIlAb7B3OhWbdO05zI7lK+WVG6vvZ Kwx4HABho7XnQqJahmgYKL0HXqSX9pIfz6uPfv/DAYWrcJ5kKGKXV816iVxhbfUm NsQy1cRx5ADf8AXILILYluWKuoL8YEX1+IcPzL3hRWkxcQOoQG/C/36eDtOqWDok 4jT+WjE1LgSjJDXdE2/uhK7RtnOi9KUgZu7iRkusluSnVXgogbg= =nvDz -----END PGP SIGNATURE----- --==-=-=--