emacs-devel
[Top][All Lists]
Advanced

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

Re: xref and leaving "temporary" buffers open


From: Dmitry Gutov
Subject: Re: xref and leaving "temporary" buffers open
Date: Sat, 25 Jul 2015 19:07:04 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0

On 07/25/2015 06:27 PM, Eli Zaretskii wrote:

Then perhaps there should be a command to kill all those buffers
created by xref for these purposes.

Suppose we tag them with a buffer-local variable.

What if the use switches to one of these buffers on their own accord, with find-file or switch-to-buffer? They might not be aware that that buffer was opened by xref, and would be surprised to see M-x xref-kill-temporary-buffers kill that buffer as well.

OTOH, look at the example of info.el's info-apropos: it doesn't keep
around the Info manuals it visits.  So this is also a reasonable
behavior we have elsewhere.

It keeps a cache of search results (and initiates full search for any input not in cached list). That's nice, but probably solves a different problem.

Again, if that can be identified, fine.  But if not, having several
optional behaviors is the Emacs'y way of not forcing users into
Procrustean situations.

Of course. But first we should try.




reply via email to

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