bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#59381: Should xref--marker-ring be per-window?


From: Juri Linkov
Subject: bug#59381: Should xref--marker-ring be per-window?
Date: Sat, 19 Nov 2022 20:53:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

> While using xref (xref-find-definitions and xref-find-references, etc)
> in separate windows, I hit M-, to pop the marker stack expecting that
> each window should have a separate stack.
>
> However, it seems that the entire emacs instance shares a single
> xref--marker ring.
>
> Could we have separate xref--marker-rings per window, or some
> configuration option to enable that?

Ideally, making an existing variable window-local should be as easy
as making it buffer-local, e.g.:

  (make-variable-buffer-local 'xref--history)
  ->
  (make-variable-window-local 'xref--history)

But we are not here so far.





reply via email to

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