all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sam Steingold <sds@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 25083@debbugs.gnu.org
Subject: bug#25083: 26.0.50; poor interaction between flymake and desktop-save-mode
Date: Fri, 2 Dec 2016 08:57:29 -0500	[thread overview]
Message-ID: <CAFsbZ7ZL_+AxJom-992PbUWYtgGBagmjrd6NwBn8nXBQEWiNwA@mail.gmail.com> (raw)
In-Reply-To: <83zikfo2si.fsf@gnu.org>

the flymake command is "epylint" and it worked because exec-path was
modified by pyvenv-workon.
I am not sure exec-path should be saved by desktop.
thanks!

On Thu, Dec 1, 2016 at 2:41 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Sam Steingold <sds@gnu.org>
>> Date: Thu, 01 Dec 2016 14:13:20 -0500
>>
>> When I start Emacs after editing a bunch of Python files,
>> desktop-save-mode restores them and flymake starts syntax checking
>> processes in each of them.
>>
>> However, there is a snag: python virtual environments.
>> Basically, each python projects uses a separate virtual environments
>> which includes its own python packages, and, moreover, its own python
>> and pylint executables(!)
>>
>> This means that flymake fails to find the epylint executable and
>> displays a GUI popup(!) for each(!) python file that I edited in the
>> previous session.  Note that this failure should _not_ be fatal (see PS
>> below).
>
> Isn't there some variable(s) which you could instruct desktop.el to
> save, in order to avoid these problems?  IOW, why doesn't desktop
> restore whatever setup you had before shutting down Emacs, which
> avoided the prompts at that time?



-- 
Sam Steingold <http://sds.podval.org> <http://www.childpsy.net>
<http://steingoldpsychology.com>





  parent reply	other threads:[~2016-12-02 13:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-01 19:13 bug#25083: 26.0.50; poor interaction between flymake and desktop-save-mode Sam Steingold
2016-12-01 19:41 ` Eli Zaretskii
2016-12-01 20:04   ` Sam Steingold
2016-12-02  7:08     ` Eli Zaretskii
2016-12-02 13:57   ` Sam Steingold [this message]
2016-12-08  7:23 ` Glenn Morris
2020-08-12  0:35   ` Stefan Kangas

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=CAFsbZ7ZL_+AxJom-992PbUWYtgGBagmjrd6NwBn8nXBQEWiNwA@mail.gmail.com \
    --to=sds@gnu.org \
    --cc=25083@debbugs.gnu.org \
    --cc=eliz@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.