[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xref and leaving "temporary" buffers open
From: |
Stephen Leake |
Subject: |
Re: xref and leaving "temporary" buffers open |
Date: |
Sun, 26 Jul 2015 14:00:57 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) |
Dmitry Gutov <address@hidden> writes:
> On 07/25/2015 06:53 PM, martin rudalics wrote:
>
>> All file visiting functions must be aware of it and take it out. As far
>> as implementation is concerned we have the usual two choices: Pass an
>> extra argument (clean but costly) or bind some variable around the calls
>> that visit the file in the background which is probably the way to go.
>
> How about this:
>
> (defvar-local buffer-hidden nil
> "When non-nil, this buffer is not returned by `buffer-list',
> unless passed a non-nil INCLUDE-HIDDEN argument.")
That means you have to use set-buffer to check for the buffer-local
variable.
Can't we set a property list on the buffer itself? That would be more
efficient to search on.
--
-- Stephe
- Re: xref and leaving "temporary" buffers open, (continued)
- Re: xref and leaving "temporary" buffers open, Dmitry Gutov, 2015/07/28
- Re: xref and leaving "temporary" buffers open, martin rudalics, 2015/07/28
- Re: xref and leaving "temporary" buffers open, Dmitry Gutov, 2015/07/28
- Re: xref and leaving "temporary" buffers open, martin rudalics, 2015/07/28
- Re: xref and leaving "temporary" buffers open, Dmitry Gutov, 2015/07/28
- Re: xref and leaving "temporary" buffers open, martin rudalics, 2015/07/28
- Re: xref and leaving "temporary" buffers open, Dmitry Gutov, 2015/07/28
- Re: xref and leaving "temporary" buffers open, Stefan Monnier, 2015/07/28
- Re: xref and leaving "temporary" buffers open, Dmitry Gutov, 2015/07/28
- Re: xref and leaving "temporary" buffers open, Stefan Monnier, 2015/07/30
- Re: xref and leaving "temporary" buffers open,
Stephen Leake <=
- Re: xref and leaving "temporary" buffers open, Dmitry Gutov, 2015/07/26
- Re: xref and leaving "temporary" buffers open, martin rudalics, 2015/07/27
- Re: xref and leaving "temporary" buffers open, Stephen Leake, 2015/07/27
Re: xref and leaving "temporary" buffers open, Stephen Leake, 2015/07/25