Re: [PATCH 2/2] Vim: Ensure that every queries respect excluded tags

2021-04-27 Thread Felipe Contreras
On Tue, Feb 16, 2021 at 5:43 PM Jules Aguillon wrote: > > This makes sure that the bug solved by the previous commit won't happen again > and remove some dupplication. > This shouldn't have any side effect. At least Aaron D Borden did mention some issues with this approach [1]. >From my cursory

Re: [PATCH 1/2] Vim: Respect excluded tags when showing a thread

2021-04-27 Thread Felipe Contreras
On Tue, Apr 27, 2021 at 3:09 PM David Bremner wrote: > > Felipe Contreras writes: > > > On Mon, Apr 26, 2021 at 6:39 PM David Bremner wrote: > >> > >> Felipe Contreras writes: > >> > > >> > I don't need to test it, the patch is obviously correct. > >> > > >> > Reviewed-by: Felipe Contreras >

Re: [PATCH 1/2] Vim: Respect excluded tags when showing a thread

2021-04-27 Thread David Bremner
Felipe Contreras writes: > On Mon, Apr 26, 2021 at 6:39 PM David Bremner wrote: >> >> Felipe Contreras writes: >> > >> > I don't need to test it, the patch is obviously correct. >> > >> > Reviewed-by: Felipe Contreras >> >> Famous last words ;). But OK, applied to master. > > Er, I acked the

Re: [PATCH 1/2] Vim: Respect excluded tags when showing a thread

2021-04-27 Thread Felipe Contreras
On Mon, Apr 26, 2021 at 6:39 PM David Bremner wrote: > > Felipe Contreras writes: > > > > I don't need to test it, the patch is obviously correct. > > > > Reviewed-by: Felipe Contreras > > Famous last words ;). But OK, applied to master. Er, I acked the first patch, not the second. The second

Re: setting NOTMUCH_CONFIG in hooks

2021-04-27 Thread Michael J Gruber
David Bremner venit, vidit, dixit 2021-04-27 14:34:30: > Uwe Kleine-König writes: > > > Hello, > > > > when I run > > > > notmuch --config=$HOME/.notmuch-config-work new > > > > NOTMUCH_CONFIG isn't set when the hooks are running. This would however > > be quite useful such that e.g. afew

Re: Two perceived query language imbalances

2021-04-27 Thread Michael J Gruber
Alexander Adolf venit, vidit, dixit 2021-04-27 13:34:03: > Hello David, [...] > >>> id: or mid: or mid:// > >>>For id: and mid:, message ID values are the literal contents of > >>>the Message-ID: header of email messages, but without the '<', > >>>'>' delimiters. > >> > >>

Re: setting NOTMUCH_CONFIG in hooks

2021-04-27 Thread David Bremner
Uwe Kleine-König writes: > Hello, > > when I run > > notmuch --config=$HOME/.notmuch-config-work new > > NOTMUCH_CONFIG isn't set when the hooks are running. This would however > be quite useful such that e.g. afew uses the right database. Of course I > could do > >

Re: Two perceived query language imbalances

2021-04-27 Thread Alexander Adolf
Hello David, Many thanks for your swift response, and explanations. David Bremner writes: > [...] >> Any technical reason for "from" having a regex search, but "to" not? > > Yes, it is purely technical. The regex support relies on the existence > of a Xapian value slot for the field in

[RFC PATCH] Attempt to reactive Ruby gc

2021-04-27 Thread Felipe Contreras
Commit c7893408 (ruby: Kill garbage collection related cruft., 2010-05-26) removed garbage collection because the order of objects freed couldn't be ensured in Ruby. However, we can use talloc for reference counting and thus preventing Ruby from destroying the objects. First we create a wrapper