From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40573: 27.0.90; flymake-mode broken in scratch buffer Date: Mon, 13 Apr 2020 07:36:41 +0300 Message-ID: <83lfn0j92e.fsf@gnu.org> References: <835ze4lsr1.fsf@gnu.org> <831roslq62.fsf@gnu.org> <87sgh89r78.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="14470"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40573@debbugs.gnu.org, joaotavora@gmail.com, monnier@iro.umontreal.ca, dgutov@yandex.ru To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 13 06:37:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jNqqN-0003f5-PP for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Apr 2020 06:37:11 +0200 Original-Received: from localhost ([::1]:40182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNqqM-0006Ge-Sf for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Apr 2020 00:37:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51785) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNqqF-0006GO-Bl for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 00:37:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNqqE-0004o8-E5 for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 00:37:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47557) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jNqqE-0004o4-Ar for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 00:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jNqqE-0005cw-6a for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 00:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Apr 2020 04:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40573 X-GNU-PR-Package: emacs Original-Received: via spool by 40573-submit@debbugs.gnu.org id=B40573.158675261921622 (code B ref 40573); Mon, 13 Apr 2020 04:37:02 +0000 Original-Received: (at 40573) by debbugs.gnu.org; 13 Apr 2020 04:36:59 +0000 Original-Received: from localhost ([127.0.0.1]:59103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNqqB-0005cg-CM for submit@debbugs.gnu.org; Mon, 13 Apr 2020 00:36:59 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNqq9-0005cP-GU for 40573@debbugs.gnu.org; Mon, 13 Apr 2020 00:36:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jNqq3-0004mM-Mg; Mon, 13 Apr 2020 00:36:51 -0400 Original-Received: from [176.228.60.248] (port=2970 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jNqq2-0002BH-PS; Mon, 13 Apr 2020 00:36:51 -0400 In-Reply-To: <87sgh89r78.fsf@mail.linkov.net> (message from Juri Linkov on Mon, 13 Apr 2020 02:58:07 +0300) 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: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178290 Archived-At: > From: Juri Linkov > Cc: Eli Zaretskii , 40573@debbugs.gnu.org, Stefan Monnier > , Dmitry Gutov > Date: Mon, 13 Apr 2020 02:58:07 +0300 > > Please add emacs-lisp-data-mode. I have data buffers in emacs-lisp mode > permanently visited all the time, and in the Buffer List the modes > of these buffers "ELisp/d" are highlighted with the warning face. > > It's fine to encourage the users to convert emacs-lisp files > from dynamic (the suffix "/d" in mode name highlighted as a warning) > to lexical (the suffix "/l" unhighlighted). > > But the problem is that these files are emacs-lisp data files, > they can't be converted to lexical-binding, they need a special data mode. As I said in that old discussion, I'm not opposed to such a mode, if it supports more than just running Flymake in .dir-locals.el. If you have a bunch of other files for which such a mode could be useful, please describe the files, their names or other telltale indications (to be used for turning on this mode), and their special needs that distinguish them from ELisp source files. Also, if you have some wishes for commands special to such files, or how the behavior of the existing commands should differ in such files, please tell that as well. IOW, such a mode should solve some real problems, not just a single glitch of turning on Flymake and producing annoying warnings in a file of a single name. Thanks.