all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* goto-line-history should not be buffer local.
@ 2021-02-14 19:18 Alan Mackenzie
  2021-02-14 23:08 ` Óscar Fuentes
  0 siblings, 1 reply; 17+ messages in thread
From: Alan Mackenzie @ 2021-02-14 19:18 UTC (permalink / raw)
  To: emacs-devel

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).



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2021-02-18 11:38 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-14 19:18 goto-line-history should not be buffer local Alan Mackenzie
2021-02-14 23:08 ` Óscar Fuentes
2021-02-14 23:31   ` Richard Copley
2021-02-15  8:17     ` martin rudalics
2021-02-15 21:12       ` Alan Mackenzie
2021-02-16 11:46         ` Lars Ingebrigtsen
2021-02-16 17:13         ` Juri Linkov
2021-02-16 20:57           ` Alan Mackenzie
2021-02-16 22:52             ` Matt Armstrong
2021-02-16 22:56               ` Lars Ingebrigtsen
2021-02-18  0:26               ` Rolf Ade
2021-02-18 10:43                 ` Alan Mackenzie
2021-02-18 11:04                   ` Kévin Le Gouguec
2021-02-18 11:38                   ` Rolf Ade
2021-02-18 10:53                 ` Philip Kaludercic
2021-02-18 11:02                 ` Andreas Schwab
2021-02-16 22:56             ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.