Very Nice! This must mean that there is other attachment counting code somewhere.
What do you think about implementing something like ~M for $index_format? %M is already taken for something else.I'd really like these special emails to be quickly identifiable in the index. -Andrew On Sun, Jul 21, 2019 at 12:15:39PM -0700, Kevin J. McCarthy wrote: > On Sun, Jul 21, 2019 at 11:40:21AM -0700, Andrew Marks wrote: > >2. Another option is to implement a new limit, specific for finding > >emails which contain text/calendar, this could sort of be a duplicate of > >using attachments with ~X, but perhaps the attachment counting code > >could be isolated and re-used for some more specific limits to be added? > > You may want to try the ~M pattern. As you mention, ~X doesn't recurse > multipart/alternative but I'm not convinced it should. > > -- > Kevin J. McCarthy > GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA