<<< Date Index >>>     <<< Thread Index >>>

Re: Can one 'filter' a message being viewed?



On Thu, Oct 12, 2006 at 01:00:47AM -0400, Dave Dodge wrote:
> On Wed, Oct 11, 2006 at 06:49:40PM -0700, Gary Johnson wrote:
> > If you mean so that you can filter the index display, then no, there 
> > is not a way to do that.
> 
> I actually did something like that just recently.  I dump a lot of
> mailing lists into the same folder and wanted messages labeled by
> which list they came from.  For example I wanted "[mutt-users]" to be
> displayed in the subject lines for messages from this list.  My
> solution was to embed a Lua interpreter into mutt, and have mutt's
> index display call a Lua function to filter each subject string.
> 
> The current patch is very rough and was done mainly as a thought
> experiment.  If I get a chance at some point I'll do a better version
> and send it to mutt-dev.
> 
Hi, i'm just a bit curious why you put all mails in one folder?

For me procmail filters my incoming mails and puts them in the right
place (folder).

Kind regards, Paul

Attachment: signature.asc
Description: Digital signature