From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#20489: 25.0.50; next-error-find-buffer chooses non-current buffer without good reason Date: Wed, 7 Mar 2018 16:08:59 +0200 Message-ID: <083b9294-67e3-49a6-bb3b-3ab1ee4bfb83@yandex.ru> References: <86wq0q602w.fsf@yandex.ru> <877ev36pmr.fsf@mail.linkov.net> <87sha1nbjy.fsf@mail.linkov.net> <23fd061a-9b83-742a-6083-6d2f090b8f22@yandex.ru> <81d36dbe-f563-187a-ec16-df4b051ae204@yandex.ru> <87efl6smxb.fsf@mail.linkov.net> <87efl46c41.fsf@mail.linkov.net> <87po4ne72v.fsf@mail.linkov.net> <87fu5cstjx.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1520431700 6822 195.159.176.226 (7 Mar 2018 14:08:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Mar 2018 14:08:20 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Thunderbird/59.0 Cc: 20489@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 07 15:08:16 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1etZjl-0000WG-Rs for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Mar 2018 15:08:09 +0100 Original-Received: from localhost ([::1]:33678 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etZlo-0004sg-K4 for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Mar 2018 09:10:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etZle-0004qD-N4 for bug-gnu-emacs@gnu.org; Wed, 07 Mar 2018 09:10:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1etZla-0005r8-19 for bug-gnu-emacs@gnu.org; Wed, 07 Mar 2018 09:10:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40721) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1etZlZ-0005r3-Tr for bug-gnu-emacs@gnu.org; Wed, 07 Mar 2018 09:10:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1etZlZ-0004uP-Mn for bug-gnu-emacs@gnu.org; Wed, 07 Mar 2018 09:10:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Mar 2018 14:10:01 +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.152043175218800 (code B ref 20489); Wed, 07 Mar 2018 14:10:01 +0000 Original-Received: (at 20489) by debbugs.gnu.org; 7 Mar 2018 14:09:12 +0000 Original-Received: from localhost ([127.0.0.1]:48618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1etZkl-0004tA-Pp for submit@debbugs.gnu.org; Wed, 07 Mar 2018 09:09:11 -0500 Original-Received: from mail-wm0-f46.google.com ([74.125.82.46]:36808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1etZkj-0004su-S5 for 20489@debbugs.gnu.org; Wed, 07 Mar 2018 09:09:10 -0500 Original-Received: by mail-wm0-f46.google.com with SMTP id 188so4959877wme.1 for <20489@debbugs.gnu.org>; Wed, 07 Mar 2018 06:09:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=MMCz85S0u9CGT6n9QVCk/H7apKGIOPatC2FwhmvDsJs=; b=ay0oAOBsRyCUEAyGrSw6CfiUoVOkP0R9k47cKpf1zGByxKeZWgHy8jOzCQXlgXIcXc ZKQWxaEZULPfcxYcsBe8GJycnmkHzg6qZpaf9+SSqQ8JN5VeWnBVHkdwki1BdB8DYoXC oE2tZoRFC4MaHmKukqzQ4RxMDmCjPM0cB8HVmwIFDU6dkoxdzMUCbbMlujZ0LNCjCXfQ wValGYoqe/yj5viDAeViYyFrbUZ9xd0p8GGnILckOPYCxbCp9zIzxyt14pwsbvNx8jm4 OQVixCzT5mIXjmr0SqzdT49bXvlx27X37dayk11FkIxZZVnwZovvd/z7RPkOfkPqfg18 31Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=MMCz85S0u9CGT6n9QVCk/H7apKGIOPatC2FwhmvDsJs=; b=iRB4YPyCODUJqrzk/iRebXCOZvBWBeTfJLEJqtqeLzfX/btInz6EDGfxp92hY7adoJ KGNmuOppddkwfspzxGw8+4e1O4VeD5M3Xsh3DVx7EwEHJDSuasOGRYzKIQBgL5GCgJz+ NUU6z/ncarFNh+ED8WaMFW/VgPC9ZX+boudEybbsc+sSO75/xhlocIzPxbDoVTPPXgNZ sJds+go+4c+FUHAmIDywde6BSmlkE0AtpRmjHtu8O8O9TYUsWcdfNl+eP3oxLX4bL0ex Dlj9YP75PmNVtek4G0nWKeIAceYirLsd2OikWxpwMW/FZ4iVS9uIkRmP/3NnZNyeWPvv 6dGg== X-Gm-Message-State: APf1xPDw9JRJuX3K/Qaa6X5WwDanLOU5ijeKZVcKzlgDHj362xR702Jj fpoE80d0CQNzTI6FEcKQp/Tm4o1b X-Google-Smtp-Source: AG47ELu9IP3Na2cESfg0ZdW/Xy32zc7LvU/r1HmQs3m8tjqdNPbvCd85qqqlJkdcdXVL6qTrR3Nk0w== X-Received: by 10.80.195.137 with SMTP id h9mr28591119edf.232.1520431743614; Wed, 07 Mar 2018 06:09:03 -0800 (PST) Original-Received: from [192.168.0.174] ([212.50.99.193]) by smtp.googlemail.com with ESMTPSA id p20sm13187803eda.11.2018.03.07.06.09.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Mar 2018 06:09:02 -0800 (PST) In-Reply-To: <87fu5cstjx.fsf@mail.linkov.net> Content-Language: en-US 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: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:143978 Archived-At: On 3/7/18 12:25 AM, Juri Linkov wrote: > I created such complex solution to work around the peculiarities of xref: > navigating with next-error displays every new opened buffer in another window, > thus eventually obscuring the *xref* buffer itself. That's odd. I remember having such problems before, but not since Joao's efforts landed in 2a973edeacefcabb9fd8024188b7e167f0f9a9b6. > Could you change xref > to use the same logic as is used in compilation/grep that shows all next-error > places in the same window adjacent to the initial window with the list of > compilation errors or grep hits that are always visible on the screen. More generally, if such behavior is desirable by all next-error-function setups, shouldn't next-error somehow enforce it? Or provide helpers, at least. Anyway, it works fine for me in xref already. Do you have a repro scenario in Emacs master?