[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Use of wl-summary-auto-sync-marks
- To: wl-en <wl-en@lists.airs.net>
- Subject: Use of wl-summary-auto-sync-marks
- From: Erik Hetzner <egh@e6h.org>
- Date: Tue, 10 May 2011 23:05:30 -0700
- Delivered-to: wl-en@lists.airs.net
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:message-id:from:to:subject :user-agent:reply-to:mime-version:content-type; bh=5w0YSa3tu3sOGTOMTWzGbu2FmiJbOqeBlewt8NJ6y7k=; b=mNTvv4AhkI7DF/olTsi1W0LyHn4lUs4FFSLNbJ3resfK4CsAzpifn28gFXRE8e9Amv 0YsmGyRzhdDMSM1HAA/jO8H2+owUhOsoVxmldpUKe6lqk7HuX4ix8fQHjos4huG/7g9z /478iOsqiP6tmLXTjXvTlJr28ElQ1qSiLy4YE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:message-id:from:to:subject:user-agent:reply-to :mime-version:content-type; b=fJTGOcKuF4qQ3/bTtGZEEWbqs43WTK1E/43rrVi8CY7egxqfPFlMIQ91pSKfHgsfT6 qZhLybFL9HAO6/99R4HbmR0KEmNOeOJwpWh/pSDfdgPPMD8FiK+sJL3nlI7uij41BaXo /YP/Ukgs7HTQ8SWHRy4A9p064SMpNnCLVggak=
- List-help: <mailto:wl-en-ctl@lists.airs.net?body=help>
- List-id: wl-en.lists.airs.net
- List-owner: <mailto:wl-en-admin@lists.airs.net>
- List-post: <mailto:wl-en@lists.airs.net>
- List-software: fml [fml stable 20011102.2100]
- List-unsubscribe: <mailto:wl-en-ctl@lists.airs.net?body=unsubscribe>
- Reply-to: Erik Hetzner <egh@e6h.org>
- User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)
Hi,
The setting of the variable wl-summary-auto-sync-marks seems to have a
significant impact on the speed of loading folders. For instance, it
just took WL about 20 seconds to “synchronize marks” while loading a
virtual folder with about 600 messages. All the other functions of
loading the folder took significantly less time.
However, I seem to recall having bad results when I set
wl-summary-auto-sync-marks to nil. I think I recall flags being
lost. (I use WL on both a desktop and a laptop, so I need marks synced
to IMAP).
So, I had the idea of making it possible to allow the variable to be
nil, t, or an alist. Here is the implementation in
wl-summary-sync-update:
(defun wl-summary-sync-update (&optional unset-cursor
disable-killed
sync-all
no-check)
[...]
;; synchronize marks.
(if (and crossed (if (listp wl-summary-auto-sync-marks)
(wl-get-assoc-list-value wl-summary-auto-sync-marks
(elmo-folder-name-internal folder))
wl-summary-auto-sync-marks))
(wl-summary-sync-marks))
[...]
And here is a setting which disables mark syncing on filter
and search folders:
(setq wl-summary-auto-sync-marks
'(("^/" . nil)
("^\\[" . nil)
("^" . t)))
Does anybody have any thoughts? I am not too certain about what
syncing marks does, or rather when it is necessary, so comments are
appreciated.
best, Erik
Sent from my free software system <http://fsf.org/>.