From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Refactoring flymake.el Date: Fri, 18 Aug 2017 18:11:13 +0300 Message-ID: References: <87378q2r62.fsf@lolita> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1503069101 30681 195.159.176.226 (18 Aug 2017 15:11:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 18 Aug 2017 15:11:41 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Thunderbird/56.0 To: sds@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 18 17:11:32 2017 Return-path: Envelope-to: ged-emacs-devel@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 1diivk-0007AP-IR for ged-emacs-devel@m.gmane.org; Fri, 18 Aug 2017 17:11:24 +0200 Original-Received: from localhost ([::1]:33109 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1diivr-0005Gm-8d for ged-emacs-devel@m.gmane.org; Fri, 18 Aug 2017 11:11:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1diivk-0005G2-D8 for emacs-devel@gnu.org; Fri, 18 Aug 2017 11:11:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1diivf-0004OZ-J5 for emacs-devel@gnu.org; Fri, 18 Aug 2017 11:11:24 -0400 Original-Received: from mail-wr0-x229.google.com ([2a00:1450:400c:c0c::229]:36400) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1diivf-0004O2-C9; Fri, 18 Aug 2017 11:11:19 -0400 Original-Received: by mail-wr0-x229.google.com with SMTP id f8so28204238wrf.3; Fri, 18 Aug 2017 08:11:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Y/WucBkXen8NQsIa+L5K/ZI65BNGhf6EEjmFuRbVDNM=; b=hO+4A3Cn6c+RtM/o+LgtEYIiDY8MS/ipsscHxZCyWvHmVavkTeVfGI/L2fBXm0AnzY TvVM8LQqz27tvPrbNXFgGObM/zgyJcvW6O6vZC+p5tb5n1w/jmLaVJtoDXWrMzVeR8rL uG8zvLYxowzvYouIRxnmfKsVO8EgySMhaKApN7UDxl8CYnNCxCJS+vAUejQ4Zz6CsNc2 wDFodL2R5qNRiWnqJH0w7ys1W0iOo7dCtwcWPUl5XtBLr26XuNepdr+amIoA7mmGTLKN IR2JvPngpHSDLNDkGdqWT7t0Q1e/wBekZOpAo/sKYbVzZDYY8/v6XofmiISM1ElyuGf4 j1Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Y/WucBkXen8NQsIa+L5K/ZI65BNGhf6EEjmFuRbVDNM=; b=gC7eVezhGUsbnarPxvRWMmd6pJXEtboO2+ImLkf3UTRRn5zD08wn+x4XBnRcGm5RIZ vJ5nYUNRRXRX2ecFKrHt5PDdpBguwoKXwnyeb8TDUKqSzWz/CRCgb9kIwB9k3nyvTO+e 71To2z8hpSFiwhoYid+90q878vgCTN6Ubjtc5I+YpNF4cWg0sLUt13y8nY5Fb928bJcU hoECMkDot46fLDapC/O1yakB7zi9xMUvZJU1Z5amGEakzgd1cQ5LkEne9AdGb6hrz8rp 70w/1w0IBwPTOtJKXzxMLBAaj4y4GdQ1qEjSUKV5/Je3tmOS4QfXYzgw2QFcj68ntPBS 4hzw== X-Gm-Message-State: AHYfb5gFAEwHqCoZLDHHuh9YA8iMszfJg4XIwYToKEndttMDPevsx2fE 0CVd19QQNzLjlNHN1eY= X-Received: by 10.223.136.153 with SMTP id f25mr3252550wrf.286.1503069077995; Fri, 18 Aug 2017 08:11:17 -0700 (PDT) Original-Received: from [192.168.0.133] (static-nbl2-118.cytanet.com.cy. [212.31.107.118]) by smtp.googlemail.com with ESMTPSA id k13sm6096448wrd.4.2017.08.18.08.11.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Aug 2017 08:11:16 -0700 (PDT) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217611 Archived-At: On 8/18/17 5:51 PM, Sam Steingold wrote: >> Can you add some file-local settings in them? > > elpy (https://github.com/jorgenschaefer/elpy) ignores them. > I just tried That's something your can discuss with Jorgen. Maybe Elpy has a different variable that governs whether flymake-mode should be enabled in any or all of its buffers. >> Using file-local or dir-local variables settings is often more convenient. > > Nope, because I have to deal with the "safe local variable dialogue" > every time I visit such a file. Only if such variable is not safe. If it's a boolean, for instance, adding ":safe 'booleanp" to its defcustom should be easy.