From: Alan Mackenzie <acm@muc.de>
To: Rolf Ade <rolf@pointsman.de>
Cc: emacs-devel@gnu.org
Subject: Re: goto-line-history should not be buffer local.
Date: Thu, 18 Feb 2021 10:43:02 +0000 [thread overview]
Message-ID: <YC5EtpjSJM2vtAmJ@ACM> (raw)
In-Reply-To: <87wnv6cjan.fsf@pointsman.de>
Hello, Rolf.
On Thu, Feb 18, 2021 at 01:26:56 +0100, Rolf Ade wrote:
> Matt Armstrong <matt@rfc20.org> writes:
> > Who are the people who would set the option back to buffer local
> > history?
> I will do. (Would prefer it's the default.)
> What meaning have a certain line number from one buffer in another
> buffer?
When, for example, you accidentally run goto-line in the wrong buffer.
When you switch to the buffer you wanted, you don't want to have to type
in the whole line number again.
When you have several versions of the same file, which happens in SW
development, you may want to goto-line to the same position in a
different version, in a different buffer.
A third case, which is what got on my nerves last weekend, is when you
are repeatedly killing a buffer and loading the same file again, so as
to clear caches, and so on. You want to go to the same place at each
new loading, so as to do testing.
I'm curious as to why somebody would want buffer local goto-line
history. How often does one repeat the same goto-line in the same
buffer, and how does a buffer local history help?
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2021-02-18 10:43 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YC5EtpjSJM2vtAmJ@ACM \
--to=acm@muc.de \
--cc=emacs-devel@gnu.org \
--cc=rolf@pointsman.de \
/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 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.