Em [2019-11-22 sex 10:43:40+0800], Daniel Kahn Gillmor escreveu: > Better than documenting, i'd be happy if we would add a "notmuch config > edit" subcommand, which handles the above sequence for you, invoking > $EDITOR at the appropriate time. > > The only caveat i see there is if the end user wants to inject comments > in the config file, which would then be stripped out in between these > invocations. perhaps someone who finds these comments in config files > super important could propose a way to stash them in the db and recover > them during "notmuch config edit" as well :) I sync my two Notmuch configuration files -- personal notebook and workplace desktop -- over Unison via a USB flash drive. This way, when I want to reconfigure Notmuch in one machine, I have the other machine's configuration as reference. However, I do not sync the entire Notmuch databases because, since they are big and change frequently, I suppose they would wear the USB flash drive and also increase the synchronization time. Thus for my use case it would be useful if "notmuch config edit" could automatically keep a perennial text file reflecting the configuration in the database. That text file would then be synchronized by Unison. Regards -- - <https://jorgemorais.gitlab.io/justice-for-rms/> - I am Brazilian. I hope my English is correct and I welcome feedback. - Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z. - Free/libre software for Replicant, LineageOS and Android: https://f-droid.org - [[https://www.gnu.org/philosophy/free-sw.html][What is free software?]] _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch