|
From: | Kévin Le Gouguec |
Subject: | bug#48072: 28.0.50: dired-read-shell-command: handle empty input properly [PATCH] |
Date: | Wed, 28 Apr 2021 08:19:31 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Boruch Baum <boruch_baum@gmx.com> writes: >> > > This is certainly a mistake: a valid shell command doesn't have to be >> > > a file that executable-find is able to find. Shells are known to >> > > support all kinds of internal and magic commands. >> > >> > My testing indicates otherwise. >> >> Would you care to share the details of that testing, please? > > I evaluated shell-command-to-string for shell aliases and shell > functions, all of which returned error of type 'command not found'. That > would indicate that the class of 'internal commands' aren't valid in the > current state of emacs. Shell builtins seem to work though: M-: (shell-command-to-string "type echo") "echo is a shell builtin " M-: (shell-command-to-string "which type") "which: no type in (…) "
[Prev in Thread] | Current Thread | [Next in Thread] |