From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 61fb521: Avoid false indications from Flymake in .dir-locals.el files Date: Mon, 21 Oct 2019 10:24:30 -0400 Message-ID: References: <20191021113052.21934.64094@vcs0.savannah.gnu.org> <20191021113055.AA1BF209DE@vcs0.savannah.gnu.org> <83imoi2qhd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="119263"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 21 16:25:50 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iMYd4-000Uuc-4M for ged-emacs-devel@m.gmane.org; Mon, 21 Oct 2019 16:25:50 +0200 Original-Received: from localhost ([::1]:43096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMYd2-00075a-Te for ged-emacs-devel@m.gmane.org; Mon, 21 Oct 2019 10:25:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47628) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMYbu-00073L-1T for emacs-devel@gnu.org; Mon, 21 Oct 2019 10:24:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMYbr-0000je-LN for emacs-devel@gnu.org; Mon, 21 Oct 2019 10:24:37 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:35253) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iMYbp-0000iF-Tr; Mon, 21 Oct 2019 10:24:34 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id EA68210064F; Mon, 21 Oct 2019 10:24:32 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id C29FB100506; Mon, 21 Oct 2019 10:24:31 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1571667871; bh=5b2s+oSlT68Xv2lBG3nDXMi9c2vIoNF5oqC5X56RF6U=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=bL2xFM9mk1wy9Sy1CUXxV12nL3SjI+MC7y4s4zD/sGb6uoqJGe08z+3ROjMckCwHe umcTkmKqWkZTxIRJ2w4UfH2uqhIbj9eGpqJXyjdbHzki07UYAM9tpEGJUyzr+GjN8G invRnKjD9+88xyl9IEQ+H2sk028j+AvzSqHTLH7VbgQoBYQUnEafbrD4f4v8BWJuDa Rg+dK8Z5OFjPULNv8c+mOBUHJKSLJhnGzvWBiaLeCxu201z60M+TcO1N+tdrvz0q08 xR/c08mYs0MrhQEE0KVNl+5ufvMINMbRqCiBVedJZ3c3u/mpGmnRxtgDFYuCGf2XIR yQtuA5kQQc5kQ== Original-Received: from pastel (unknown [216.154.30.71]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 865D4120910; Mon, 21 Oct 2019 10:24:31 -0400 (EDT) In-Reply-To: <83imoi2qhd.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 21 Oct 2019 16:11:10 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:241310 Archived-At: >> AFAICT lock "files" are symlinks that point nowhere so if the user tries >> to visit one of them he gets an empty buffer and a message "Symbolic >> link that points to non-existent file". > Not on MS-Windows, AFAICT. Ah, right. >> IOW maybe we should have a general >> >> ("/\\.#[^/]*\\'" . fundamental-mode) >> >> entry in auto-mode-alist? > > Maybe. But then why does bytecomp.el does this by file name? Bytecomp can be called by byte-recompile-directory or something like that which just looks at file names without paying attention to their major mode, so the above suggestion wouldn't render the bytecomp.el exception redundant. Stefan