From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#20489: [Emacs-diffs] master d48e07a: * lisp/simple.el (next-error-find-buffer-function): New defcustom. Date: Sun, 25 Feb 2018 08:19:39 -0500 Message-ID: References: <20180221213025.27066.69339@vcs0.savannah.gnu.org> <20180221213027.372932052F@vcs0.savannah.gnu.org> <87r2pc7w60.fsf@mail.linkov.net> <87d10u5axg.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1519564689 16134 195.159.176.226 (25 Feb 2018 13:18:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Feb 2018 13:18:09 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 20489@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 25 14:18:05 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 1epwBo-0003ho-LC for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Feb 2018 14:18:04 +0100 Original-Received: from localhost ([::1]:54445 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epwDq-00030Y-Tv for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Feb 2018 08:20:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epwDl-00030K-Bu for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2018 08:20:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1epwDi-0006xM-3q for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2018 08:20:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51625) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1epwDi-0006wr-0S for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2018 08:20:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1epwDh-0007lH-K8 for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2018 08:20:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Feb 2018 13:20: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.151956478329802 (code B ref 20489); Sun, 25 Feb 2018 13:20:01 +0000 Original-Received: (at 20489) by debbugs.gnu.org; 25 Feb 2018 13:19:43 +0000 Original-Received: from localhost ([127.0.0.1]:59522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epwDP-0007ka-4q for submit@debbugs.gnu.org; Sun, 25 Feb 2018 08:19:43 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:50479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epwDN-0007kT-Lz for 20489@debbugs.gnu.org; Sun, 25 Feb 2018 08:19:42 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w1PDJdMJ006852; Sun, 25 Feb 2018 08:19:40 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 76F38605F6; Sun, 25 Feb 2018 08:19:39 -0500 (EST) In-Reply-To: <87d10u5axg.fsf@mail.linkov.net> (Juri Linkov's message of "Sat, 24 Feb 2018 23:34:35 +0200") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6229=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6229> : inlines <6431> : streams <1779998> : uri <2599100> 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:143656 Archived-At: > Ah, before arriving to the function without body I mistakenly tried #'identity > (that didn't work) whereas I actually intended to try #'ignore. Should we provide the K combinator? > But the question that I really don't understand is what to do with the > function next-error-buffer-on-selected-frame that now will have no > reference in code, no use by default. How the users are supposed to > know that it's possible to put add-function with this function in the > init file? Ah, so that's why you had a defcustom? Then maybe having it be a defcustom is a good idea. Stefan "to tell you the truth, I haven't bothered to look at the code to try to understand what these things are doing, so I have no opinion on whether it should be a defcustom or not, or if should be a function defcustom rather than, say, a boolean defcustom"