From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#40573: 27.0.90; flymake-mode broken in scratch buffer Date: Sun, 12 Apr 2020 18:02:31 +0100 Message-ID: References: <835ze4lsr1.fsf@gnu.org> <831roslq62.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004613af05a31aefa5" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="5747"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40573@debbugs.gnu.org, Stefan Monnier , Dmitry Gutov To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 12 19:03: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 1jNg0l-0001Nb-7i for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Apr 2020 19:03:11 +0200 Original-Received: from localhost ([::1]:35262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNg0k-0003Ed-AT for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Apr 2020 13:03:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47118) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNg0d-0003Dw-2M for bug-gnu-emacs@gnu.org; Sun, 12 Apr 2020 13:03:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNg0b-0006sr-Up for bug-gnu-emacs@gnu.org; Sun, 12 Apr 2020 13:03:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47201) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jNg0b-0006si-S1 for bug-gnu-emacs@gnu.org; Sun, 12 Apr 2020 13:03:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jNg0b-0005j4-QK for bug-gnu-emacs@gnu.org; Sun, 12 Apr 2020 13:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Apr 2020 17:03:01 +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.158671096921992 (code B ref 40573); Sun, 12 Apr 2020 17:03:01 +0000 Original-Received: (at 40573) by debbugs.gnu.org; 12 Apr 2020 17:02:49 +0000 Original-Received: from localhost ([127.0.0.1]:58747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNg0P-0005id-87 for submit@debbugs.gnu.org; Sun, 12 Apr 2020 13:02:49 -0400 Original-Received: from mail-io1-f47.google.com ([209.85.166.47]:34727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNg0N-0005iR-Rb for 40573@debbugs.gnu.org; Sun, 12 Apr 2020 13:02:48 -0400 Original-Received: by mail-io1-f47.google.com with SMTP id f3so7164038ioj.1 for <40573@debbugs.gnu.org>; Sun, 12 Apr 2020 10:02:47 -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=LRHdM9XS2dxRH0rQHIj58NMfxdDaGMt2A4cqiIQEXLY=; b=ChCZc1Rhx1H1ULebDNO/Du5W+JtxO1X423z9HFdRHV483aG6WkZcejUTG8PLUvnPMz KONooCH076jW/A81YUcW0yRJzXj6+FWrOG+a+YY3va9QN6xXQRPrDuFYMwCVBsIcypCE jqBup7pijMciD58Ge/RUNnIuKO9QoPCOC4BUDAxrD3VtkD6bwSij5wkJKu9fFh4y0Ovf fr7bpFZTsQNMO5acspz+Ehxxi1S4A0EePGMNjmfJiRjCPRoIsRX2Sg50AMP9gwf94Bi/ jorv0jWi8Ioe5GSoZ32niczjANdWLQuiLKghOxZSVI3DRcl/xNEFZqEQ8818AiJTjQoI ikjw== 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=LRHdM9XS2dxRH0rQHIj58NMfxdDaGMt2A4cqiIQEXLY=; b=PzIZMuxd/OtnXpkX910gWGOTYww529CFyV7ObkDN3A59Ekk3xCHnOTIF04gwZN3GgD HvkX5Vw+vjOk3jGNYtuLQdQ+mvK+vyNibcw5w11ERvlqVR6cxGJPVP6pSHyp5D3Av1V3 51x8dMx3jEbhfsltdMjiGQvkmfwt4JoiMMMM9EtnGYA6Bw2G5s//OkPKpru5Ee2NUp2Z Qomz/ptwfXpzwNgoyuRsB6kWsGDZUVn52L5Ta0J6tsTsQmDW9EmNIyy3WzEhFZEMgWiQ 6takU3RTeIY8WrhnHh4OEOnP/7naQW2NSUwasarlexxdT3cHUsTDGsa0E1j0DWrfIUJN sbHA== X-Gm-Message-State: AGi0PuYo80GI1ko9RUGPvNcBw3n55mZb86owAVdijZK2ACfBmXTfeWSY d23v6bCl1cBEjDyhQSiMbQQqi7g2PmXxUt58afM= X-Google-Smtp-Source: APiQypIyxQ2ty272PVI93C+iq6J0UPInhCTiLUPPQffwj8bMcVn/npuXrtznMrtPfkI8fm7fJx/HzaUCCSc9dyO3Sec= X-Received: by 2002:a6b:7314:: with SMTP id e20mr13081437ioh.165.1586710962376; Sun, 12 Apr 2020 10:02:42 -0700 (PDT) In-Reply-To: <831roslq62.fsf@gnu.org> 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:178261 Archived-At: --0000000000004613af05a31aefa5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Apr 12, 2020 at 3:44 PM Eli Zaretskii wrote: > > > Thanks, this is okay for the emacs-27 branch. > > Done, just pushed. Not marking the bug done, though, since > > as I said before, I don't think this is the right fix. > > Why isn't this the right fix? > Because the right fix is not to have the condition at the end of emacs-lisp-mode at all, as I explained in the previous email. I.e handicapping a mode depending on the buffer file name the mode applies to is wrong. IMO. > > Or maybe it should be marked done but not closed? I don't know these > > bug state transition dynamics and won't object to anything you want > > to do here. > > There's no such thing as done but not closed. Feel free to leave this > open if you intend to work on it on master. > The only intention I have is to revert the commit you added, add an emacs-lisp-data-mode according to Stefan's and Dmitry's suggestion, and use that mode for .dir-local.el. I'd also appreciate such a mode for other lispy data files I have. Anyway, last time I checked, you opposed this (very?) strongly so unless that stance has changed, there's not much for me to work on. Let me know, Jo=C3=A3o --0000000000004613af05a31aefa5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Apr 12, 2020 at 3:44 PM Eli Zaretskii <eliz@gnu.org> wrote:
<= div class=3D"gmail_quote">
> > Thanks, this is okay for the emacs-27 branch.
=C2=A0 > Done, just pushed.=C2=A0 Not marking the bug done, though, since
> as I said before, I don't think this is the right fix.

Why isn't this the right fix?

Becau= se the right fix is not to have the condition at
the end of emacs= -lisp-mode at all, as I explained
in the previous email.=C2=A0 I.= e handicapping a mode depending
on the buffer file name the mode = applies to is wrong. IMO.
=C2=A0
> Or maybe it should be marked done but not closed? I don't know the= se
> bug state transition dynamics and won't object to anything you wan= t
> to do here.

There's no such thing as done but not closed.=C2=A0 Feel free to leave = this
open if you intend to work on it on master.

=
The only intention I have is to revert the commit you added,
add an emacs-lisp-data-mode according to Stefan's and Dmitry'= ;s
suggestion, and use that mode for .dir-local.el. I'd also = appreciate
such a mode for other lispy data files I have. Anyway,= last time
I checked, you opposed this (very?) strongly so unless= that stance
has changed, there's not much for me to wor= k on.

Let me know,
Jo=C3=A3o




--0000000000004613af05a31aefa5--