Re: "search --path=directory/" is lame(-ish)

2022-01-27 Thread David Bremner
David Edmondson writes: > Adding a terminal slash to a directory name when using --path causes the > search to fail. Removing the terminal slash produces results. > > Given that many shells will add the terminal slash during completion, > this is lame(-ish). This bug should be fixed as of

Re: "search --path=directory/" is lame(-ish)

2017-03-29 Thread David Bremner
David Edmondson writes: > Adding a terminal slash to a directory name when using --path causes the > search to fail. Removing the terminal slash produces results. > > Given that many shells will add the terminal slash during completion, > this is lame(-ish). This would be

"search --path=directory/" is lame(-ish)

2014-10-31 Thread David Bremner
David Edmondson writes: > > Could we always prune a trailing slash from the path: component of a > query before using it? > As I understand it, this is complicated by the fact that we pass the whole string to Xapian to be parsed as a query, so we don't really know where the path: terms are. We

Re: search --path=directory/ is lame(-ish)

2014-10-31 Thread David Bremner
David Edmondson d...@dme.org writes: Could we always prune a trailing slash from the path: component of a query before using it? As I understand it, this is complicated by the fact that we pass the whole string to Xapian to be parsed as a query, so we don't really know where the path: terms

"search --path=directory/" is lame(-ish)

2014-10-30 Thread David Edmondson
On Wed, Oct 29 2014, Jani Nikula wrote: > On Wed, 29 Oct 2014, David Edmondson wrote: >> Adding a terminal slash to a directory name when using --path causes the >> search to fail. Removing the terminal slash produces results. > > I think you mean path:, not --path. Yes, sorry. > Anyway, the

Re: search --path=directory/ is lame(-ish)

2014-10-30 Thread David Edmondson
On Wed, Oct 29 2014, Jani Nikula wrote: On Wed, 29 Oct 2014, David Edmondson d...@dme.org wrote: Adding a terminal slash to a directory name when using --path causes the search to fail. Removing the terminal slash produces results. I think you mean path:, not --path. Yes, sorry. Anyway,

"search --path=directory/" is lame(-ish)

2014-10-29 Thread Jani Nikula
On Wed, 29 Oct 2014, David Edmondson wrote: > Adding a terminal slash to a directory name when using --path causes the > search to fail. Removing the terminal slash produces results. I think you mean path:, not --path. Anyway, the reason for this behaviour is that the path components are indexed

"search --path=directory/" is lame(-ish)

2014-10-29 Thread Tomi Ollila
On Wed, Oct 29 2014, David Edmondson wrote: > Adding a terminal slash to a directory name when using --path causes the > search to fail. Removing the terminal slash produces results. > > Given that many shells will add the terminal slash during completion, > this is lame(-ish). Except zsh(1)

"search --path=directory/" is lame(-ish)

2014-10-29 Thread David Edmondson
Adding a terminal slash to a directory name when using --path causes the search to fail. Removing the terminal slash produces results. Given that many shells will add the terminal slash during completion, this is lame(-ish).

search --path=directory/ is lame(-ish)

2014-10-29 Thread David Edmondson
Adding a terminal slash to a directory name when using --path causes the search to fail. Removing the terminal slash produces results. Given that many shells will add the terminal slash during completion, this is lame(-ish). ___ notmuch mailing list

Re: search --path=directory/ is lame(-ish)

2014-10-29 Thread Tomi Ollila
On Wed, Oct 29 2014, David Edmondson d...@dme.org wrote: Adding a terminal slash to a directory name when using --path causes the search to fail. Removing the terminal slash produces results. Given that many shells will add the terminal slash during completion, this is lame(-ish). Except