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: Tue, 03 Oct 2017 01:33:23 +0100 Message-ID: <87a81983zg.fsf@gmail.com> References: <87h8vmj3tr.fsf@lolita> <87y3oygxqb.fsf@lolita> <87infyizeg.fsf@lolita> <87mv5agy74.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 1506990821 27201 195.159.176.226 (3 Oct 2017 00:33:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 3 Oct 2017 00:33:41 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 03 02:33:34 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 1dzB9S-0006Nz-Gs for ged-emacs-devel@m.gmane.org; Tue, 03 Oct 2017 02:33:34 +0200 Original-Received: from localhost ([::1]:55330 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzB9Z-0008OT-Oi for ged-emacs-devel@m.gmane.org; Mon, 02 Oct 2017 20:33:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzB9S-0008MA-9E for emacs-devel@gnu.org; Mon, 02 Oct 2017 20:33:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dzB9O-0007I6-8a for emacs-devel@gnu.org; Mon, 02 Oct 2017 20:33:34 -0400 Original-Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]:46347) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dzB9O-0007Gr-1B for emacs-devel@gnu.org; Mon, 02 Oct 2017 20:33:30 -0400 Original-Received: by mail-wr0-x234.google.com with SMTP id t76so4991385wrc.3 for ; Mon, 02 Oct 2017 17:33:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-transfer-encoding; bh=Peg1new0aM6WmAFzfWK010TgGCT+EMQl7bXN3Vvy2tk=; b=m/nHCUWYuaj3MWOmnrsuS2mk4d3DrOnAOCXBMa5Q+921BRQUaE/jLvcszIJUs4ys8q Hrl34piWxcSQEOV0ucGbq09MU2LZeWvKcldy7waEMorayON3ytjAtRfYo8LvGXi3o42M fN1vJA6GIUfkjED/+tyKMx94Y81e6lzTMOR6fFsZgEtmQlbgkeRdkfnrMgDv1WZHgg8A BTKmux0CebJXEZ/fCSegcVXMHFBZn5o61akNN5FJVrB65xcppJQcQe6oFq7uSTWCnzsu HiD8I2A9HrUnyKEBF5EeIGTGQ6+MEfcaMZqfpi7/lzmkkldywRyFE+iooHqk0E2csvWL 8hUA== 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:in-reply-to:references :user-agent:date:message-id:mime-version:content-transfer-encoding; bh=Peg1new0aM6WmAFzfWK010TgGCT+EMQl7bXN3Vvy2tk=; b=mchvvzQnfGjNxbwnM6HobFuxmNAL/nlApizsBsvPF2Rs8YElX6fKb/CSvn7fNhT/5F 04TC7Lj8xtSp6AyU0wO2kYFRV1Yp0IpNStw/2UQmjW0UAvxAVcoTvAyDDKZX0Rh4ve2c MLR73SxffOHVQTA0Uogb2qCY9uV+gHlO/xV7Jbg2jrghtBwbXKo5qUz7ZkwxhLRrxOex INvUizP1nGIL8JkTKTpDLqh8+aJNTFLMo0rIsnFz0B3yKHlGE5uygMqPDCGjZXLlMhCZ m8OwwrHDDx1GSqOENLb/rMLiwW9vKA8RPTVhKHZYDPGeIdq02XS+Uc48hdTZWJm/baXT PPbA== X-Gm-Message-State: AHPjjUgMilJ0RDxMWokT7M6tsUgdMwpoHdAe85RR2cmycjCvXCf46rtQ 50oj6gk5JJE/rxWAh2ZFw2meyqt0 X-Google-Smtp-Source: AOwi7QCkr8bzumtb6v9VlvHGwMF+WAxIR8naYRA7K292P+tIJr/RsKtniqJsmYwQi/zsDWMbJIxhvA== X-Received: by 10.223.186.140 with SMTP id p12mr15466217wrg.235.1506990807503; Mon, 02 Oct 2017 17:33:27 -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 m8sm839415wrg.55.2017.10.02.17.33.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Oct 2017 17:33:26 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Sun, 01 Oct 2017 23:12:49 -0400") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::234 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:219022 Archived-At: Stefan Monnier writes: > Oh, I don't forsee any major difficulty in writing an nxml backend for > flymake, *IF* we limit ourselves to the goal of making it work. But if > we want it to work about as well as nxml-mode itself, it'll be harder. Maybe you're right for the bit where (from what I gather from your comments) nxml-mode concentrates on the visible part of the buffer. Not unrelated, that's where nxml-mode and Flymake differ in their promise. Flymake's is to check the whole buffer, letting you know in the mode-line how many errors you have, and quickly letting you navigate between them. I think that, by design, that part could never be "as well as nxml-mode". On the other hand, perhaps it would be useful to ask backends to concentrate on this region first, then elsewhere. >>>> 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 " > > I thought you were the one saying that flymake-proc is all legacy and > will be replaced. I don't think anyone has claimed that flymake-proc is > *currently* obsolete, just that the plan is to retire it at some point > (this point being presumably after a replacement is written). OK then. I guess I misunderstand the graveness of a make-obsolete. >> Regarding the merge to emacs-26, do you see anything else we need to >> iron out before it? > > Maybe just this issue of letting backends tell flymake.el whey they're > done (and letting flymake tell backends to abort the currently running > check)? Done, and rebuilt a prettier history in the branch scratch/flymake-refactor-cleaner-for-emacs-26. Will still fix some more longstanding bugs and then merge to emacs-26. Bugs and finishing touches can still be fixed there. Jo=C3=A3o