2012年6月30日

Re: Instant IMAP folder opening, and cache format

At Fri, 29 Jun 2012 23:57:23 +0100,
Francesco Mazzoli wrote:
> This made things a lot better already. I'd still like it a lot more if
> it didn't connect via IMAP each time I open a folder.
>
> I took a look at `wl-folder-jump-to-current-entity', which seems to be
> the function that "opens" the summary from the folder view, and it
> looks like it shouldn't connect if `arg' is not provided, but that

> does not seem to be the case - but my ELisp is weak and I looked at it
> briefly.

In the end, I've solved this in a fairly brutal way, which works
beautifully:

(define-key wl-folder-mode-map " "
(lambda (&optional arg)
(interactive "P")
(let ((was-plugged wl-plugged))
(when was-plugged (wl-toggle-plugged 'off))
(wl-folder-jump-to-current-entity arg)
(when was-plugged (wl-toggle-plugged 'on)))))

I'm still looking for a cleaner solution, but this is a good temporary
fix.

--
Francesco * Often in error, never in doubt


投稿者 xml-rpc : 2012年6月30日 21:22
役に立ちました?:
過去のフィードバック 平均:(0) 総合:(0) 投票回数:(0)
本記事へのTrackback: http://hoop.euqset.org/blog/mt-tb2006.cgi/110374
トラックバック
コメント
コメントする




画像の中に見える文字を入力してください。