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 16:42:59 -0500 Message-ID: References: <87mwb8tej5.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1407966200 1518 80.91.229.3 (13 Aug 2014 21:43:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Aug 2014 21:43:20 +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 23:43:16 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 1XHgK9-0004E3-HY for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Aug 2014 23:43:13 +0200 Original-Received: from localhost ([::1]:50430 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHgK9-00085Z-4S for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Aug 2014 17:43:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHgJx-00085U-KJ for help-gnu-emacs@gnu.org; Wed, 13 Aug 2014 17:43:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHgJw-00048c-Cm for help-gnu-emacs@gnu.org; Wed, 13 Aug 2014 17:43:01 -0400 Original-Received: from mail-ig0-x231.google.com ([2607:f8b0:4001:c05::231]:37050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHgJw-00048R-6n for help-gnu-emacs@gnu.org; Wed, 13 Aug 2014 17:43:00 -0400 Original-Received: by mail-ig0-f177.google.com with SMTP id hn18so3145824igb.10 for ; Wed, 13 Aug 2014 14:42:59 -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=OTc62sx8DMmSODA39/gY1TAi0bxUGD8mL2OqBZiw3lE=; b=nSltqL8zauUH7MTIjDGZBSCZNjiC6SACEt+vQRncp6f0p4RvIN93nZVXJCnOLoVDFT 3sGkBqDiXtdZkW6DyZ9Cl/YZE51u/Up0WTKxkUsZFTXff4/R4CJUrM0ou4gwVbFH1dSG hFGZ6PnZiuFHIMssB14bZ22uaPn+RDmXAbH8rLHORB+WftsPeP1yAW5a1hMemh8WFs/2 eAeKoswx7w8xNom336+0TK5SpPQzseEv4+xJNFo4p9HJSBCfqZDOWBJGBszGLVUq78ej zHhodAmzfdiZg+AaIuAZW8UWaOzDfYC5mQgCwlZMgXl1IYHziMkFeFpMXU/azKFNRySU 2bhw== X-Received: by 10.50.122.99 with SMTP id lr3mr52267655igb.10.1407966179310; Wed, 13 Aug 2014 14:42:59 -0700 (PDT) Original-Received: by 10.43.172.3 with HTTP; Wed, 13 Aug 2014 14:42:59 -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::231 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:99200 Archived-At: Eh, what if you don't want the second emacs call to use the same emacs configuration, etc. etc. as the parent emacs process? Feel free to ask the cask project for more details: https://github.com/cask/cask On Wed, Aug 13, 2014 at 3:36 PM, Barry Margolin wrote: > In article , > Andrew Pennebaker wrote: > > > One example of the worthiness of exec is cask, an Emacs package manager > > that sometimes wants to fork out to an emacs instance, for editing text > > files. > > I'm not familiar with cask, but usually if you run something within > Emacs, and it wants you to edit something, you set EDITOR=emacsclient so > that it goes back to the original Emacs instance. You don't need to > start a new Emacs instance. > > And that still doesn't explain why you would want to kill the original > Emacs instance when running cask. > > -- > Barry Margolin, barmar@alum.mit.edu > Arlington, MA > *** PLEASE post questions in newsgroups, not directly to me *** > -- Cheers, Andrew Pennebaker www.yellosoft.us