Re: rfc for notmuch remote access script

2016-11-04 Thread Jani Nikula
On Sun, 30 Oct 2016, David Bremner wrote: > I'm not using remote access, and I don't really have opinions about the > best way to do it. I do have 2 concerns about the overall idea > > 1. I worry about the maintenance burden of extra code ./configure > 2. I worry about

Re: rfc for notmuch remote access script

2016-10-30 Thread David Bremner
Mark Walters writes: > 1) have 2 separate config targets for notmuch-cli and notmuch-emacs so > you can install one without the other. We already have the install target install-emacs. We have a configure option --without-emacs. We could add "--without-lib" and

Re: rfc for notmuch remote access script

2016-10-30 Thread Jani Nikula
On Sun, Oct 30, 2016 at 2:39 PM, Mark Walters wrote: > The only possible downside I can see with this is if the address for the > notmuch-server varies. For example my router does NAT the address from > inside and outside my home network is different. I don't know if

Re: rfc for notmuch remote access script

2016-10-30 Thread Mark Walters
On Sun, 30 Oct 2016, David Bremner wrote: > Jani Nikula writes: > >> >> Personally, I prefer a simple script that assumes a certain type of ssh >> client configuration. We can typically reference documentation written >> by others how to do that, and just say

Re: rfc for notmuch remote access script

2016-10-30 Thread David Bremner
Jani Nikula writes: > > Personally, I prefer a simple script that assumes a certain type of ssh > client configuration. We can typically reference documentation written > by others how to do that, and just say "put that stuff under a Host > notmuch section in ~/.ssh/config". >

Re: rfc for notmuch remote access script

2016-10-30 Thread Jani Nikula
On Fri, 28 Oct 2016, David Bremner wrote: > Jani Nikula writes: > >> On Thu, Oct 27, 2016 at 8:25 PM, Tomi Ollila wrote: >>> j4ni on irc expressed interest of having an installation option for >>> notmuch-emacs and a notmuch remote access

Re: rfc for notmuch remote access script

2016-10-28 Thread David Bremner
Jani Nikula writes: > On Thu, Oct 27, 2016 at 8:25 PM, Tomi Ollila wrote: >> j4ni on irc expressed interest of having an installation option for >> notmuch-emacs and a notmuch remote access script as 'notmuch' >> >> This got me thinking what kind of script

Re: rfc for notmuch remote access script

2016-10-28 Thread Jani Nikula
On Thu, Oct 27, 2016 at 8:25 PM, Tomi Ollila wrote: > j4ni on irc expressed interest of having an installation option for > notmuch-emacs and a notmuch remote access script as 'notmuch' > > This got me thinking what kind of script would fulfill all the needs > that I know of.

Re: rfc for notmuch remote access script

2016-10-27 Thread Matt Armstrong
Neat. Basics of it look correct to me. Personally, I'd abandon most of these environment variables and edit the script directly, but that goes against your stated goal. Other comments below. Tomi Ollila writes: > Hi > > j4ni on irc expressed interest of having an