From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: master fbc9c59: Make goto-line-history buffer local only when so customized Date: Fri, 26 Feb 2021 13:01:46 +0000 Message-ID: References: <20210217212130.32410.14813@vcs0.savannah.gnu.org> <20210217212132.0B17F20DFB@vcs0.savannah.gnu.org> <87wnuv3ttp.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32189"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: "Basil L. Contovounesios" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 26 14:02:54 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 1lFcli-0008H1-FC for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Feb 2021 14:02:54 +0100 Original-Received: from localhost ([::1]:35166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFclh-00061T-Gl for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Feb 2021 08:02:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFckj-0005Bu-NN for emacs-devel@gnu.org; Fri, 26 Feb 2021 08:01:53 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:61500 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.90_1) (envelope-from ) id 1lFckh-0007gT-GV for emacs-devel@gnu.org; Fri, 26 Feb 2021 08:01:53 -0500 Original-Received: (qmail 91060 invoked by uid 3782); 26 Feb 2021 13:01:47 -0000 Original-Received: from acm.muc.de (p4fe15b25.dip0.t-ipconnect.de [79.225.91.37]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 26 Feb 2021 14:01:46 +0100 Original-Received: (qmail 8610 invoked by uid 1000); 26 Feb 2021 13:01:46 -0000 Content-Disposition: inline In-Reply-To: <87wnuv3ttp.fsf@tcd.ie> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.1; envelope-from=acm@muc.de; helo=mail.muc.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-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:265680 Archived-At: Hello, Basil. On Fri, Feb 26, 2021 at 12:19:14 +0000, Basil L. Contovounesios wrote: > 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. Well, I think "contradict" is not quite the right word. Whether the list is buffer local or not is now customisable, which it wasn't before. The default is somewhat arbitrary, as it always is in these things, with some people proclaiming a particular setting "obviously" should be the default, others saying the opposite is "obvious". That the list, before that previous patch, wasn't buffer local points to the current default. Or, have I misunderstood what you're saying? > Thanks, > -- > Basil -- Alan Mackenzie (Nuremberg, Germany).