emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

goto-line-history should not be buffer local.


From: Alan Mackenzie
Subject: goto-line-history should not be buffer local.
Date: Sun, 14 Feb 2021 19:18:58 +0000

Hello, Emacs.

Why is goto-line-history buffer local?  This seems to me to be a step
backwards, for precisely the reason that making search history buffer
local would be a bad thing.  This was a recent change, at the end of
January.

In my personal use, I sometimes type M-g M-g in the wrong buffer, which
disrupts my flow of thought in that buffer.  That's unavoidable.  But
now I have the additional inconvenience of having to type in that line
number in full a second time, having gone to the proper buffer.  That's
not good.

Also I frequently want to go to the same line repeatedly in the same
file.  I mean here file, not buffer.  I kill the buffer and reload from
"disk" to ensure that caches are cleared, and suchlike, during testing.
Here, again, I've got to remember that line number and type it in again
in full.  That's not good either.

Indeed, I'm not sure whether having a buffer local history is better
than having no history at all.  Who wants to go to the same line
repeatedly in the same buffer?  OK, others may do, but I don't see the
compelling need.

So, could we have this history variable made global again, please?

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]