From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.bugs Subject: bug#20489: 25.0.50; next-error-find-buffer chooses non-current buffer without good reason Date: Tue, 05 May 2015 11:15:09 -0400 Organization: =?UTF-8?Q?=D0=A2=D0=B5=D0=BE=D0=B4=D0=BE=D1=80_?= =?UTF-8?Q?=D0=97=D0=BB=D0=B0=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= @ Cienfuegos Message-ID: <87y4l3839e.fsf@lifelogs.com> References: <86wq0q602w.fsf@yandex.ru> <55461AEB.7040402@yandex.ru> <87sibc6lva.fsf@lifelogs.com> <5547F12F.2060809@yandex.ru> <87383c6kh7.fsf@lifelogs.com> <5548DC39.2090501@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1430838986 17512 80.91.229.3 (5 May 2015 15:16:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 May 2015 15:16:26 +0000 (UTC) Cc: 20489@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 05 17:16:15 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YpeZw-0007fX-2E for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 May 2015 17:16:12 +0200 Original-Received: from localhost ([::1]:39927 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpeZv-0002nY-GU for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 May 2015 11:16:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpeZq-0002kz-L9 for bug-gnu-emacs@gnu.org; Tue, 05 May 2015 11:16:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpeZn-00041k-B5 for bug-gnu-emacs@gnu.org; Tue, 05 May 2015 11:16:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpeZm-00041g-Su for bug-gnu-emacs@gnu.org; Tue, 05 May 2015 11:16:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YpeZm-00046G-Il for bug-gnu-emacs@gnu.org; Tue, 05 May 2015 11:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ted Zlatanov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 May 2015 15:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20489 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20489-submit@debbugs.gnu.org id=B20489.143083892015708 (code B ref 20489); Tue, 05 May 2015 15:16:02 +0000 Original-Received: (at 20489) by debbugs.gnu.org; 5 May 2015 15:15:20 +0000 Original-Received: from localhost ([127.0.0.1]:35470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YpeZ5-00045G-Sv for submit@debbugs.gnu.org; Tue, 05 May 2015 11:15:20 -0400 Original-Received: from mail-qk0-f178.google.com ([209.85.220.178]:34280) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YpeZ3-000451-3Y for 20489@debbugs.gnu.org; Tue, 05 May 2015 11:15:17 -0400 Original-Received: by qkgx75 with SMTP id x75so108055416qkg.1 for <20489@debbugs.gnu.org>; Tue, 05 May 2015 08:15:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google; h=from:to:cc:subject:organization:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=2DofIXh1ds7q35yhxNcgOiMQLtevzoZ7bMLwp3d0hOU=; b=v5U/IFL4GlE9uuSudDjtsXf38UpujKsva2UOnuo39yDrbQDIKKLXsYaErCFe/UmBh3 FDh4dLFROADXk35uoYc5ZmsL46Q+tf5XZ3JENnQWXWILkZGqS9Pw1/7PSnyVhgJ0O60U PUTlmxZJraTDgyd6DgqSnWd1elPOHyl7xozvs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=2DofIXh1ds7q35yhxNcgOiMQLtevzoZ7bMLwp3d0hOU=; b=EVcFow4mijpGjMA51vG1tG2z7JXFRJrbk9/fje4QeeO5BWwXvYqCzANK1uCTZRo2nM w4NXsOxtr3Az7TEIhWx+rcnDoCxzjcOvdecrnkYpj1xVs2x4S4YZ3qGt9ufs0DAEiv6/ I6jd02wtGMkpHCNMfNMSXKgaummq2Q/ljA65XdOoI4ZTbn6bDqzUM+sg44hNj2lNa9so RKs24SQe9uawqZxe49i7hiYO/xHljwNuB4QkazIhXaxExXtRnwA1i5ptD7yN+WZb/8yl f7Y65TkWq3yqW+c+6cy4JaWhtdn57PASuI1Mqe3K2PoJ6f0x0xHVfMNtSqzNttYe9xzx KtZQ== X-Gm-Message-State: ALoCoQksyCZw273yjG+fAisn31xeZEWrRChAnQhBoBB9geZjQ4b3O1EIHSp5F/Xv2koLPVczFnqs X-Received: by 10.140.98.3 with SMTP id n3mr33547678qge.62.1430838911576; Tue, 05 May 2015 08:15:11 -0700 (PDT) Original-Received: from flea (c-98-229-61-72.hsd1.ma.comcast.net. [98.229.61.72]) by mx.google.com with ESMTPSA id n83sm12248392qkh.31.2015.05.05.08.15.10 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 05 May 2015 08:15:10 -0700 (PDT) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <5548DC39.2090501@yandex.ru> (Dmitry Gutov's message of "Tue, 5 May 2015 18:05:29 +0300") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102508 Archived-At: On Tue, 5 May 2015 18:05:29 +0300 Dmitry Gutov wrote: DG> On 05/05/2015 01:33 AM, Ted Zlatanov wrote: >> Some history: I actually, long ago when `next-error' turned into a >> navigation facility, we[1] had the idea of "meta next-error" which would >> navigate one level higher than local. That would have made this whole >> discussion, including rankings by priority, moot by simply saying "to >> navigate between files (compile, grep) you use `meta-next-error' or >> whatever it's called. to navigate inside file locations, use >> `next-error'." DG> Thanks for the link. DG> That would've been an improvement, but it wouldn't solve a related DG> problem: when *grep* buffer was created after a *compile* one, how to DG> get back to using *compile*'s list of errors. I think we have to accept the visible or last used one in that case. >> Perhaps you are interested in adapting that code instead of hacking on >> the current scheme? Or should I retry implementing it? 9 years late is >> not too bad, right? :) DG> 9 years is just right, but I'm not sure how much of that DG> implementation we would reuse. It's also not obvious me how to move to DG> the next file, if you only have a next-error-function. I'm happy to make suggestions but please take this in a direction that makes sense to you. Ted