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#28864: 25.3.50; next-error-no-select does select Date: Sun, 29 Oct 2017 01:46:48 +0300 Message-ID: <87778f88-a6e6-06d5-f5ad-8a46d73144cc@yandex.ru> References: <87bml72qck.fsf@gmail.com> <4045abe7-1acb-314b-b9ac-72b62db30570@yandex.ru> <87sheh270d.fsf@gmail.com> <6f3b7c2c-31af-8eb2-8f13-a9ba17d3d8e6@yandex.ru> <87mv4m5lok.fsf@gmail.com> <87d15h5f97.fsf@gmail.com> <874lqreyj5.fsf@localhost> <7f67cb1c-062f-44fa-ba8e-9ac0cab220a3@yandex.ru> <87po9del14.fsf@localhost> <5c524170-7ba7-8279-41b5-b4286c2980f0@yandex.ru> <87tvyomh37.fsf@localhost> <7821c28e-3bf5-0bab-46ab-23f3a02566a8@yandex.ru> <87po97vuoh.fsf@localhost> 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 1509230847 8402 195.159.176.226 (28 Oct 2017 22:47:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 28 Oct 2017 22:47:27 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Thunderbird/56.0 Cc: 28864@debbugs.gnu.org, Noam Postavsky , Tino Calancha To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 29 00:47:22 2017 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 1e8Zsj-0008Dx-Ub for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Oct 2017 00:47:10 +0200 Original-Received: from localhost ([::1]:34216 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8Zsl-0002oi-4H for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Oct 2017 18:47:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8Zsf-0002oR-5H for bug-gnu-emacs@gnu.org; Sat, 28 Oct 2017 18:47:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e8Zsc-0003zF-2Q for bug-gnu-emacs@gnu.org; Sat, 28 Oct 2017 18:47:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59116) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e8Zsb-0003z5-T3 for bug-gnu-emacs@gnu.org; Sat, 28 Oct 2017 18:47:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e8Zsb-0001Ae-Lf for bug-gnu-emacs@gnu.org; Sat, 28 Oct 2017 18:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Oct 2017 22:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28864 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28864-submit@debbugs.gnu.org id=B28864.15092308204492 (code B ref 28864); Sat, 28 Oct 2017 22:47:01 +0000 Original-Received: (at 28864) by debbugs.gnu.org; 28 Oct 2017 22:47:00 +0000 Original-Received: from localhost ([127.0.0.1]:39564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8ZsY-0001AN-L7 for submit@debbugs.gnu.org; Sat, 28 Oct 2017 18:47:00 -0400 Original-Received: from mail-wm0-f51.google.com ([74.125.82.51]:46149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8ZsW-0001A8-Nb for 28864@debbugs.gnu.org; Sat, 28 Oct 2017 18:46:57 -0400 Original-Received: by mail-wm0-f51.google.com with SMTP id m72so9144879wmc.1 for <28864@debbugs.gnu.org>; Sat, 28 Oct 2017 15:46:56 -0700 (PDT) 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=bdrDyvADeuM6hmztHcMT4FujaNO8u9AOOkJErmFPYSA=; b=kNuf/iCHPk+xfSvtlHECdrgWnzt5WTTl3npWlapt50ZdEAZliElJ+szYelw9ato8u0 qUgFcKgwPGc9kzyQtwJJpmpJ5ify9rI2I6QqE/CofBTXBdY8z0utahnWwDT8lVB8F83o OMBZ23ty/y5fYUvITnGjgRx+DsWrT9EHtFStOJDsUoxRvI2uQMhI8xfwWHmYD6RFZDg8 TEi5NSk7sVLgHX67twiUoxCmxX09fAk2sX9ygISyB/PQsV+o5p9brvlUlGJ/m/siYs9N 6LfsSy/Cd3YYk+F3ulrhakyWeHJN840A1IAG6NrUcFXVHotdnsHjDoI4lvMvoxdhyg9W iCSg== 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=bdrDyvADeuM6hmztHcMT4FujaNO8u9AOOkJErmFPYSA=; b=Z5MnTuC8HJz1oNEX0BRk/lgM3F+VNu+O7wImaL8vGgCDJNZtF+Tn1HFt0WQOMD/rfF oUgznyuKTCpkbHdzNPn75Vlj5zYahlHd9yx8oLtwf+Rojzpzx37zJknJH5POzp8E/k1l 87WmWpdXM7oLBh6KjVu9//8vPqWzH+F0GUah0ornlUQtDvFIRGaGTjs0vVbg/0RK0lys io56BwpyObi/g91cEgsEtZmB9Sz3P0XiJwhywqRQ3G3oJLzbLYs6HOIvSGm4XAQQ2B1r AVZ1jAUMuPQw6VIyECNapxh06zNyIPGhHOw0lx94wXK0x7J+3B9KDfPzLdlxtP9k4Mi6 Wf9g== X-Gm-Message-State: AMCzsaUkVEm5pKKtIGzjLoEe1n79q2FGx2GA8uv1x5BnEiwsrP4kUr2w f0o6HaePP/C+X3PKXUkBgQo= X-Google-Smtp-Source: ABhQp+Q1Xs1Q+VSCpyhBC2UbPhmZ5+9xq0EXu0BIcTK5JfqgRIJlSDCLfShMJBqB0reYTEeNKJr1nw== X-Received: by 10.28.112.22 with SMTP id l22mr253106wmc.35.1509230810952; Sat, 28 Oct 2017 15:46:50 -0700 (PDT) Original-Received: from [192.168.1.3] ([185.105.174.193]) by smtp.googlemail.com with ESMTPSA id f19sm439700wmf.4.2017.10.28.15.46.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Oct 2017 15:46:50 -0700 (PDT) In-Reply-To: <87po97vuoh.fsf@localhost> 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:139135 Archived-At: On 10/29/17 12:07 AM, Juri Linkov wrote: > I believe this patch is a change for the better: Could you resend it as unified diff? Or push to a branch. diff-context->unified doesn't seem to work on the patch you sent. Thanks! > 1. makes next-error-function buffer-local Interesting. > 2. sets both buffer-local and global values Why? If next-error-find-buffer-function can find the appropriate buffer, it can use the local value in it. > 3. adds customizable next-error-find-buffer-function > > 4. moves window-on-frame-visibility code to separate function > that can be used to customize for backward-compatibility Do we get a built-in alternative to this value? If we just provide a customization point, that nice, but not a significant improvement. > 5. adds next-error-select-buffer to manually switch to another > next-error capable buffer Not having tried the patch yet... Will the user have to do that after semi-accidentally opening a changelog-mode buffer, in order not to switch to its error list? > 6. message to show which next-error buffer is currently used Every time we call `next-error'?