[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add file-dwim.
From: |
Artur Malabarba |
Subject: |
Re: [PATCH] Add file-dwim. |
Date: |
Sun, 18 Oct 2015 20:12:27 +0100 |
> + :group 'file-dwim)
These :group entries are redundant. It is a (poorly documented)
feature that all defcustoms following a defgroup belong to that
defgroup.
> +;; (defun play-video-file (file)
> +;; (shell-command (concat "my-video-player " (shell-quote-argument file))))
Why not say that the cdr of an entry in `file-dwim-action-list' can
also be a list like ("command" "arg1" "arg2"), in which case it used
in `start-process' with the file-name at the end?
For instance:
(add-to-list 'file-dwim-action-list
(list (rx "." (or "mp3" "flac" "aac" "wav") eos) "mplayer"))
I think that would be very valuable, as this sounds like the common
use for this package.
- [PATCH] Add file-dwim., Taylan Ulrich Bayırlı/Kammer, 2015/10/18
- Re: [PATCH] Add file-dwim.,
Artur Malabarba <=
- Re: [PATCH] Add file-dwim., Taylan Ulrich Bayırlı/Kammer, 2015/10/18
- Re: [PATCH] Add file-dwim., Artur Malabarba, 2015/10/18
- Re: [PATCH] Add file-dwim., Random832, 2015/10/18
- Re: [PATCH] Add file-dwim., Eli Zaretskii, 2015/10/19
- Re: [PATCH] Add file-dwim., Random832, 2015/10/19
- Re: [PATCH] Add file-dwim., Eli Zaretskii, 2015/10/19
- Re: [PATCH] Add file-dwim., Artur Malabarba, 2015/10/19
- Re: [PATCH] Add file-dwim., Taylan Ulrich Bayırlı/Kammer, 2015/10/19
- Re: [PATCH] Add file-dwim., Artur Malabarba, 2015/10/19
Re: [PATCH] Add file-dwim., Wolfgang Jenkner, 2015/10/19