From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.devel Subject: Re: Generalize start-process with keyword args Date: Thu, 19 Mar 2015 23:22:10 +0000 Message-ID: <861tkk8tel.fsf@gmail.com> 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> <83egolvtdj.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1426807373 29330 80.91.229.3 (19 Mar 2015 23:22:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Mar 2015 23:22:53 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 20 00:22:45 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 1YYjly-0000nc-3z for ged-emacs-devel@m.gmane.org; Fri, 20 Mar 2015 00:22:42 +0100 Original-Received: from localhost ([::1]:41721 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYjlx-0006fr-D9 for ged-emacs-devel@m.gmane.org; Thu, 19 Mar 2015 19:22:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYjlj-0006ev-Vy for emacs-devel@gnu.org; Thu, 19 Mar 2015 19:22:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YYjlg-0000sB-QS for emacs-devel@gnu.org; Thu, 19 Mar 2015 19:22:27 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:59724) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYjlg-0000rk-DT for emacs-devel@gnu.org; Thu, 19 Mar 2015 19:22:24 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YYjle-0000Wg-6f for emacs-devel@gnu.org; Fri, 20 Mar 2015 00:22:22 +0100 Original-Received: from 82-69-64-228.dsl.in-addr.zen.co.uk ([82.69.64.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Mar 2015 00:22:22 +0100 Original-Received: from andrewjmoreton by 82-69-64-228.dsl.in-addr.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Mar 2015 00:22:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 82-69-64-228.dsl.in-addr.zen.co.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (windows-nt) Cancel-Lock: sha1:2+G9E0XKdbxx3unQWp6miPukb8k= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:184032 Archived-At: On Thu 19 Mar 2015, Eli Zaretskii wrote: >> 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? This issue is clearly a minority concern, so feel free to disregard it. AndyM