Re: [Evolution] Need help with Advanced search expressions
- From: Not Zed <notzed ximian com>
- To: Per Nystrom <pnystrom netmagic net>
- Cc: dsf <evolution lists ximian com>
- Subject: Re: [Evolution] Need help with Advanced search expressions
- Date: Wed, 24 Nov 2004 08:52:48 +0800
You need to do a header regex match. header-contains only searches on a few specific headers, and that isn't one of them.
On Tue, 2004-11-23 at 16:46 -0800, Per Nystrom wrote:
Hi,
I'd like to set up a virtual folder that will show the calendar requests I've received in mail. Specifically, I'd like to search for this line in the message header, since it seems to indicate that the mail contains a calendar request:
Content-class: urn:content-classes:calendarmessage
I've looked at ${prefix}/share/evolution/1.4/vfoldertypes.xml and learned enough to put together this _expression_ (and other variations):
(match-all (header-contains "Content-class" "calendarmessage"))
Unfortunately, it doesn't find anything. I'm guessing it's because it's part of the MIME attachment description, and so evolution doesn't consider that line as part of the header... So my immediate question is how do I do the search, but more generally -- can I consider vfoldertypes.xml a complete reference for all the parts in a message that evolution knows how to search? If not, where else would be a good place to look?
Any help is greatly appreciated!!
Thanks,
Per
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]