David Bremner <david@tethera.net> writes: > 3) The original script took a path to mail_root, but this doesn't > really cover the possible split configurations; in particular it > doesn't handle my (XDG) layout. The current code just looks for the > "default" notmuch setup, and ignores the URL. I am open to ideas for > how a notmuch URL should look like. I'd imagine they should have the > profile in them, but I'm not sure how much flexibility we need / want > to suppot. I guess some kind of key value scheme like notmuch://?profile=foo notmuch::?profile=foo or notmuch://?config=.bar?database=fub/zub would work, basically a thin wrapper around notmuch_database_open_with_config. There is still room for bikeshedding about the syntax. We could throw in "localhost" for future-proofing, notmuch://localhost would pass NULL to all 3 relevant parameters of n_d_o_w_c _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org