[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PING] Please explain: wl-summary-resend-use-cache



At Mon, 11 Jan 2010 15:14:25 -0800,
Erik Hetzner wrote:
> 
> I think I wasn’t clear. The behavior is as follows, as I understand it
> (value of wl-summary-resend-use-cache variable v. online status):
> 
> +---------+-------+-----------+
> |         | nil   | t         |
> +---------+-------+-----------+
> | offline | Error | Use cache |
> +---------+-------+-----------+
> | online  | Fetch | Fetch     |
> +---------+-------+-----------+
> 
> The only thing the variable does is allow using cache when in offline
> status.

Until I'm able to decipher the following elisp, I'll take your word
for it!

	;; Insert the message to be resent.
	(insert
	 ;; elmo-message-fetch is erase current buffer before fetch message
	 (elmo-message-fetch-string folder number
				    (if wl-summary-resend-use-cache
					(elmo-make-fetch-strategy
					 'entire 'maybe nil
					 (elmo-file-cache-get-path
					  (elmo-message-field
					   folder number 'message-id)))
				      (elmo-make-fetch-strategy 'entire))
				    'unread))

-- 
Dave Abrahams           Meet me at BoostCon: http://www.boostcon.com
BoostPro Computing
http://www.boostpro.com