From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: We're doing it wrong. [WAS]: Zip utility on Windows for ODT exporter Date: Sun, 07 Apr 2013 09:50:29 +0200 Message-ID: <87r4im3hkq.fsf@Rainer.invalid> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOkNC-0000Y2-U2 for emacs-orgmode@gnu.org; Sun, 07 Apr 2013 03:50:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UOkN8-0003Yw-FO for emacs-orgmode@gnu.org; Sun, 07 Apr 2013 03:50:46 -0400 Received: from plane.gmane.org ([80.91.229.3]:57442) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOkN8-0003Yp-8M for emacs-orgmode@gnu.org; Sun, 07 Apr 2013 03:50:42 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UOkN5-0005jx-EJ for emacs-orgmode@gnu.org; Sun, 07 Apr 2013 09:50:39 +0200 Received: from pd9eb2a41.dip.t-dialin.net ([217.235.42.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Apr 2013 09:50:39 +0200 Received: from Stromeko by pd9eb2a41.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Apr 2013 09:50:39 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Loyall, David writes: > And that's why civilized programs don't depend on external executables > from $PATH. Then practically all programs are uncivilized, especially when considering that dynamic libraries are just another form of external executables. > Now, I'd imagine that some people have argued in the past that org > shouldn't depend on external executables. Clearly those arguments > have failed. I'm sure that if you could point to an Emacs package that allows to work with archives without depending on external executables it would be used instead, but I'm not aware of any such package: ox-odt uses arc-mode for unzipping (which in turn uses call-proc for actually doing it) and then call-proc itself to do the zipping. > But, let's take a fresh look. How about this rule of thumb: don't > depend on external executables **from $PATH**. > > Can we agree on that? No, because I can't really see the point, especially since Emacs doesn't use just $PATH for call-proc, but a user option exec-path (whose default value is a copy of $PATH, but even a cursory look on $PATH on a Windows system should convince you that you really should change this). > How about: don't depend on external executables from $PATH, but allow > the user to override via config. How about: if you want that level of control, customize exec-path (and perhaps exec-suffixes)? > This is important on the 'reproducible research' front. Are we still talking about Windows? You'd need an audited system if you want to take it that far, I'm not sure anybody has tried to do this on Windows and is still outside the asylum. The only practical way seems to deliver the reproducible research as a VM (yes, that has other problems). Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Waldorf MIDI Implementation & additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs