From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25083: 26.0.50; poor interaction between flymake and desktop-save-mode Date: Thu, 01 Dec 2016 21:41:17 +0200 Message-ID: <83zikfo2si.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1480622291 10636 195.159.176.226 (1 Dec 2016 19:58:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 1 Dec 2016 19:58:11 +0000 (UTC) Cc: 25083@debbugs.gnu.org To: sds@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 01 20:58:01 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCXUX-0001I1-17 for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Dec 2016 20:58:01 +0100 Original-Received: from localhost ([::1]:58653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCXUa-0002vV-PX for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Dec 2016 14:58:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCXF7-0000Ky-H6 for bug-gnu-emacs@gnu.org; Thu, 01 Dec 2016 14:42:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCXF4-0001tr-Cv for bug-gnu-emacs@gnu.org; Thu, 01 Dec 2016 14:42:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33688) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cCXF4-0001th-9v for bug-gnu-emacs@gnu.org; Thu, 01 Dec 2016 14:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cCXF4-0000U2-4E for bug-gnu-emacs@gnu.org; Thu, 01 Dec 2016 14:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Dec 2016 19:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25083 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25083-submit@debbugs.gnu.org id=B25083.14806213001828 (code B ref 25083); Thu, 01 Dec 2016 19:42:02 +0000 Original-Received: (at 25083) by debbugs.gnu.org; 1 Dec 2016 19:41:40 +0000 Original-Received: from localhost ([127.0.0.1]:49086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCXEi-0000TQ-KH for submit@debbugs.gnu.org; Thu, 01 Dec 2016 14:41:40 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34527) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCXEh-0000TE-3I for 25083@debbugs.gnu.org; Thu, 01 Dec 2016 14:41:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCXEb-0001jY-3j for 25083@debbugs.gnu.org; Thu, 01 Dec 2016 14:41:33 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCXEW-0001hd-Mx; Thu, 01 Dec 2016 14:41:28 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4531 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cCXEU-00074l-2D; Thu, 01 Dec 2016 14:41:28 -0500 In-reply-to: (message from Sam Steingold on Thu, 01 Dec 2016 14:13:20 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:126365 Archived-At: > From: Sam Steingold > 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?