|
From: | Michael Heerdegen |
Subject: | Re: How to setup default program to launch directory? |
Date: | Mon, 18 Oct 2021 09:02:06 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Jean Louis <bugs@gnu.support> writes: > I have made regexp to be: . > > and expression to be "(rcd-open-dir file)" > > Though I find it not logical to have to put Lisp expression in quotes. > > And I am trying to use this one. > > (defun rcd-open-dir (file) > "vlc") > > but it says "exited abnormally" and I cannot see error messages. > > Please show me example how you deal with it. See the definition of `dired-guess-shell-alist-default' for some examples involving expression type COMMANDs. I can't tell what went wrong in your case without seeing the complete code. Maybe you just forgot to quote your expression so that it already got eval'ed while loading? Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |