From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrew Pennebaker Newsgroups: gmane.emacs.help Subject: Re: Feature request: Expose system `exec` as a built-in elisp function Date: Wed, 13 Aug 2014 12:52:26 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1407952367 23076 80.91.229.3 (13 Aug 2014 17:52:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Aug 2014 17:52:47 +0000 (UTC) Cc: Emacs Help To: Barry Margolin Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 13 19:52:42 2014 Return-path: Envelope-to: geh-help-gnu-emacs@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 1XHcj3-0002g8-4Y for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Aug 2014 19:52:41 +0200 Original-Received: from localhost ([::1]:49337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHcj2-00039a-Q3 for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Aug 2014 13:52:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHcir-00039I-38 for help-gnu-emacs@gnu.org; Wed, 13 Aug 2014 13:52:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHcip-0003hO-Un for help-gnu-emacs@gnu.org; Wed, 13 Aug 2014 13:52:29 -0400 Original-Received: from mail-ig0-x234.google.com ([2607:f8b0:4001:c05::234]:43027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHcip-0003fz-Pl for help-gnu-emacs@gnu.org; Wed, 13 Aug 2014 13:52:27 -0400 Original-Received: by mail-ig0-f180.google.com with SMTP id l13so2523401iga.1 for ; Wed, 13 Aug 2014 10:52:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Oa3VJ6TxVQtqe2MxyFn7jH/TWpfEawkbluyBbJlWwXk=; b=RnuTtDVCzlMo6qOGDN/6by6ImMVbz4gfvVtE6SMXrwikRl4yP3BbuTBaCWlAiK6bbO 99winQZrLmhqZJAMhsBPXxQoiaDbOp4fMwWVNTFU8f5OrST4i5g2AJZQog6mdsHFJeMw RC0HiC8LGPKWtXnLekje2jFjBoVjfw79SFGIJJynbIRENuKT86x4qvemmOvbW69evVzt 3eaLRGguF6IjkZShL1biWdoM9TYkCl/e5by6oGYj35lBYagX+TxZmqibdGw9L5W0/TRf fD6ZZKK8bUWk5rjDBoCFXBQ2A5mHfUbqckzq++EN/H6HbJMbgPdUEQA46e0cZAcLUQEH lEvg== X-Received: by 10.43.98.68 with SMTP id cn4mr8565037icc.40.1407952346861; Wed, 13 Aug 2014 10:52:26 -0700 (PDT) Original-Received: by 10.43.172.3 with HTTP; Wed, 13 Aug 2014 10:52:26 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::234 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99189 Archived-At: That's what I thought, at first. exec has the additional semantic that it replaces the current process with the system call, so it's more efficient for certain tasks. On Wed, Aug 13, 2014 at 10:29 AM, Barry Margolin wrote: > In article , > Andrew Pennebaker wrote: > > > Could the next version of Emacs / elisp expose `exec` as a built-in elisp > > function? > > Isn't this pretty much what start-process does? > > > > > The Unix `exec` semantic is useful for Cask and other Emacs-related > > programs, but is currently not accessible via elisp. If it were, elisp > > programs could, for example, begin an Emacs editing session even though > the > > elisp program itself was originally run using emacs. > > I can't figure out what you're talking about here. > > -- > Barry Margolin, barmar@alum.mit.edu > Arlington, MA > *** PLEASE post questions in newsgroups, not directly to me *** > -- Cheers, Andrew Pennebaker www.yellosoft.us