all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: SK Kim <tttuuu888@gmail.com>
Cc: 30134@debbugs.gnu.org
Subject: bug#30134: ehsell and process-environment variable
Date: Tue, 16 Jan 2018 19:04:08 +0200	[thread overview]
Message-ID: <83o9ltybuf.fsf@gnu.org> (raw)
In-Reply-To: <CAKYNWwSCjTu=tU=Kx9x8-7RxaHyeaXE6OpkEBvWvNQGVM_GsFA@mail.gmail.com> (message from SK Kim on Tue, 16 Jan 2018 16:09:17 +0900)

[Please keep the bug address on the CC list.]

> From: SK Kim <tttuuu888@gmail.com>
> Date: Tue, 16 Jan 2018 16:09:17 +0900
> 
> So that means, this result is natural in Emacs and package authors
> should also avoid such a code. Is this right?

Yes, I think so.

> Maybe if I want to guarantee the code is working properly in any
> buffers of Emacs, I should wrap the code with 'with-temp-buffer' as below.
> 
> (with-temp-buffer
>   (let ((process-environment (cons "TEST=1234" process-environment)))
>     (make-term "test-term" "/bin/bash")))

Maybe.  I will take another look in a couple of days.





  parent reply	other threads:[~2018-01-16 17:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-16  2:31 bug#30134: ehsell and process-environment variable SK Kim
2018-01-16  3:40 ` Eli Zaretskii
     [not found]   ` <CAKYNWwSCjTu=tU=Kx9x8-7RxaHyeaXE6OpkEBvWvNQGVM_GsFA@mail.gmail.com>
2018-01-16 17:04     ` Eli Zaretskii [this message]
2018-01-16 18:03   ` Glenn Morris
2018-01-18  6:11     ` SK Kim
2018-01-18 17:49       ` Glenn Morris
2018-01-18 17:54         ` Glenn Morris
2018-01-19  1:33           ` SK Kim
2018-01-18 17:52       ` Noam Postavsky

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83o9ltybuf.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=30134@debbugs.gnu.org \
    --cc=tttuuu888@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.