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: Stefan Monnier
Subject: Re: xref and leaving "temporary" buffers open
Date: Tue, 28 Jul 2015 19:48:47 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> It's hard to draw a line, but maybe we don't need to know the VC status of
> any hidden buffer, or enable any (?) of the minor modes in it. But the point
> is to speed up opening the buffers.

I can see something like this working:

- set a buffer-local variable "buffer-file-incomplete" to a function
  which performs the missing setup (e.g. set up VC status and stuff).
- ignore buffers with this var set to a non-nil value in things like
  buffer completion.
- kill those buffers every once in a while.

But I'm not sure the speed up will be ground breaking if we need to call
`syntax-propertize' anyway.


        Stefan



reply via email to

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