GNU bug report logs -
#44611
Prefix arg for xref-goto-xref
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Fri, 13 Nov 2020 08:33:01 UTC
Severity: normal
Tags: fixed
Fixed in version 28.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Juri Linkov <juri <at> linkov.net>
> Cc: dgutov <at> yandex.ru, 44611 <at> debbugs.gnu.org
> Date: Sat, 12 Dec 2020 22:39:17 +0200
>
> >> +(defun xref-pop-marker-stack (&optional kill)
> >> + "Pop back to where \\[xref-find-definitions] was last invoked.
> >> +With prefix argument KILL non-nil, kill the previous buffer instead of
> >> +burying it."
> >
> > What is "the previous buffer" in this context? The doc string leaves
> > that unexplained, and thus may confuse the reader.
>
> Maybe this is clearer: "kill the buffer that was current before popping back."
Is that the XREF buffer? Or is that the buffer where the definition
was shown?
> > (I don't object to such a feature, but I really don't understand the
> > urge to kill Emacs buffers just because they were needed temporarily.
> > Why is that important?)
>
> The problem is that such temporary file buffers are saved
> to the desktop file and dangling in the buffer list forever.
I don't understand why you call them "temporary": they are normal
buffers visiting files that belong to the program you are working on,
right? And if you care so much about what goes into your desktop
file, then you review the list of buffers each time before ending a
session, right?
Anyway, I don't want to argue about this.
This bug report was last modified 4 years and 31 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.