emacs-devel
[Top][All Lists]
Advanced

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

Re: Generalize start-process with keyword args


From: Eli Zaretskii
Subject: Re: Generalize start-process with keyword args
Date: Thu, 19 Mar 2015 18:34:16 +0200

> From: Andy Moreton <address@hidden>
> Date: Tue, 17 Mar 2015 22:04:26 +0000
> 
> > I see a lot of complications with the semantics of this, and no easy
> > solutions, since the necessary tools are not available on Windows,
> > could be installed in any directory, and come with a set of
> > assumptions that don't necessarily play well with a native Emacs.
> 
> I agree that this is awkward. What I envisaged was an (optional) alist
> of (REGEXP . (INTERPRETER INTERPRETER-ARGS)) pairs such that if
> start-process is onvoked for a PROGRAM that matches REGEXP, then use
> INTERPRETER as the PROGRAM argument to start-process, and prepend
> INTERPRETER-ARGS to the PROGRAM-ARGS list.

But that means this alist will have to be updated for each new script
you want to handle, no?  How useful is that?



reply via email to

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