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 17:50:40 -0500 Message-ID: References: <87mwb8tej5.fsf@debian.uxu> <87lhqsvxvz.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 1407970266 15495 80.91.229.3 (13 Aug 2014 22:51:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Aug 2014 22:51:06 +0000 (UTC) Cc: Emacs Help To: Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 14 00:50:59 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 1XHhNf-0007Q2-5F for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Aug 2014 00:50:55 +0200 Original-Received: from localhost ([::1]:50952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHhNe-0005qp-OM for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Aug 2014 18:50:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHhNT-0005qi-1c for help-gnu-emacs@gnu.org; Wed, 13 Aug 2014 18:50:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHhNR-0001va-AH for help-gnu-emacs@gnu.org; Wed, 13 Aug 2014 18:50:42 -0400 Original-Received: from mail-ig0-x230.google.com ([2607:f8b0:4001:c05::230]:40182) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHhNR-0001vH-4N for help-gnu-emacs@gnu.org; Wed, 13 Aug 2014 18:50:41 -0400 Original-Received: by mail-ig0-f176.google.com with SMTP id hn18so11797740igb.15 for ; Wed, 13 Aug 2014 15:50:40 -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=5ooRW8oo5rlPrQhJpo6itCPi0cHmn5b2lGpH5xJWmoE=; b=hOx79ioUMKd0LOU02rvzl38RUAqctPE56/B+Odsbgl7gyklJUygQV9y77hk4crh/eL 86go1Eghl8xqTGG0T+sEC9tjotiBESt8ebi8oqiKdlewsDUlKA75et6rEokrkpPUxh9Q agKTsw42ZmMjY6OqjkxAHHQUfcojt5p24GyKL596wSeDLzt0lKI2v12INwk5A5Zwca7u U3opqN0EdCnIMSbPo5xn33GpkInwXNsByAIDuEqlW15vbP3zh1p02Rc71VMK3DPe3Dum oFbcoXWUwUhhZDUbl/buwlWAb3L4jv0jlu5EBAbg5Kn3kikEINTbv2vvDuCYMstiKAnx LANQ== X-Received: by 10.42.49.196 with SMTP id x4mr9657161icf.85.1407970240381; Wed, 13 Aug 2014 15:50:40 -0700 (PDT) Original-Received: by 10.43.172.3 with HTTP; Wed, 13 Aug 2014 15:50:40 -0700 (PDT) In-Reply-To: <87lhqsvxvz.fsf@debian.uxu> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::230 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:99203 Archived-At: I am kind of afraid, actually. A simple M-x shell C-x C-c is often enough to kernel panic Mac OS X, depending on various versions. On Wed, Aug 13, 2014 at 5:16 PM, Emanuel Berg wrote: > Andrew Pennebaker writes: > > > 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 > > Yeah, this is too specific an issue for me to > contribute. > > Did you, in your words, expose the system exec, but not > as a built-in but just as code? Did you succeed with > that? If so, do you mind showing us? > > What happens if you put a C function in the emacs C > which does exec, recompile, and then bind that to a > command? Would that work? Sounds kind of dangerous, but > you shouldn't be afraid of your computer, of course. > > -- > underground experts united > -- Cheers, Andrew Pennebaker www.yellosoft.us