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?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: next-error use cases Date: Sat, 23 May 2020 21:41:36 -0400 Message-ID: References: <87zi2esn7l.fsf@mail.linkov.net> <87r2nknpaz.fsf@mail.linkov.net> <83y3hr5z35.fsf@gnu.org> <87d0z2anv8.fsf@mail.linkov.net> <871rnfbmll.fsf@mail.linkov.net> <69a40b7c-2a00-1c24-452f-b62d414e04bf@yandex.ru> <87sgft110l.fsf@t510.orion.oneofus.la> <7e53d4be-30b8-ead5-bd3d-8ee15c81f6d6@yandex.ru> <87v9kprli7.fsf@mail.linkov.net> <2f15a0bb-7eeb-2ab7-a203-d360576a5649@yandex.ru> <87pnav23cx.fsf@t510.orion.oneofus.la> <788f67bd-bc95-efc1-b1fa-ab3bfeb7ee5b@gmail.com> <70e1367f-a17b-ca0f-371c-ca566ed0e4f6@yandex.ru> <152f1200-a2d0-e137-418f-18ceb14fbbe3@gmail.com> <65bb4709-f4db-2dcd-fa12-0ce1fcdb7637@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="78446"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Cc: emacs-devel@gnu.org To: Dmitry Gutov , Vladimir Sedach Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 24 03:42:11 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jcfeV-000KLJ-63 for ged-emacs-devel@m.gmane-mx.org; Sun, 24 May 2020 03:42:11 +0200 Original-Received: from localhost ([::1]:47530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcfeU-0003zD-8N for ged-emacs-devel@m.gmane-mx.org; Sat, 23 May 2020 21:42:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcfe0-0003ZT-MA for emacs-devel@gnu.org; Sat, 23 May 2020 21:41:40 -0400 Original-Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]:44760) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jcfdz-0005p0-QN for emacs-devel@gnu.org; Sat, 23 May 2020 21:41:40 -0400 Original-Received: by mail-qv1-xf2b.google.com with SMTP id ee19so6574277qvb.11 for ; Sat, 23 May 2020 18:41:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=QvEF+hK5sTGyxTQCX1OnOKYuYS8Tj1eD+RduPVvLqWE=; b=WT03aBIlJBGryJTcza2uR4DZ9B1fSd+mPxvgK1d7gzDAaUu9fJl+hO3RUKCVo1A0p9 INk9OH3QvqFGDgAUxk2ktaeEZ6shcTTPTMxC7S7x3qklq47FChvqZ+SPaqpP7Ixk6VzZ xgFGsPNfMbK+zS7HhqrPBueB7pcANCYgfsNx6/9ClE6bPOwYpiNmebbuGsnWgpeen++R x/Oyuc8McgT9SLgAg4LroIWRqG/ae8IaLcGfQGcibmpQK3576tq2felse9NzmkIB60jH btQxIqhLylM59Tagbxf4OP2WhqOUSJe7Uy96cnP0hh/xJm90HOsD8kSj2RgjCfLhv6SO b1WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=QvEF+hK5sTGyxTQCX1OnOKYuYS8Tj1eD+RduPVvLqWE=; b=AQx0u1OmFhnK53HEocqwjdi+3+Ptd2rairnQKhiV83wcBWCEmVUuGwZrPFPLiu7o6Z ryHBiIZjxD1s5AHVg05Uu2fxPJ5VdiESuFo6zOWNerK1HJprcBbRYTKRcTX3WfMAFVUs 8dtbV9C40WyqqbhRrGN9jZJMrDJjTazmh+3RxP+diBieoBL249XvjD9LAWH2foRil/4z k2EKu3FV0kwQnkFrqH5UwFaLuTifpnT5v56oZwMyK5RJIPXreRmNXBtG4SzoLrF4jb/5 FrIeh8daOsVIlur6A8TshQTNE9XVq3tfi5QBHkQfNHWanbnWYAGPbk17dP+oQH4uKSW+ bFfA== X-Gm-Message-State: AOAM532YVJLgYDbB9qFCJKmjDwIKbZXc9tSzxgM9bX/9uirwJCzencmQ eoDOa4nIRJp7Z3i2p9QSk8CFvz1W X-Google-Smtp-Source: ABdhPJy8pHHS1tHda27CbTtcOZcrTCCBWU1LxmJXaOMaMBAWPmX/vT9suwZspMxslE6kQ26/BQjiCw== X-Received: by 2002:ad4:5624:: with SMTP id cb4mr9653923qvb.154.1590284497683; Sat, 23 May 2020 18:41:37 -0700 (PDT) Original-Received: from ?IPv6:2601:184:4180:66e7:bda5:ac5c:1de0:b677? ([2601:184:4180:66e7:bda5:ac5c:1de0:b677]) by smtp.googlemail.com with ESMTPSA id o18sm12327329qtb.7.2020.05.23.18.41.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 May 2020 18:41:37 -0700 (PDT) In-Reply-To: <65bb4709-f4db-2dcd-fa12-0ce1fcdb7637@yandex.ru> Content-Language: en-GB Received-SPF: pass client-ip=2607:f8b0:4864:20::f2b; envelope-from=cpitclaudel@gmail.com; helo=mail-qv1-xf2b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:251296 Archived-At: On 23/05/2020 21.36, Dmitry Gutov wrote: > For error navigation, it /could/ be a better idea, but IMHO it's like we'd be giving up and creating a parallel set of variables and commands for "local" errors. And necessitate a "muscle memory" context switch when one goes from "local" errors to "global" or back. One set of bindings would also have to be more awkward than the other. Good points all around, and I don't have much more to contribute :) > There's also another wrinkle: I think there was a proposed feature for Flycheck to list errors for multiple files (or the whole project) together? 'next-error' could be handy for jumping between those too. We do this currently already, and the idea is that all external errors are converted into local errors on line 1. In the error list they appear with a file name and a line number in that file, so if you were to cycle errors relative to that list you would visit files one by one, and if you were to visit errors relative to the buffer you'd go through all local errors then jump to another file with errors, if any.