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

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

bug#44611: Prefix arg for xref-goto-xref


From: Juri Linkov
Subject: bug#44611: Prefix arg for xref-goto-xref
Date: Sat, 12 Dec 2020 22:39:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> +(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."

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





reply via email to

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