[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Message buffer names
> Thanks. But after a few days' testing, I'm having second thoughts: it is
> inconvenient that the buffers of messages that you have closed and perhaps
> even deleted stay around. At the very least, commands like v
> (wl-summary-toggle-disp-msg) or q (wl-summary-exit) in the summary buffer
> and q (mime-preview-quit) in message buffers should also remove the message
> buffer from the buffer list. This was obviously no problem when the buffers
> were hidden; but now I end up with a large number of message buffers that I
> have already closed.
>
> Is there a simpler way to tackle this problem?
Please set wl-message-buffer-cache-size to less number, e.g. 1. It
would not be exactly what you want, but easily customizable. Or, you
can use some hooks . I think wl-message-exit-hook,
wl-summary-exit-pre-hook and wl-summary-exit-hook may help you.
--
Kazuhiro Ito