From: Philipp Haselwarter <philipp.haselwarter@gmx.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Can desktop-save-mode remember setenv?
Date: Sun, 09 Oct 2011 15:56:02 +0200 [thread overview]
Message-ID: <87ehymqnf1.fsf@nzebook.haselwarter.org> (raw)
In-Reply-To: j6b2vg$7bb$1@dough.gmane.org
I wouldn't do that, sounds like it cause a lot of hick-ups.
How about using a wrapper (or advice) on setenv that manipulates the
process environment and adds the manipulation to a user variable
`my-desktop-process-environment' which gets saved and restored with
desktop?
and then map setenv onto my-desktop-process-environment with
desktop-after-read-hook.
--
Philipp Haselwarter
prev parent reply other threads:[~2011-10-09 13:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-28 10:46 Can desktop-save-mode remember setenv? Bastian Ballmann
2011-09-29 2:36 ` Kevin Rodgers
2011-09-29 9:58 ` Bastian Ballmann
2011-09-29 10:50 ` Andreas Röhler
2011-10-03 1:26 ` Kevin Rodgers
2011-10-09 13:56 ` Philipp Haselwarter [this message]
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=87ehymqnf1.fsf@nzebook.haselwarter.org \
--to=philipp.haselwarter@gmx.de \
--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.
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.