Re: Create tags from folders

2022-08-08 Thread Tomi Ollila
On Sun, Aug 07 2022, Notmuch mailinglist wrote: > Hello, > > I've managed to get mbsync, notmuch and neomutt all setup. But its now time > for fine tuning and tinkering. > My email is from Protonmail and I use sieve filters to organise my mail as > needed into folders. > Mbsync creates a folder

Re: matching both accented and non-accented character for non-accented characters?

2022-08-08 Thread David Bremner
Bence Ferdinandy writes: > Hi, > > I'm in the process of trying to set up reading email in the terminal and > just installed notmuch, which looks like a pretty awesome tool. I currently > have one question nagging me: > > I have a lot of mail in my native Hungarian, which properly written is

Re: matching both accented and non-accented character for non-accented characters?

2022-08-08 Thread David Bremner
Bence Ferdinandy writes: > Thanks! I didn't know unicode equivalence existed, but it seems to be the > feature I want, so at least now I have a name for it :) And yes, actually > setting the stemmer would also be cool, I saw that Xapian has a Hungarian > stemmer but I kind of assumed all

Re: matching both accented and non-accented character for non-accented characters?

2022-08-08 Thread Bence Ferdinandy
Thanks! I didn't know unicode equivalence existed, but it seems to be the feature I want, so at least now I have a name for it :) And yes, actually setting the stemmer would also be cool, I saw that Xapian has a Hungarian stemmer but I kind of assumed all stemmers are applied somehow (although it

[PATCH] WIP: provide relative lastmod sexp queries

2022-08-08 Thread David Bremner
--- I haven't looked carefully at how much work it would be to add to the infix parser yet. I suspect it means adding a new RangeProcessor class modelled on ParseTimeRangeProcessor. Maybe some of the logic from _parse_sexp_range could be shared with the other parser. lib/parse-sexp.cc

Re: [PATCH 6/9] test: Add test cases for new exclude option

2022-08-08 Thread Tomi Ollila
On Sun, Aug 07 2022, Mohsin Kaleem wrote: > --- > test/T461-emacs-search-exclude.sh | 99 +++ > .../notmuch-search-tag-inbox-with-excluded| 25 + > .../notmuch-search-tag-inbox-without-excluded | 21 > .../notmuch-tree-tag-inbox-with-excluded | 53

Re: Create tags from folders

2022-08-08 Thread Thomas Schneider
Hi, Notmuch mailinglist writes: > My email is from Protonmail and I use sieve filters to organise my mail as > needed into folders. > Mbsync creates a folder structure which mirrors what is on my proton mail > account. > But is it possible for notmuch to create tags based on the folders

Re: [PATCH 6/9] test: Add test cases for new exclude option

2022-08-08 Thread Mohsin Kaleem
Tomi Ollila writes: > It looks like tab width was not 8 when these (notmuch-search-toggle-exclude) > were added, accidentally indented w/ leading space, not tab ;/ > > (ditto for all other (notmuch-search-toggle-exclude), rest of the content > removed.) Ah, good job spotting this. My tab width

Re: Create tags from folders

2022-08-08 Thread David Bremner
Reto writes: > > Second, I let notmuch index multiple email addresses in the same store, > meaning my folder queries are then nested rather deep. > > So my lovely tag:python query amounts to `notmuch search > 'folder:reto@labrat.space/INBOX.lists.python-list'` > > Which... is a mouthful. > >

Re: Create tags from folders

2022-08-08 Thread Reto
On Mon, Aug 08, 2022 at 05:30:29PM +0300, Tomi Ollila wrote: > On Sun, Aug 07 2022, Notmuch mailinglist wrote: > > It is kinda duplicate information to have mail tagged with same name > as the folder it is located in... but there may be reasons one would > like to do such a thing -- and at least

Re: Create tags from folders

2022-08-08 Thread Reto
On Mon, Aug 08, 2022 at 10:39:36PM -0300, David Bremner wrote: > e.g. query:python as > 'folder:reto@labrat.space/INBOX.lists.python-list' > This has the advantage that you don't have to retag when new files are > added, which is often the desired behaviour. Thanks, I do use queries for some