Bug in remote use of notmuch

2010-11-10 Thread Mark Walters
I am experimenting with using notmuch remotely over ssh (as in the NEWS file; i.e. with a script containing ssh user at host notmuch "$@") This is mostly excellent but it seems to get confused by some queries. For example those containing brackets or just consisting of *. I think this is a problem

Bug in remote use of notmuch

2010-11-18 Thread Michal Sojka
On Wed, 10 Nov 2010, Mark Walters wrote: > I am experimenting with using notmuch remotely over ssh (as in the > NEWS file; i.e. with a script containing ssh user at host notmuch "$@") > This is mostly excellent but it seems to get confused by some queries. > For example those containing brackets or

Bug in remote use of notmuch

2010-11-18 Thread Austin Clements
Unfortunately, expansion *is* performed by the remote shell, which is why your shell quoting approach works (and is necessary). There's really no way around this, since the ssh client simply joins all of its trailing arguments with spaces and sends this single string to the ssh server, which exec(

Bug in remote use of notmuch

2010-11-19 Thread Michal Sojka
On Fri, 19 Nov 2010, Austin Clements wrote: > Unfortunately, expansion *is* performed by the remote shell, which is why > your shell quoting approach works (and is necessary). There's really no way > around this, since the ssh client simply joins all of its trailing arguments > with spaces and sen

Bug in remote use of notmuch

2010-11-10 Thread Mark Walters
I am experimenting with using notmuch remotely over ssh (as in the NEWS file; i.e. with a script containing ssh u...@host notmuch "$@") This is mostly excellent but it seems to get confused by some queries. For example those containing brackets or just consisting of *. I think this is a problem wit

Re: Bug in remote use of notmuch

2010-11-18 Thread Michal Sojka
On Wed, 10 Nov 2010, Mark Walters wrote: > I am experimenting with using notmuch remotely over ssh (as in the > NEWS file; i.e. with a script containing ssh u...@host notmuch "$@") > This is mostly excellent but it seems to get confused by some queries. > For example those containing brackets or ju

Re: Bug in remote use of notmuch

2010-11-18 Thread Austin Clements
Unfortunately, expansion *is* performed by the remote shell, which is why your shell quoting approach works (and is necessary). There's really no way around this, since the ssh client simply joins all of its trailing arguments with spaces and sends this single string to the ssh server, which exec(

Re: Bug in remote use of notmuch

2010-11-19 Thread Michal Sojka
On Fri, 19 Nov 2010, Austin Clements wrote: > Unfortunately, expansion *is* performed by the remote shell, which is why > your shell quoting approach works (and is necessary). There's really no way > around this, since the ssh client simply joins all of its trailing arguments > with spaces and sen