[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Speed up project-kill-buffers
From: |
Stephen Leake |
Subject: |
Re: [PATCH] Speed up project-kill-buffers |
Date: |
Sat, 08 May 2021 05:03:46 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (windows-nt) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> I didn't know about that function! Just tried it out and it seems that
>> the patch below is even faster, as project-current does not have to be
>> invoked for every buffer, remote or not.
>
> I think it might misbehave if you have projects nested in the directory
> of other projects, tho.
There are also projects that do not have a single root; an Emacs elisp
project (which has load-path as roots), any project with dependent
external libraries.
You can check (member file (project-files prj)), but that's about the
same as your first patch.
--
-- Stephe
- [PATCH] Speed up project-kill-buffers, Philip Kaludercic, 2021/05/03
- Re: [PATCH] Speed up project-kill-buffers, Stefan Monnier, 2021/05/03
- Re: [PATCH] Speed up project-kill-buffers, Dmitry Gutov, 2021/05/08
- Re: [PATCH] Speed up project-kill-buffers, Stephen Leake, 2021/05/16
- Re: [PATCH] Speed up project-kill-buffers, Dmitry Gutov, 2021/05/16
- Re: [PATCH] Speed up project-kill-buffers, Stephen Leake, 2021/05/19
- Re: [PATCH] Speed up project-kill-buffers, Stephen Leake, 2021/05/20
- Re: [PATCH] Speed up project-kill-buffers, Dmitry Gutov, 2021/05/24
- Re: [PATCH] Speed up project-kill-buffers, Stephen Leake, 2021/05/30