[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] org-contacts: Update contacts cache if it contains marke
From: |
Øyvind Stegard |
Subject: |
Re: [O] [PATCH] org-contacts: Update contacts cache if it contains markers with no buffer |
Date: |
Sat, 20 Jul 2013 17:33:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Daimrod <address@hidden> writes:
[...]
> You're right, good catch!
>
> I've installed the patch and haven't felt any slowdown, but I've a small
> contacts file. If people complain about slowdown we could add a buffer
> local hook to ask before killing contacts files.
If speed turns out to be an issue, then simply caching references to the
contact buffers and validating those references with `buffer-live-p'
should be quicker and just as reliable.
(Checking markers was just a quick solution on my part that did not
require changes to any data structures.)
Øyvind
--
< Øyvind Stegard
< http://stegard.net/