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: Tue, 27 Feb 2018 03:21:22 +0200 Message-ID: <23fd061a-9b83-742a-6083-6d2f090b8f22@yandex.ru> References: <86wq0q602w.fsf@yandex.ru> <877ev36pmr.fsf@mail.linkov.net> <87sha1nbjy.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: 8bit X-Trace: blaine.gmane.org 1519694411 3366 195.159.176.226 (27 Feb 2018 01:20:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 27 Feb 2018 01:20:11 +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 Tue Feb 27 02:20:07 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 1eqTw6-0000Kk-UJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Feb 2018 02:20:07 +0100 Original-Received: from localhost ([::1]:34189 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqTy9-0002BJ-AA for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Feb 2018 20:22:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqTy3-00029V-6B for bug-gnu-emacs@gnu.org; Mon, 26 Feb 2018 20:22:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eqTxy-0003qL-7n for bug-gnu-emacs@gnu.org; Mon, 26 Feb 2018 20:22:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54486) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eqTxy-0003qA-2y for bug-gnu-emacs@gnu.org; Mon, 26 Feb 2018 20:22:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eqTxx-00064A-SU for bug-gnu-emacs@gnu.org; Mon, 26 Feb 2018 20:22: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: Tue, 27 Feb 2018 01:22: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.151969449423284 (code B ref 20489); Tue, 27 Feb 2018 01:22:01 +0000 Original-Received: (at 20489) by debbugs.gnu.org; 27 Feb 2018 01:21:34 +0000 Original-Received: from localhost ([127.0.0.1]:34150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eqTxW-00063U-Dk for submit@debbugs.gnu.org; Mon, 26 Feb 2018 20:21:34 -0500 Original-Received: from mail-wr0-f171.google.com ([209.85.128.171]:43975) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eqTxU-00063G-Pn for 20489@debbugs.gnu.org; Mon, 26 Feb 2018 20:21:33 -0500 Original-Received: by mail-wr0-f171.google.com with SMTP id u49so23129125wrc.10 for <20489@debbugs.gnu.org>; Mon, 26 Feb 2018 17:21:32 -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=UQNFWcRgW8Pp8F0y3L4g+jOo/FJNt5pmUvxEmw18ods=; b=TV8E+RaVeAli2lxnIK6FuK/glPceqTUfEHhyKqZ8TaqrbOIh3yHG5kkRBNsf+D6izO 6EZ58fsT0zY7ZNrTvJehv0pLJ5V+GYd/DvYpD6EPRu8VMK5ALy0G8P00sGjgDtKxeo5W y0Zv7QjVTSCq3Q14P7gYNflCDWuAScWVBvEq+qyd69CrbzKZl0dFTA1r5A6bYvkr8iem 2r0XCPr9J7FywRgFe0JX88e9x70nlTzQ3ItInDszEipVUSTOfukESexv0N9T1Kz1Lrul SA1hlsz/+1lWWIC7Q0LvbwJcgdvVMZwjl3+XdBJnixBd0W9g55WRlepWEyViM7MX22Ac Be4A== 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=UQNFWcRgW8Pp8F0y3L4g+jOo/FJNt5pmUvxEmw18ods=; b=ooXnNOeyARCSJnIqmLo1y9qrAxzeAlCuyfLv9h5C2kuGRKCWC118UjlaZfdl+9rq8Z qjePG3iV7w58K/vyVldHZUiTMJhvA188Ig5DcZ7XJnUqs9VdTi0vtOB3YLpOhGuWg3CS XMPWHfRU1cK/XEMxvO/I4L2ws072T/GAuJsf0VjdFhaAyojDdal8xwVX772NXhrGbXOM e0uOusTIdcCC9HPhmXamzH3LEraTDJnfWa5Efzbg9duXC2ZF2ozFFaGcRZEhF7vC+jVv NEXCPrHJCbsREhklvMhKhdOchgBs1AxlGFMi/7GaaSOBBKnIexXxjcDnCI1UVyoO/T/N kiBg== X-Gm-Message-State: APf1xPBQO3jqV1hjWBB32+b5+bt6adh9fjV3yjx3QGIIbqM+ebFk4AG4 8L+OxLfNklaHk2uoUhVXormslQWg X-Google-Smtp-Source: AH8x227tMRfZvLhnzrw9iPWvoCeNuUAkFhb4ZMiItgA+Yl8J/Z9uiaRSzncNb03ytKLFoPQPItohJw== X-Received: by 10.223.151.204 with SMTP id t12mr11883568wrb.156.1519694486358; Mon, 26 Feb 2018 17:21:26 -0800 (PST) Original-Received: from [192.168.1.3] ([185.105.174.23]) by smtp.googlemail.com with ESMTPSA id v63sm32208937wrc.69.2018.02.26.17.21.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Feb 2018 17:21:23 -0800 (PST) In-Reply-To: <87sha1nbjy.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:143688 Archived-At: Hi Juri, I'm sorry for the late reply. On 2/16/18 12:16 AM, Juri Linkov wrote: > Dmitry, could you please confirm that this patch works with the current code > in xref--next-error-function? If yes, I propose to push it to master. It doesn't seem to help, unfortunately, in the case of xref buffers. Take this example: - emacs -Q - Navigate to the Emacs source directory, if not already there - M-x project-find-regexp RET Bazaar RET - See the buffer that popped up, and the value of next-error-last-buffer is *xref*. But it's only set locally (the global value is nil). - Type 'M-x next-error'. That pops up the ChangeLog.1 buffer. - next-error-last-buffer is *xref* in the *xref* buffer, and ChangeLog.1 in the ChangeLog.1 buffer. - Type 'M-x next-error' again, and see the error: change-log-goto-source: Cannot find tag or file near ‘point’ Whereas we should still have been using the navigation from *xreF*. Further, I'm not sure I like bug#20489 being closed with this patch only. Even if it worked 100%, it doesn't address everything that came up in that discussion. Bug#28864 being closed is fine, and indeed that scenario has been addressed. > PS: When I typed the closing paren ‘)’ in the last sentence in ‘message-mode’, > it blinked on the letter ‘b’. Do you know the reason of this weird behavior? Sorry, never seen this, and can't reproduce. I haven't been using Emacs for email lately, though.