From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Generalize start-process with keyword args Date: Thu, 19 Mar 2015 18:34:16 +0200 Message-ID: <83egolvtdj.fsf@gnu.org> References: <87d24d3uwz.fsf-ueno@gnu.org> <86a8zc21ua.fsf@gmail.com> <83oanszq6u.fsf@gnu.org> <8661a01stb.fsf@gmail.com> <83egooyu08.fsf@gnu.org> <86oanrwdhb.fsf@gmail.com> <83lhivxr42.fsf@gnu.org> <86k2yfwaad.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1426782903 13308 80.91.229.3 (19 Mar 2015 16:35:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Mar 2015 16:35:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andy Moreton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 19 17:34:52 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YYdPD-0004zA-7O for ged-emacs-devel@m.gmane.org; Thu, 19 Mar 2015 17:34:47 +0100 Original-Received: from localhost ([::1]:40141 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYdPC-0006Fs-LJ for ged-emacs-devel@m.gmane.org; Thu, 19 Mar 2015 12:34:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYdOu-0006Em-0H for emacs-devel@gnu.org; Thu, 19 Mar 2015 12:34:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YYdOo-0000IT-QP for emacs-devel@gnu.org; Thu, 19 Mar 2015 12:34:27 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:57085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYdOo-0000IJ-Iq for emacs-devel@gnu.org; Thu, 19 Mar 2015 12:34:22 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NLG00700WAP5S00@mtaout25.012.net.il> for emacs-devel@gnu.org; Thu, 19 Mar 2015 18:29:19 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLG00OIWWGUAW70@mtaout25.012.net.il>; Thu, 19 Mar 2015 18:29:18 +0200 (IST) In-reply-to: <86k2yfwaad.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:184022 Archived-At: > From: Andy Moreton > 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?