emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: start-process somehow expands *.org


From: Thierry Volpiatto
Subject: Re: start-process somehow expands *.org
Date: Tue, 01 Mar 2011 14:04:22 +0100
User-agent: Gnus/5.110014 (No Gnus v0.14) Emacs/23.2.94 (gnu/linux)

Lennart Borgman <address@hidden> writes:

> On Tue, Mar 1, 2011 at 11:46 AM, Thierry Volpiatto
> <address@hidden> wrote:
>> Lennart Borgman <address@hidden> writes:
>>
>>> *.org is the argument to --filepatt and it only takes one argument so
>>> this can't be done.
>> So maybe try:
>> (setq command '(arg1 arg2 arg3 etc...))
>> (apply 'start-process (downcase mode-name) outbuf "ruby.exe" command)
>
> Is not that exactly the same?
No, but anyway, in this case it won't work because wilcards syntax is
recognized only inside a shell, so i am afraid you
will have to use start-process-shell-command who understand *.ext.

>From same directory with file1.el and file2.el:

(apply 'start-process "test1" "*Test1*" "echo" (list "-n" "*.el"))
==> *.el

(start-process-shell-command "test1" "*Test1*" "echo -n *.el")
==> file1.el file2.el

-- 
A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]