From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Add a separate mode for .dir-locals.el Date: Sat, 19 Oct 2019 12:08:54 +0100 Message-ID: References: <2058328b-aee5-8cb1-2659-a793e1354517@mit.edu> <835zkndcz4.fsf@gnu.org> <83ftjrbjhm.fsf@gnu.org> <83ftjr9sx4.fsf@gnu.org> <83eezb9s5b.fsf@gnu.org> <83bluf9qgb.fsf@gnu.org> <835zkn9o01.fsf@gnu.org> <83lfti8ovn.fsf@gnu.org> <83d0eu8c80.fsf@gnu.org> <83lfth6p0y.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a9f8770595417a96" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="72787"; mail-complaints-to="usenet@blaine.gmane.org" Cc: =?UTF-8?Q?Cl=C3=A9ment_Pit=2DClaudel?= , Stefan Monnier , emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 19 13:10:13 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 1iLmcf-000Ir3-9W for ged-emacs-devel@m.gmane.org; Sat, 19 Oct 2019 13:10:13 +0200 Original-Received: from localhost ([::1]:53232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLmcb-0000OD-Tm for ged-emacs-devel@m.gmane.org; Sat, 19 Oct 2019 07:10:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54535) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLmbf-0000Nf-Gd for emacs-devel@gnu.org; Sat, 19 Oct 2019 07:09:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLmbe-0002th-Jo for emacs-devel@gnu.org; Sat, 19 Oct 2019 07:09:11 -0400 Original-Received: from mail-io1-xd2f.google.com ([2607:f8b0:4864:20::d2f]:38136) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iLmbc-0002pW-70; Sat, 19 Oct 2019 07:09:08 -0400 Original-Received: by mail-io1-xd2f.google.com with SMTP id u8so10481612iom.5; Sat, 19 Oct 2019 04:09:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=f0Efw9m4S3AAM0liZC695XAen4M0+VgIpTVD7wWu/3I=; b=sgREN97wrm3HYPMI+Dq6ltepBNtZ9KT4F6bL4d1c5F/e5WAqsQtyEV3zo23rtxxLFG 2KGpi6lz3pzZ4Xi2LCnMbgbOJ0sHP9qy0jiv5g3L4X8BVdj3yhzsDp99MCK3N+0xRzb7 0WPKLjl0MWiGrNQFlEkIlZWPOdy7iDRxi6/oPlarHvnWQTt3ytLoBjEUwTuirrsOyL44 IM73sSfeXuflUncguOUgShNALZyFfFS/SUOmZwT2d5pHAnPFqCACkvRSwm/ho8KuqtP/ jzCNaAJsXCyiaX+My8MCNd3fxbbo7UEbOh8bmbb82NiCWJ1m3NBIKh9tDm2HVWdgmY40 KU5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=f0Efw9m4S3AAM0liZC695XAen4M0+VgIpTVD7wWu/3I=; b=rIwgsAA7CWBcZVHAssdRxlb0CcHSeVHhCQ2dVR59wZpR/Xtf7k13C/ZgDgrrgZks7F tAv5rT/whP8bDdc6h+1Ik9hKfOsdUTgjHPIUx91wAQsGYXx7iV67uxCyUm8tbKmy5IUj 6iwjrs+WO4/ZaN0sLEtOej1uBBlv8SNW9fW7Ba1qd50T/EBsOBDmCRoGkYEDCGntEiY8 dapv5v98BmnMbRvd2bPbYj75tA48Tn1PlW/Nf0wz55PRjsc3Pp4uSP4VtjldiqvnyQdk 4Qg7YgxlXqhMmldSpG4UiTgS12nZox5SDq+gAaXoIbm90xAnaLNwd4krX8EE/NCEoFHL nQFQ== X-Gm-Message-State: APjAAAWjqKCJoy0J/KkGBG7/jfOJUBMeVSV8I3dRIDQJaTUEbxNUsIdT HBgNSOZ92h4bmcgzoDp4UpHcPjbSAohNqyyffehVHmnGtiM= X-Google-Smtp-Source: APXvYqyzvJ0jXPwhJVF24sFTxa+v9KXhmWsRu6ShBAqeRNUfY2sLBrazX237wW64unaiApVd/fnNtzFlwQGcdTJtjl8= X-Received: by 2002:a5e:db47:: with SMTP id r7mr13310814iop.9.1571483346924; Sat, 19 Oct 2019 04:09:06 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d2f 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:241223 Archived-At: --000000000000a9f8770595417a96 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > The expected behaviour, in the absence of a proper dir-locals checker, > would be that (1) Flymake didn't turn itself on at all in these files or > (2) It didn't use the wrong backends. A small followup, a piece of the puzzle you might be missing. Flymake, by default, doesn't "turn itself on" in emacs-lisp-mode buffers. But people add this line to their init files so that it does: (add-hook 'emacs-lisp-mode-hook 'flymake-mode) ...as they probably also do with Flycheck, and any other stuff they like to use when coding elisp. Jo=C3=A3o --000000000000a9f8770595417a96 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> The expected behaviour, in the absence of a proper di= r-locals checker,
> would be that (1) Flymake didn't turn itself = on at all in these files or
> (2) It didn't use the wrong backend= s.

A small followup, a piece of the puzzle you might be missing.=C2= =A0 Flymake,
by default, doesn't "turn itself on" in emacs= -lisp-mode buffers.=C2=A0 But
people add this line to their init files s= o that it does:

=C2=A0 =C2=A0(add-hook 'emacs-lisp-mode-hook = 9;flymake-mode)

...as they probably also do with Flycheck, and = any other stuff they like
to use when coding elisp.

Jo=C3=A3o
--000000000000a9f8770595417a96--