From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#32607: 27.0.50; pop-to-buffer in next-error-no-select Date: Sun, 09 Sep 2018 02:28:23 +0300 Organization: LINKOV.NET Message-ID: <87in3f4lig.fsf@mail.linkov.net> References: <87a7p0alxv.fsf@mail.linkov.net> <5B8B8DCE.4070704@gmx.at> <87efebjzbd.fsf@mail.linkov.net> <5B8CE360.5030700@gmx.at> <877ek2tdqx.fsf@mail.linkov.net> <5B8E3998.3050907@gmx.at> <87o9ddc8yc.fsf@mail.linkov.net> <5B8F8A1B.3030807@gmx.at> <8736unzjit.fsf@mail.linkov.net> <5B90D17D.5080605@gmx.at> <87efe6iaws.fsf@mail.linkov.net> <83pnxpvn13.fsf@gnu.org> 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 1536452459 13976 195.159.176.226 (9 Sep 2018 00:20:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 9 Sep 2018 00:20:59 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 32607@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 09 02:20:54 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 1fynTC-0003ZF-JK for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Sep 2018 02:20:54 +0200 Original-Received: from localhost ([::1]:45568 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fynVJ-0002ZF-3Q for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Sep 2018 20:23:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fynSv-0008SL-DE for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2018 20:20:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fynEo-0003RU-RJ for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2018 20:06:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45680) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fynEo-0003QT-Mu for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2018 20:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fynEo-0005hw-CM for bug-gnu-emacs@gnu.org; Sat, 08 Sep 2018 20:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Sep 2018 00:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32607 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32607-submit@debbugs.gnu.org id=B32607.153645150221827 (code B ref 32607); Sun, 09 Sep 2018 00:06:02 +0000 Original-Received: (at 32607) by debbugs.gnu.org; 9 Sep 2018 00:05:02 +0000 Original-Received: from localhost ([127.0.0.1]:50692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fynDq-0005fu-3n for submit@debbugs.gnu.org; Sat, 08 Sep 2018 20:05:02 -0400 Original-Received: from pop.dreamhost.com ([64.90.62.162]:46894 helo=pdx1-sub0-mail-a34.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fynDo-0005fc-P5 for 32607@debbugs.gnu.org; Sat, 08 Sep 2018 20:05:01 -0400 Original-Received: from pdx1-sub0-mail-a34.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a34.g.dreamhost.com (Postfix) with ESMTP id D07197F3A0; Sat, 8 Sep 2018 17:04:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=linkov.net; bh=QPIkiY g2ZKJYUZJEGFfKCnOOlfE=; b=GZtRVRRcagudniWqGn02t75Leada6j1xm+vZ86 VLVDpY1t0OH+KWF/4wplbG0NcFUWdH/TxWsdy8+V1XDgKWWThq+AWUARfCZvg3LH psYbl5dvkylW1flisgMkNtzt1AmmtPx8KSFhqKiFvuI4QIMVI1mEI7eJRVLfYirN +ZvJ4= Original-Received: from localhost.linkov.net (m91-129-107-190.cust.tele2.ee [91.129.107.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a34.g.dreamhost.com (Postfix) with ESMTPSA id 585D57F39C; Sat, 8 Sep 2018 17:04:57 -0700 (PDT) In-Reply-To: <83pnxpvn13.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 07 Sep 2018 09:28:56 +0300") 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:150141 Archived-At: >> The special case is in next-error-no-select. Its purpose is to displa= y >> the next-error buffer (the buffer with the location of the next-error)= , >> not to display next-error-last-buffer (the buffer with the list of err= ors) >> because next-error-last-buffer is already displayed. The user runs >> next-error-no-select from the selected window that already displays >> next-error-last-buffer, there is no need to try and display the same >> buffer again. This behavior is not even documented. > > Can we please document all this? I don't see how could anyone glean > all that from the available documentation. > > And I think it's high time to have next-error facilities described in > all pertinent details in the ELisp manual. It is way too complex and > powerful not to be mentioned there even as a hint. Whereas I helped to develop the next-error framework, I'm not its author, so I don't know the purpose of some parts, for example, I had no idea why next-error-no-select was implemented this way. I see that next-error-no-select is called from compilation-display-error, but don't understand why in grep mode the =E2=80=98n=E2=80=99 key is boun= d directly to next-error-no-select, but not to compilation-display-error. Also I see a glaring question mark in the comments of grep-mode-map asking why "\r" is bound to compile-goto-error, and unfortunately I have no answer.