GNU bug report logs - #32350
26.1; Disabling flymake from file-local eval is buggy

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Carlos Pita <carlosjosepita@HIDDEN>; dated Thu, 2 Aug 2018 21:03:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 32350 <at> debbugs.gnu.org:


Received: (at 32350) by debbugs.gnu.org; 4 Oct 2018 15:04:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 04 11:04:30 2018
Received: from localhost ([127.0.0.1]:36817 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1g85B0-0006Df-Ji
	for submit <at> debbugs.gnu.org; Thu, 04 Oct 2018 11:04:30 -0400
Received: from mail-wr1-f41.google.com ([209.85.221.41]:44391)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joaotavora@HIDDEN>) id 1g85Ax-0006DM-6W
 for 32350 <at> debbugs.gnu.org; Thu, 04 Oct 2018 11:04:29 -0400
Received: by mail-wr1-f41.google.com with SMTP id 63-v6so10292015wra.11
 for <32350 <at> debbugs.gnu.org>; Thu, 04 Oct 2018 08:04:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:in-reply-to:references:user-agent:date
 :message-id:mime-version:content-transfer-encoding;
 bh=fdWKkfJrgXZLsp7+QzS5cR0om2uSAqvMLKtUChk9aok=;
 b=f/7RouprUIFFCDpRM7W450+tSBVuc/CoSm/fstqPJNP67VmJQYW0ZZqQq7WOq5Qyf5
 vzKlGpkhfKsoKjCSHcuNtHGLYNkxGWIBAb38SU7TUh/rxRLfsgtBC14LOlSzH4P/CVLT
 Ep5vABDhiCt9ydA56IN3TUQ6FuDXDTl8qLFzZa0nk8PEfiRQEdvrgwwK6b7Ls9kFu8bj
 +ADZhT+veVMgvFXYtntdp5xxCzq+56sHab2yh0Kf0moifUUqjrlJTYUpZliVrtgWgTKA
 /LPimJ4Jzc/wa2CR0m76CsLhbwDLfZ8ZWt6KFo7TOaF2bg6MzC0/1pOnH6dyjYC74ZrZ
 k1Qw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:in-reply-to:references
 :user-agent:date:message-id:mime-version:content-transfer-encoding;
 bh=fdWKkfJrgXZLsp7+QzS5cR0om2uSAqvMLKtUChk9aok=;
 b=GC45yHY5PyTtgA8047dZCGg5fDTFA6jyqKwGvhTKwb33qRhIP2xgEuV45w17KVwRlG
 PX374Mi2B7pKCQCn6lZIT3j0ow8klZ5j0QCIeth3RkF3HFm6T/bESrIkcEhkasbAy7Hy
 mkmSeG78LIuj8AG/mM0usNU+sCPiqU6aPDPqygr1fPRlMLq7vP4vqCqYA0udB7J5JSCu
 3dAUsMKPtW+m8WLyicqRUcFTQ1F7FY7zpVjQgZzen7LHoxbb6wtF8fxp+hAw6PXXEyQb
 ylRjoNqQ0ERdQSP74Bu1c1OiMtyxhjSjm7eJX/JyXzsd+wAzzM/Rf3D7Bk7VkB/3FeGP
 oXQA==
X-Gm-Message-State: ABuFfoisJ5tNMNR2pwZdS0TQmQGEkRo7awCtkNHTE8bt7hv7CMhdZemZ
 cN6Rizd5SRln9/GQtq6VjEflvWFB
X-Google-Smtp-Source: ACcGV61CI04WjEtcqPcY3oZBLAHWkFMgHnyQLbW6pR7O1XPuX12A2FpFxS+QqZ/E19HPNy4JbeZmIg==
X-Received: by 2002:adf:80c7:: with SMTP id 65-v6mr5132835wrl.57.1538665461091; 
 Thu, 04 Oct 2018 08:04:21 -0700 (PDT)
Received: from GONDOMAR.yourcompany.com (mail3.siscog.pt. [195.23.29.18])
 by smtp.gmail.com with ESMTPSA id v16-v6sm4357788wru.31.2018.10.04.08.04.19
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Thu, 04 Oct 2018 08:04:19 -0700 (PDT)
From: =?iso-8859-1?Q?Jo=E3o_T=E1vora?= <joaotavora@HIDDEN>
To: Carlos Pita <carlosjosepita@HIDDEN>
Subject: Re: bug#32350: 26.1; Disabling flymake from file-local eval is buggy
In-Reply-To: <878t5oa3e5.fsf@HIDDEN> (Carlos Pita's message of "Thu, 02 Aug
 2018 18:02:10 -0300")
References: <878t5oa3e5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt)
Date: Thu, 04 Oct 2018 16:04:16 +0100
Message-ID: <jjb1s95rbwv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Antivirus: AVG (VPS 181004-2, 04-10-2018), Outbound message
X-Antivirus-Status: Clean
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 32350
Cc: 32350 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Carlos Pita <carlosjosepita@HIDDEN> writes:

> Just try putting this in test.el and reopening it:
>
>     ;; -*- eval: (flymake-mode -1) -*-
>
>     (1 1)
>
> Flymake will be off, it won't write anything to the modeline but the
> fringe and in-buffer underline indicators will still be there.
>
> If you eval the same expression using M-: after the buffer is loaded
> flymake mode is fully turned off as expected.

Hi Carlos,

Perhaps the best way to turn off flymake on a file-by-file basis is to
use the flymake-diagnostic-functions local variable instead, with the
added benefit that it won't be risky if you set it to a null value.

    flymake-diagnostic-functions is a variable defined in `flymake.el'.
    Its value is nil
=20=20=20=20=20
      This variable may be risky if used as a file-local variable.
      This variable is safe as a file local variable if its value
      satisfies the predicate `null'.

I don't know how hard it is to make mode-specific eval's work properly
from file-local-variables but I would suspect flymake-mode isn't the
only mode affected by this.

Jo=E3o




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32350; Package emacs. Full text available.

Message received at 32350 <at> debbugs.gnu.org:


Received: (at 32350) by debbugs.gnu.org; 2 Aug 2018 21:16:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 02 17:16:00 2018
Received: from localhost ([127.0.0.1]:39292 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1flKwy-0007BI-4h
	for submit <at> debbugs.gnu.org; Thu, 02 Aug 2018 17:16:00 -0400
Received: from mail-yb0-f170.google.com ([209.85.213.170]:42744)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <carlosjosepita@HIDDEN>) id 1flKww-0007B0-2E
 for 32350 <at> debbugs.gnu.org; Thu, 02 Aug 2018 17:15:58 -0400
Received: by mail-yb0-f170.google.com with SMTP id c10-v6so1861956ybf.9
 for <32350 <at> debbugs.gnu.org>; Thu, 02 Aug 2018 14:15:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=29hM83b+QCfuOzExWOVX2BICJc6W36ucV0hZv1jrIlc=;
 b=Uft8d3dZSYF4teqDbbJdilo6wQScV1HkGXRA9+jn1T1Oy0ggLY7EFjUpwDQ3X7s2Zn
 2sH7S+ZcejHWCj3cFTR4BtdGuGQdIwWdcuCAPHeSC+mm8Q15sToN6aQ70IwzcPORRgaT
 TwUut+tJ24gahm9lVX9KTF1mmIGGTZC0dotLlUTripfv0XqZqxAyO4nESirWHB1Odmoj
 o2BFIneuKkkaiLWZZ7Upx++2JfDgrH+ftHVZG4YSyOlg1g1oCnyOcJ5EYs3ieijZ6i+i
 jgyXkcVhiihQUuhp6eR17K/sv/9uxs4Br6JdoD46R3DoczCs2WInftiCacOPmjcvbPJA
 zxEw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=29hM83b+QCfuOzExWOVX2BICJc6W36ucV0hZv1jrIlc=;
 b=nYM9exihhcCIW8MBa8IOedT/ar6G+SU2VNKy8IzVP4bHAddjWdWLR9OWs978Ehi5hZ
 NB7zc58XOhvjmwgJjGGPnPxTxW/y/G+uq3kO8Nb45/RkSZawiFjLy4kZL/01W3GfekgM
 wxS+rihGVcddkVDXu3f7+V9Pa8h+aozcluKivhaRsx7qJEud5rZ4AKwzMvZv96AiXasu
 vzJJOESxuqX+TN1CS1OeSGJhZ/wX2yyDAZETM6VydSdFnv5WSFXk6uOhOcENugb2PgwJ
 9OB49m6cv2eqxatM5jLy874835LK2317dCMWRxjn/igfGx3m2+nPFZcvX8eZm0Fw5cda
 sGaA==
X-Gm-Message-State: AOUpUlE3cKsfAYVjExfzoIfLL12NDRDe3LFvK0eoU1Qkpxeok1/vWdK9
 uT7mfoQ5rfjaiMlqhm0gSWiD8wZdoGlVLFlxxW/cyVaq
X-Google-Smtp-Source: AAOMgpdQ1rg3SrNEiV564xq0STgXg3/1hBO6+5/xy/RHPUjns5yLS4S0PhkZJ6W4Pd4vwU4+lbm5XpWZCwCFBPPD9iI=
X-Received: by 2002:a25:6287:: with SMTP id
 w129-v6mr679768ybb.511.1533244552278; 
 Thu, 02 Aug 2018 14:15:52 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a25:c713:0:0:0:0:0 with HTTP;
 Thu, 2 Aug 2018 14:15:31 -0700 (PDT)
From: Carlos Pita <carlosjosepita@HIDDEN>
Date: Thu, 2 Aug 2018 18:15:31 -0300
Message-ID: <CAELgYhc62Vm0jsO4u_MWHOUvUC55F8S-W2EbQLYb+8v06o5TdA@HIDDEN>
Subject: 
To: 32350 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: I think this could be due an async check being active at the
 time flymake-delete-own-overlays is, too early, called. Indeed the overlays
 appear perceptibly after the buffer was loaded. It probably can happen when
 flymake is manually disabled but, I assume due to timing issues, I'm unable
 to reproduce the same effect by hand. [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
 (carlosjosepita[at]gmail.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/, no
 trust [209.85.213.170 listed in list.dnswl.org]
 -0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
 [209.85.213.170 listed in wl.mailspike.net]
 -0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 0.0 T_DKIM_INVALID         DKIM-Signature header exists but is not valid
 2.0 BLANK_SUBJECT          Subject is present but empty
X-Debbugs-Envelope-To: 32350
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

I think this could be due an async check being active at the time
flymake-delete-own-overlays is, too early, called. Indeed the overlays
appear perceptibly after the buffer was loaded.

It probably can happen when flymake is manually disabled but, I assume
due to timing issues, I'm unable to reproduce the same effect by hand.

I'm speculating here but I believe the routine that is writing the
overlays should first check that flymake is still enabled, since it
could have been disabled in the meantime.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32350; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Aug 2018 21:02:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 02 17:02:28 2018
Received: from localhost ([127.0.0.1]:39280 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1flKjs-0006od-ER
	for submit <at> debbugs.gnu.org; Thu, 02 Aug 2018 17:02:28 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52494)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <carlosjosepita@HIDDEN>) id 1flKjq-0006oQ-RR
 for submit <at> debbugs.gnu.org; Thu, 02 Aug 2018 17:02:27 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <carlosjosepita@HIDDEN>) id 1flKjk-0003NS-IU
 for submit <at> debbugs.gnu.org; Thu, 02 Aug 2018 17:02:21 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:53213)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <carlosjosepita@HIDDEN>)
 id 1flKjk-0003NL-Eo
 for submit <at> debbugs.gnu.org; Thu, 02 Aug 2018 17:02:20 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43465)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <carlosjosepita@HIDDEN>) id 1flKji-0005BO-UC
 for bug-gnu-emacs@HIDDEN; Thu, 02 Aug 2018 17:02:20 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <carlosjosepita@HIDDEN>) id 1flKjf-0003Lk-MA
 for bug-gnu-emacs@HIDDEN; Thu, 02 Aug 2018 17:02:18 -0400
Received: from mail-qt0-x230.google.com ([2607:f8b0:400d:c0d::230]:44793)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <carlosjosepita@HIDDEN>)
 id 1flKjf-0003LR-Fk
 for bug-gnu-emacs@HIDDEN; Thu, 02 Aug 2018 17:02:15 -0400
Received: by mail-qt0-x230.google.com with SMTP id b15-v6so3909763qtp.11
 for <bug-gnu-emacs@HIDDEN>; Thu, 02 Aug 2018 14:02:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=2H58loEgQVhvB3I5tHkd+3PtPHnBNeOcOMSP8MKIsqk=;
 b=spCNbqq13CAZMM4m8xn9SSWIsti2nOxBHZFv0rN5DNvn673nq3rso3UzO14/Px8ITA
 8dpn/KluCtrj3lJd3dxcLTtdxnvxhyUzKxWUkMP7nSbZEs9l09LAUyhFBS/brLnz7N8j
 irqYlfUaTZlqCzzg0zxYzQ5bqsMmUPYBMR9htAdOf0qT/dl/Q11ZUGOu9OaBlfk34HGN
 RE2byqzVQv4Bsx9Nf4FH4CpxdxaaepOvzdR2j03u4zv7kYXo4NABFQKAdm3FDa0q4ASq
 QeR+AAGc8nYrUyPoIEpmsiZzQhNSRrF3gGm3jJbt6JoD8kTdkIKx9WzieZsP8woQK5C9
 GYTg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=2H58loEgQVhvB3I5tHkd+3PtPHnBNeOcOMSP8MKIsqk=;
 b=hxMeMRUzBZlxBcmf1EYMvJ3FZlskMKQX/Bu0Tp5okZ3uFka3eHYXLHtGajZVzVXhxi
 bQc+RY9wjBl057dpr4X1X3eL5Nv9B3nSo58ZRYnB/XBsRw0s29SUrb9IJSzbFZLl/2lW
 RxVtQ1ewlcwbR3dqvdTtpGzsURMYZtVrJW0UxzkcVFncKddCkNwI5ORVMcXsQfrK/PjZ
 Xv5eooTk3iweqNbYo2p3vy3ZqbqhEcm066dRI3ct65I3pz/spE+eamyT64w0qdNQBf1w
 yNwWMcR74uuchTWMM4tgYY/kQq1QAJXKKRGxn/3LcABmEsm4RYDKCF1D3oWCcOXzsrAD
 yjEw==
X-Gm-Message-State: AOUpUlEoIhvHYrPz93YDBT2pJHyabTv/lJQ+8xDCmRQ/Bn2D02RcjBOj
 bcuCp3H+8cVHIJdy//PFFeVPTlbU
X-Google-Smtp-Source: AAOMgpf4PZlt9Wj425WlqK0VRQfFpMTZh8Npsih+VolYn4z79rnOAc5rspVB/UOXlXi8/lVSEvxvCw==
X-Received: by 2002:a0c:9002:: with SMTP id
 o2-v6mr1087790qvo.173.1533243734519; 
 Thu, 02 Aug 2018 14:02:14 -0700 (PDT)
Received: from archlinux ([190.2.33.33])
 by smtp.gmail.com with ESMTPSA id s73-v6sm2386562qkl.65.2018.08.02.14.02.13
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Thu, 02 Aug 2018 14:02:13 -0700 (PDT)
From: Carlos Pita <carlosjosepita@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 26.1; Disabling flymake from file-local eval is buggy
Date: Thu, 02 Aug 2018 18:02:10 -0300
Message-ID: <878t5oa3e5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Just try putting this in test.el and reopening it:

    ;; -*- eval: (flymake-mode -1) -*-

    (1 1)

Flymake will be off, it won't write anything to the modeline but the
fringe and in-buffer underline indicators will still be there.

If you eval the same expression using M-: after the buffer is loaded
flymake mode is fully turned off as expected.

---


In GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
 of 2018-07-05 built on juergen
Windowing system distributor 'The X.Org Foundation', version 11.0.12000000
Recent messages:
Ignoring unknown mode =E2=80=98(flymake-mode -1)-mode=E2=80=99
Malformed mode-line: "(flymake-mode -1)" [2 times]
next-line: End of buffer
Saving file /tmp/test.el...
Wrote /tmp/test.el
next-line: End of buffer
Mark set
Mark activated
previous-line: Beginning of buffer
next-line: End of buffer
Quit
Configured using:
 'configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib
 --localstatedir=3D/var --with-x-toolkit=3Dgtk3 --with-xft --with-modules
 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fstack-protector-str=
ong
 -fno-plt' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2
 LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS
GTK3 X11 MODULES THREADS LIBSYSTEMD LCMS2

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Emacs-Lisp

Minor modes in effect:
  whitespace-mode: t
  display-line-numbers-mode: t
  pdf-occur-global-minor-mode: t
  diff-auto-refine-mode: t
  pyvenv-mode: t
  shell-dirtrack-mode: t
  xclip-mode: t
  winner-mode: t
  show-paren-mode: t
  ido-ubiquitous-mode: t
  ido-everywhere: t
  global-company-mode: t
  company-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  auto-fill-function: yas--auto-fill
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny rfc822 mml mml-sec epa
derived epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail cl-print eieio-opt speedbar sb-image
ezimage dframe autoload lisp-mnt vc-git whitespace server
display-line-numbers checkdoc pdf-occur ibuf-ext ibuffer
ibuffer-loaddefs tablist tablist-filter semantic/wisent/comp
semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util
semantic semantic/tag semantic/lex semantic/fw mode-local cedet dired
dired-loaddefs pdf-isearch let-alist pdf-misc imenu pdf-tools pdf-view
bookmark pp jka-compr pdf-cache pdf-info tq pdf-util image-mode
org-protocol org-element avl-tree generator org org-macro org-footnote
org-pcomplete org-list org-faces org-entities noutline outline
org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table
ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs
org-loaddefs find-func cal-menu calendar cal-loaddefs cl-extra yasnippet
elec-pair highlight-indentation flymake-proc flymake warnings help-fns
radix-tree help-mode elpy find-file-in-project ivy delsel colir color
ivy-overlay ffap thingatpt windmove diff-mode easy-mmode elpy-shell
pyvenv esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg
esh-groups eshell esh-module esh-mode esh-util elpy-profile elpy-django
elpy-refactor subr-x python tramp-sh tramp tramp-compat tramp-loaddefs
trampver ucs-normalize shell pcomplete parse-time format-spec advice
json map grep compile comint ansi-color files-x doom-themes-org
doom-tomorrow-night-theme doom-themes doom-themes-common company-oddmuse
company-keywords company-etags etags xref project company-gtags
company-dabbrev-code company-dabbrev company-files company-capf
company-cmake company-xcode company-clang company-semantic company-eclim
company-template company-bbdb xclip winner ring paren
ido-completing-read+ memoize s cus-edit minibuf-eldef ido gnus nnheader
gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums time-date
mail-utils mm-util mail-prsvr wid-edit company edmacro kmacro pcase
cus-start cus-load finder-inf info package easymenu epg-config
url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp
byte-compile cconv cl-loaddefs cl-lib mule-util tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote dbusbind inotify lcms2 dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 652735 28267)
 (symbols 48 44899 1)
 (miscs 40 358 449)
 (strings 32 132698 3516)
 (string-bytes 1 3796567)
 (vectors 16 68717)
 (vector-slots 8 1139230 20802)
 (floats 8 525 343)
 (intervals 56 1048 157)
 (buffers 992 30))




Acknowledgement sent to Carlos Pita <carlosjosepita@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#32350; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.