From: Alan Mackenzie <acm@muc.de>
To: "Basil L. Contovounesios" <contovob@tcd.ie>
Cc: emacs-devel@gnu.org
Subject: Re: master fbc9c59: Make goto-line-history buffer local only when so customized
Date: Fri, 26 Feb 2021 13:36:02 +0000 [thread overview]
Message-ID: <YDj5QkgXuQaG11CZ@ACM> (raw)
In-Reply-To: <875z2f3r8p.fsf@tcd.ie>
Hello, Basil.
On Fri, Feb 26, 2021 at 13:15:02 +0000, Basil L. Contovounesios wrote:
> Alan Mackenzie <acm@muc.de> writes:
> >> > ++++
> >> > +** 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?
> I think so. My point is that the older entry says goto-line has
> buffer-local history by default, whereas the newer entry says goto-line
> does not have buffer-local history by default.
Yes, I had misunderstood, sorry. I was under the mistaken impression
that the previous change to the input history was in Emacs 27. So, yes,
you're correct, the two entries in NEWS do contradict eachother, and
need merging into a single entry.
I don't have time to do this today, I'll try and do it over the weekend.
[ .... ]
> The latter change reverts some parts of the former, and makes the
> behaviour customisable, but the older NEWS entry was not updated to
> reflect this. I was hoping you would merge the two NEWS entries or
> simply delete the older one, since it no longer accurately represents
> the default, and is duplicated by the newer entry.
> This part of (info "(elisp) Minibuffer History") also needs updating:
> -- Variable: goto-line-history
> A history list for arguments to ‘goto-line’. This variable is
> buffer local.
Hmm. OK. But what's this variable doing in the elisp manual, as
opposed to the emacs manual? It's purely a user convenience.
> Thanks,
> --
> Basil
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2021-02-26 13:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210217212130.32410.14813@vcs0.savannah.gnu.org>
[not found] ` <20210217212132.0B17F20DFB@vcs0.savannah.gnu.org>
2021-02-26 12:19 ` master fbc9c59: Make goto-line-history buffer local only when so customized Basil L. Contovounesios
2021-02-26 13:01 ` Alan Mackenzie
2021-02-26 13:15 ` Basil L. Contovounesios
2021-02-26 13:36 ` Alan Mackenzie [this message]
2021-02-27 14:27 ` Basil L. Contovounesios
2021-02-28 21:33 ` Alan Mackenzie
2021-02-28 21:53 ` Basil L. Contovounesios
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YDj5QkgXuQaG11CZ@ACM \
--to=acm@muc.de \
--cc=contovob@tcd.ie \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).