From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.devel Subject: Re: master fbc9c59: Make goto-line-history buffer local only when so customized Date: Fri, 26 Feb 2021 12:19:14 +0000 Message-ID: <87wnuv3ttp.fsf@tcd.ie> References: <20210217212130.32410.14813@vcs0.savannah.gnu.org> <20210217212132.0B17F20DFB@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12064"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 26 13:21:58 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lFc85-00031s-PQ for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Feb 2021 13:21:57 +0100 Original-Received: from localhost ([::1]:50002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFc84-0006bz-Rz for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Feb 2021 07:21:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFc5Z-00055d-7Y for emacs-devel@gnu.org; Fri, 26 Feb 2021 07:19:21 -0500 Original-Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:34581) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lFc5X-0005qA-AM for emacs-devel@gnu.org; Fri, 26 Feb 2021 07:19:20 -0500 Original-Received: by mail-wr1-x432.google.com with SMTP id n4so8399056wrx.1 for ; Fri, 26 Feb 2021 04:19:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=TNfUgu+68KcFEOBBtEdKenuSl3GSsTtyd9bLAZ4F/74=; b=UCAGzDaoErcUedRvAcDVI8V9KUUoOgFjcXLO32AVSAuG9lCC9an2lyo+GmO+WNB97j 6hNpafuNj6zfvSRK/6daiZJewna+tTbUTN4oUKw5L0/EKf9wGRR0UYRGbuawAVf89nPj QYXM+2/le2RT3rdu2rAumEzXoLScX0bZ2h/PFAfQ1Itxt1yUKrTwF1a3HdOLmAwyX2p6 OWG8CTOVK0qmJVOVix4lfb+j+rz0XD1qNbiQ8Ykxxx5cH21YIieGdQvDzJEBn+IedFLv 9plTAOfZHlo8r6A0Qukp6o/iU5eTmY3yJYWFWbV9UQEnqWd0QCYOCeqMqLtNXkp4XY+0 g9jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=TNfUgu+68KcFEOBBtEdKenuSl3GSsTtyd9bLAZ4F/74=; b=W2n2jTcdligzdHFpc8fWJ3puArBuMDPKiXguUuqqYLk+sYTwXqLmydU6xZ/QkLmkFO Rf3GNGkVTQ3GRQDcCRik8WBslckufG9KAUGklqZmXA4ooQptdMSWJX7cDgo74+2ug0sj 1tli/TLfIaQRc2+nsLT5MgDIRJA3ZQqU80G0jiA5mR5CEexOCnLMTWSg5StIfS1rnTOs I8nPmNvt8uVPjMP0ePfeQk4z9A8OKJB6cuLdG8O9HMNTw/F0TQ2n8a8FFoDn1nPOyKtA z+OlCB4xPlLJeSHBkiV66507zJMICGAz66DxcnpZkVOZKDL6DfC5JX5tw5vWMMxaXKoS +EpQ== X-Gm-Message-State: AOAM531CKyJHF8fQ4HFvYCAibgZpHH0yIbRERQ11HFv2KveRDiGbv/TU i9CzRuEzusfjS4GHYdYU1+HwBQ== X-Google-Smtp-Source: ABdhPJyQGYhcJ003wuJZ09yUUU6ZYdXeZa2cI1Q1eHyIzqc2LR2jrpRSCN1m0JGroUAie3RGd+ts6g== X-Received: by 2002:adf:fdd2:: with SMTP id i18mr3082330wrs.382.1614341956388; Fri, 26 Feb 2021 04:19:16 -0800 (PST) Original-Received: from localhost ([2a02:8084:20e2:c380:6d2d:c2fa:f3fa:cabd]) by smtp.gmail.com with ESMTPSA id o14sm11980588wri.48.2021.02.26.04.19.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Feb 2021 04:19:15 -0800 (PST) In-Reply-To: <20210217212132.0B17F20DFB@vcs0.savannah.gnu.org> (Alan Mackenzie's message of "Wed, 17 Feb 2021 16:21:31 -0500 (EST)") Received-SPF: none client-ip=2a00:1450:4864:20::432; envelope-from=contovob@tcd.ie; helo=mail-wr1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:265679 Archived-At: acm@muc.de (Alan Mackenzie) writes: > branch: master > commit fbc9c59b9eb02d49f426341ee32334784d224ce4 > Author: Alan Mackenzie > Commit: Alan Mackenzie > > Make goto-line-history buffer local only when so customized > > * lisp/simple.el (goto-line-history-local): New customizable option. > (goto-line-history): Define this simply with defvar, not defvar-local. > (goto-line-read-args): Handle goto-line-history-local, and changes to it. > > * doc/emacs/basic.texi (Moving Point): Add a paragraph about > goto-line-history-local. > > * etc/NEWS: Add an item under "Editing Changes in Emacs 28.1". [...] > diff --git a/etc/NEWS b/etc/NEWS > index b96bcd9..7665d47 100644 > --- a/etc/NEWS > +++ b/etc/NEWS > @@ -345,6 +345,11 @@ trying to be non-destructive. > This command opens a new buffer called "*Memory Report*" and gives a > summary of where Emacs is using memory currently. > > ++++ > +** The history list for the 'goto-line' command is now a single list > +for all buffers by default. You can configure a separate list for > +each buffer by customizing the user option 'goto-line-history-local'. I think this contradicts a preceding entry: ** Input history for 'goto-line' is now local to every buffer. Each buffer will keep a separate history of line numbers used with 'goto-line'. This should help making faster the process of finding line numbers that were previously jumped to. Thanks, -- Basil