From: "David Wilson" <david@daviwil.com>
To: Marius Bakke <mbakke@fastmail.com>, 38272@debbugs.gnu.org
Subject: [bug#38272] [PATCH] gnu: Add emacs-openwith.
Date: Wed, 20 Nov 2019 05:53:25 -0800 [thread overview]
Message-ID: <69ad356e-7f07-41df-b381-dfc90e71454d@www.fastmail.com> (raw)
In-Reply-To: <875zjfaa8i.fsf@devup.no>
[-- Attachment #1: Type: text/plain, Size: 925 bytes --]
Hi Marius, thanks for the reply!
On Tue, Nov 19, 2019, at 12:21 PM, Marius Bakke wrote:
>
> The actual home page is here according to the README:
>
> https://bitbucket.org/jpkotta/openwith
>
Thanks! Fixed.
>
> This synopsis is a bit short. :-)
>
I swear I put something in for that, sorry I missed it!
>
> Maybe "This package lets you associate file name patterns with
> external applications that are automatically invoked when you use
> commands like @code{find-file}, etc".
>
I've taken your suggestion and improved on it like so:
"This package enables you to associate file name patterns with external
applications that are automatically invoked when you use commands like
@code{find-file}. For example, you can have it open @code{png} files with
@code{feh} and @code{mp4} files with @code{mpv}. This is especially useful
when browsing files with Dired."
Updated patch is attached, thanks again!
David
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-emacs-openwith.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-emacs-openwith.patch", Size: 1855 bytes --]
From c53654238337dda9f6cad64f69dea87cedd0450f Mon Sep 17 00:00:00 2001
From: David Wilson <david@daviwil.com>
Date: Tue, 19 Nov 2019 06:24:31 -0800
Subject: [PATCH] gnu: Add emacs-openwith.
* gnu/packages/emacs-xyz.scm (emacs-openwith) New variable.
---
gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 6dcbd00307..a2e9164001 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10272,6 +10272,30 @@ list of commands is displayed in a handy popup.")
characters from end of lines.")
(license license:gpl3+)))
+(define-public emacs-openwith
+ (let ((commit "1dc89670822966fab6e656f6519fdd7f01e8301a")
+ (revision "0"))
+ (package
+ (name "emacs-openwith")
+ (home-page "https://bitbucket.org/jpkotta/openwith")
+ (version (git-version "0.0.1" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference (url home-page) (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1wl6gnxsyhaad4cl9bxjc0qbc5jzvlwbwjbajs0n1s6qr07d6r01"))))
+ (build-system emacs-build-system)
+ (synopsis "Open external applications for files with Emacs")
+ (description
+ "This package enables you to associate file name patterns with external
+applications that are automatically invoked when you use commands like
+@code{find-file}. For example, you can have it open @code{png} files with
+@code{feh} and @code{mp4} files with @code{mpv}. This is especially useful
+when browsing files with Dired.")
+ (license license:gpl2+))))
+
(define-public emacs-org-edit-latex
(package
(name "emacs-org-edit-latex")
--
2.24.0
next prev parent reply other threads:[~2019-11-20 13:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-19 15:17 [bug#38272] [PATCH] gnu: Add emacs-openwith David Wilson
2019-11-19 20:21 ` Marius Bakke
2019-11-20 13:53 ` David Wilson [this message]
2019-11-21 18:36 ` bug#38272: " Marius Bakke
2019-11-22 14:05 ` [bug#38272] " zimoun
2019-11-24 22:28 ` Marius Bakke
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=69ad356e-7f07-41df-b381-dfc90e71454d@www.fastmail.com \
--to=david@daviwil.com \
--cc=38272@debbugs.gnu.org \
--cc=mbakke@fastmail.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).