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 2c1d11

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 relatively straightforw

"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 c

Re: "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 c

"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 rea

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 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 rea

"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) whi

"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).

Re: "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

Re: "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) whi

"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 notm