From: "Loyall, David" <david.loyall@nebraska.gov>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: We're doing it wrong. [WAS]: Zip utility on Windows for ODT exporter
Date: Thu, 11 Apr 2013 14:58:45 +0000 [thread overview]
Message-ID: <FCEE4469EE8B234199968ECA9B0661E208CE28F1@STNEEX10MB01.stone.ne.gov> (raw)
> From: emacs-orgmode@gnu.org On Behalf Of Achim Gratz
> 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.
Yes. But would you grant me that this is done in a more orderly fashion?
> > 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.
I realized shortly after my post that calling external executables is the norm, not the exception.
Also, I must apologize, my general tone in that message was terrible. I'm experimenting with quitting smoking. Suggestion: never start.
> > 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?
No. Well, kinda.
> 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).
Yeah, I've thought about that a little bit.
I heard somebody say the other day that according to some survey, x percent of people don't know the difference between a search engine and a browser. Would they know the difference between an application and a VM that auto-starts an application? ...If you just change the title bar of Virtualbox to say "Emacs" instead...
I wrote ~2200 characters on this subject, just now, but then I stashed it away rather than present it here before asking: has this been proposed before? What was the outcome?
> Regards,
> Achim.
Cheers,
--Dave
next reply other threads:[~2013-04-11 14:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-11 14:58 Loyall, David [this message]
2013-04-11 15:11 ` We're doing it wrong. [WAS]: Zip utility on Windows for ODT exporter Bastien
2013-04-11 18:13 ` Achim Gratz
-- strict thread matches above, loose matches on Subject: below --
2013-03-27 14:06 Loyall, David
2013-03-27 22:04 ` John Hendy
2013-04-06 0:10 ` Bastien
2013-04-06 17:56 ` John Hendy
2013-04-06 18:09 ` Bastien
2013-04-06 18:15 ` John Hendy
2013-04-06 18:19 ` Bastien
2013-04-06 20:54 ` Achim Gratz
2013-04-07 7:50 ` Achim Gratz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=FCEE4469EE8B234199968ECA9B0661E208CE28F1@STNEEX10MB01.stone.ne.gov \
--to=david.loyall@nebraska.gov \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).