From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Workshop to save M$ Windows users - help needed
Date: Sun, 03 Oct 2021 13:40:28 +0300 [thread overview]
Message-ID: <834k9y9ysj.fsf@gnu.org> (raw)
In-Reply-To: <CADs++6gy9bSQt2+GUQi-E9enUT0g3ud+L+U736d32CK1Lc7PNQ@mail.gmail.com> (message from Eduardo Ochs on Sun, 3 Oct 2021 07:19:16 -0300)
> From: Eduardo Ochs <eduardoochs@gmail.com>
> Date: Sun, 3 Oct 2021 07:19:16 -0300
> Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
>
> What is a good way for installing wget and a program from
> unzipping/untgzipping files? Which un(tg)zipper do you recommend? I
> remember vaguely using something called 7z ages ago...
Do you really need that? The Windows Explorer can unzip files just
fine, and a browser or Emacs itself can be used to fetch files.
> Also, what is a good way to make sure that these programs are in the
> PATH? If each student can send me their original PATH and the full
> paths to these programs I can produce a sexp like this for each one...
>
> (setenv "PATH"
> (concat
> "/path/to/wget:"
> "/path/to/7z:"
> "/home/edrx/bin:/home/edrx/.elan/bin:/home/edrx/.local/bin:/home/edrx/.cabal/bin:/home/edrx/.ghcup/bin:/usr/local/texlive/2021/bin/x86_64-linux:/home/edrx/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:.:/home/edrx/EXPECT:/home/edrx/TCL:/home/edrx/pkg/bin")
> )
It's best not to go there at all. Changing PATH from within Emacs is
asking for trouble, because the system outside Emacs doesn't know
about that, and changing PATH system-wide requires going to system
properties and making changes there (which sometimes might mean
privileges normal users don't have). Try avoiding that, is my advice.
next prev parent reply other threads:[~2021-10-03 10:40 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-03 4:26 Workshop to save M$ Windows users - help needed Eduardo Ochs
2021-10-03 5:45 ` Jean Louis
2021-10-03 7:59 ` Eduardo Ochs
2021-10-03 9:35 ` Eli Zaretskii
2021-10-03 10:19 ` Eduardo Ochs
2021-10-03 10:40 ` Eli Zaretskii [this message]
2021-10-03 19:15 ` Eduardo Ochs
2021-10-03 19:44 ` Tomas Hlavaty
2021-10-04 3:06 ` Eduardo Ochs
2021-10-04 17:34 ` Tomas Hlavaty
2021-10-04 18:29 ` Tomas Hlavaty
2021-10-06 4:50 ` Eduardo Ochs
2021-10-06 5:10 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-06 12:41 ` Eli Zaretskii
2021-10-07 16:32 ` Eduardo Ochs
2021-10-07 17:52 ` Tomas Hlavaty
2021-10-04 18:50 ` Eli Zaretskii
2021-10-06 4:19 ` Eduardo Ochs
2021-10-03 9:36 ` Tomas Hlavaty
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=834k9y9ysj.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@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.
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).