From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: joaotavora@gmail.com (=?utf-8?B?Sm/Do28gVMOhdm9yYQ==?=) Newsgroups: gmane.emacs.devel Subject: Re: Flymake refactored Date: Mon, 02 Oct 2017 02:01:19 +0100 Message-ID: <87mv5agy74.fsf@lolita> References: <87h8vmj3tr.fsf@lolita> <87y3oygxqb.fsf@lolita> <87infyizeg.fsf@lolita> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1506906095 10838 195.159.176.226 (2 Oct 2017 01:01:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 2 Oct 2017 01:01:35 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 02 03:01:31 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 1dyp6w-0001rZ-C0 for ged-emacs-devel@m.gmane.org; Mon, 02 Oct 2017 03:01:30 +0200 Original-Received: from localhost ([::1]:50231 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dyp70-0006Aw-Ga for ged-emacs-devel@m.gmane.org; Sun, 01 Oct 2017 21:01:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54232) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dyp6t-0006Ap-CP for emacs-devel@gnu.org; Sun, 01 Oct 2017 21:01:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dyp6q-0007KB-Lq for emacs-devel@gnu.org; Sun, 01 Oct 2017 21:01:27 -0400 Original-Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:46840) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dyp6q-0007HK-EZ for emacs-devel@gnu.org; Sun, 01 Oct 2017 21:01:24 -0400 Original-Received: by mail-wm0-x231.google.com with SMTP id m72so7711736wmc.1 for ; Sun, 01 Oct 2017 18:01:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=Cu3OWTR38+cfJbZPQtpor+SWmGUa+DanCg9h5IGjbdU=; b=OHaz2+6p5kiQ7aBvzFyRD7Y++b5jyHjOtYPNX73FmJadOcFhVKeEcveF7f2aOVAeZn N8LDhcWjCvPn0rMQBdhns2QWU1/9UdtKnt4FFrjmBttdDy+ixUL8cWFDC4//thU6JR8c rayJ9jLROoSV0dWzLhDy9yWkN41vbZwiO40jlG0TY2P6ICi8vbbvRJBWpOzWi9OO4XDn FF/+9RTTKIMCX7LcihDgbv2/la8WaTGML9KYwp44Z0aGah9XaQ8GMWhzm6xSWXlZwTgK BTCI7hy1G4Z9WyGcIm6sqT6Wa2L5sC6kR6Shxw3nDJE97uifUg2MJiQrmopnBFGS+0jS Si0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Cu3OWTR38+cfJbZPQtpor+SWmGUa+DanCg9h5IGjbdU=; b=bkhn0WZgHm98bD4QQ6PqUUYqkbBg2j9T4E5RW5UJgmzTUPbwB0tAXbN+vnCTDOp2wl yBvkNrV0JTjQnatke3QdMHbDyxnqDB+5XSYTLLfOKl2zWq+2aO7yTIMsHYPlQfMOS+A4 m9rj84O2YVhYLChfPgjcveSQQ336rbcVldvgJIV9NmZEtH4zhzNhzMu3mj+aoeY/lfCO B7xT+RdD7fwJ4Y1RkwVSmxOUbj0lejZ6bYLHtMDupdf1WprEmXziUF8CHsSAmkf21qs3 Ir7PxVPEVm5vwLclPfVTxGCSYMSnT33lRzKnONOGgd1sh+JP9gkDfoV4bHU8Iy5oVd8g O8Ww== X-Gm-Message-State: AMCzsaU8rsZ4ccOfhX0rkCjHZPvtDlt/GSBlPXk4OY0BSkVPSdp27wY9 N2hUunZXkbNxg3EUffFpVmhMTkLD X-Google-Smtp-Source: AOwi7QCmd/Ao2YEsp6ddl7jrTqW4Uae0rf9S1AbsJRf+O5LHbSfiGUKFINUXwcQ56aqlXNjobH4wsw== X-Received: by 10.28.49.137 with SMTP id x131mr2096902wmx.116.1506906082709; Sun, 01 Oct 2017 18:01:22 -0700 (PDT) Original-Received: from lolita.yourcompany.com (188.139.62.94.rev.vodafone.pt. [94.62.139.188]) by smtp.gmail.com with ESMTPSA id a19sm10715968wra.64.2017.10.01.18.01.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 01 Oct 2017 18:01:22 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Sun, 01 Oct 2017 16:50:21 -0400") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::231 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:218997 Archived-At: Stefan Monnier writes: > That's OK. We want to allow this in scratch branches. Yeah, but boy does it spam emacs-diffs. Can we enable push -f in just the scratch branches. I don't know if its possible but Google says it's a pretty commonly requested feature. > "Hard to do generically + not particularly useful" qualifies as > "with regret" I think ;-) Au contraire, with delight, it's not everyday that a hard thing to do is useless :-) > enough of the details to be sure, but my gut feeling tells me that it'll > be hard to preserve the desirable properties while interfacing > through flymake (since it's targeted at a very different use case). I don't know (I also haven't looked at the code) but none of those things sound like showstoppers. For a start, I'd be happy just preserving the fact that it isn't based on regexps. The only thing a backend has to do is tell flymake where some problems exist. Even a naive solution like running nmxl in a subprocess emacs and prin1'int a list of collected errors, like we do for elisp-flymake-byte-compile now, shouldn't be horrible. >> Didn't do this too. If we mark it obsolete, what's the "use instead" >> message? > Don't know. flymake-diagnostic-functions? Yeah, but right now that's saying "this bit is obsolete, go write a replacement and then use that instead. good luck " Regarding the merge to emacs-26, do you see anything else we need to iron out before it? Jo=C3=A3o