From: Carlo Zancanaro <carlo@zancanaro.id.au>
To: "Jorge P. de Morais Neto" <jorge+list@disroot.org>
Cc: help-guix@gnu.org
Subject: Re: Can I easily install GNU Emacs 27.1.50 via Guix?
Date: Sat, 19 Dec 2020 10:17:57 +1100 [thread overview]
Message-ID: <871rfmael6.fsf@zancanaro.id.au> (raw)
In-Reply-To: <87pn37f8xb.fsf@disroot.org>
Hi Jorge,
On Sat, Dec 19 2020, Jorge P. de Morais Neto wrote:
> It is a pity though that this workaround needs writing manual
> wrappers for every affected program.
In this particular case, we can actually fix Emacs. When Emacs
spawns a child process it passes the environment as specified in
the process-environment variable, so you can clear out the
unwanted environment variables by running something like this
during startup:
(setq process-environment
(seq-remove (lambda (s)
(or (string-prefix-p "GTK_PATH=" s)
(string-prefix-p "XDG_DATA_DIRS=" s)))
process-environment))
That doesn't solve the broader problem in Guix, but it should make
Emacs in particular work properly.
Carlo
next prev parent reply other threads:[~2020-12-18 23:19 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-09 16:46 Can I easily install GNU Emacs 27.1.50 via Guix? Jorge P. de Morais Neto
2020-12-09 20:56 ` Pierre Neidhardt
2020-12-10 12:40 ` zimoun
2020-12-17 22:54 ` Jorge P. de Morais Neto
2020-12-17 22:59 ` Jorge P. de Morais Neto
2020-12-18 2:05 ` zimoun
2020-12-18 4:03 ` Carlo Zancanaro
2020-12-18 9:00 ` zimoun
2020-12-18 9:36 ` Carlo Zancanaro
2020-12-18 10:38 ` zimoun
2020-12-18 11:37 ` Carlo Zancanaro
2020-12-18 13:59 ` zimoun
2020-12-19 0:17 ` Carlo Zancanaro
2020-12-18 10:44 ` Dr. Arne Babenhauserheide
2020-12-18 12:55 ` Ricardo Wurmus
2020-12-18 14:05 ` zimoun
2020-12-18 15:33 ` Maxim Cournoyer
2020-12-18 15:09 ` Jorge P. de Morais Neto
2020-12-18 23:17 ` Carlo Zancanaro [this message]
2020-12-18 9:50 ` Ricardo Wurmus
2020-12-10 12:27 ` zimoun
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://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871rfmael6.fsf@zancanaro.id.au \
--to=carlo@zancanaro.id.au \
--cc=help-guix@gnu.org \
--cc=jorge+list@disroot.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).