Re: [PATCH] emacs: wash: make word-wrap bound message width
On Wed, Jul 06 2016, Mark Walterswrote: > Previously if notmuch-wash-wrap-lines-length was set then all messages > would be wrapped at this value (or window-width if that is > smaller). This was done regardless of the message's depth in a thread: > for example, if the n.w.w.l.l is 80 and the messages depth is 20 > (so indented 20 by default) the messages text only got 60 characters > of space. > > This commit changes that so a message always gets the full n.w.w.l.l > of width regardless of its indentation (unless that goes over > window-width of course). > --- > > This is what I would like -- I don't know if anyone would like to keep > the previous behaviour as an option. The code-part for that is easy, but > getting > the docstrings and and defcustoms right is not clear. The change looks good to me -- but I just don't understand why someone would set notmuch-wash-wrap-lines-length to something else than nil -- and if it is set to some number what the behaviour should be ? Tomi > > Best wishes > > Mark > > emacs/notmuch-wash.el | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/emacs/notmuch-wash.el b/emacs/notmuch-wash.el > index 57e6dfa..e16b8cc 100644 > --- a/emacs/notmuch-wash.el > +++ b/emacs/notmuch-wash.el > @@ -121,8 +121,8 @@ collapse the remaining lines into a button." > > If this is nil, lines in messages will be wrapped to fit in the > current window. If this is a number, lines will be wrapped after > -this many characters or at the window width (whichever one is > -lower)." > +this many characters (ignoring indentation due to thread depth) > +or at the window width (whichever one is lower)." >:type '(choice (const :tag "window width" nil) >(integer :tag "number of characters")) >:group 'notmuch-wash) > @@ -336,7 +336,7 @@ the wrapped text are maintained." > >(let* ((coolj-wrap-follows-window-size nil) >(limit (if (numberp notmuch-wash-wrap-lines-length) > - (min notmuch-wash-wrap-lines-length > + (min (+ notmuch-wash-wrap-lines-length depth) >(window-width)) > (window-width))) >(fill-column (- limit > -- > 2.1.4 > > ___ > notmuch mailing list > notmuch@notmuchmail.org > https://notmuchmail.org/mailman/listinfo/notmuch ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
Re: [PATCH] doc: update cross references for notmuch.1
On Wed, Jun 29 2016, David Bremnerwrote: > In particular add notmuch-compact(1) (Debian bug #825884) LGTM. Tomi > --- > doc/man1/notmuch.rst | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/doc/man1/notmuch.rst b/doc/man1/notmuch.rst > index edd04ef..7429f51 100644 > --- a/doc/man1/notmuch.rst > +++ b/doc/man1/notmuch.rst > @@ -138,11 +138,11 @@ of notmuch. > SEE ALSO > > > -**notmuch-config(1)**, **notmuch-count(1)**, **notmuch-dump(1)**, > -**notmuch-hooks(5)**, **notmuch-insert(1)**, **notmuch-new(1)**, > -**notmuch-reply(1)**, **notmuch-restore(1)**, **notmuch-search(1)**, > -**notmuch-search-terms(7)**, **notmuch-show(1)**, **notmuch-tag(1)**, > -**notmuch-address(1)** > +**notmuch-address(1)**, **notmuch-compact(1)**, **notmuch-config(1)**, > +**notmuch-count(1)**, **notmuch-dump(1)**, **notmuch-hooks(5)**, > +**notmuch-insert(1)**, **notmuch-new(1)**, **notmuch-reply(1)**, > +**notmuch-restore(1)**, **notmuch-search(1)**, > +**notmuch-search-terms(7)**, **notmuch-show(1)**, **notmuch-tag(1)** > > The notmuch website: **https://notmuchmail.org** > > -- > 2.8.1 > > ___ > notmuch mailing list > notmuch@notmuchmail.org > https://notmuchmail.org/mailman/listinfo/notmuch ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
Re: [feature request] emacs: use `notmuch insert` for FCC
"W. Trevor King"writes: > On Sat, Aug 20, 2016 at 02:14:38AM -0400, Steven Allen wrote: >> Tomi Ollila writes: >> > PS: do we have an alternative to mid.gmane.org for >> > http://nmbug.tethera.net/status/ >> >> https://notmuchmail.org/pipermail/notmuch/? However, it's not >> indexed by id. > > The Git folks seem to be transitioning to public-inbox / SSOMA > [1,2,3,4]. I floated a mostly-SSOMA conversion of the notmuch > archives a while back [5], and I can take a stab at dusting that off > and putting a public-inbox frontend in front of it, although I'd > rather have someone more central to notmuch handle long-term hosting. If I understand correctly, this would (or could) replace pipermail (of course it's a bit silly we don't have some notmuch based web archive, but one problem at a time, I guess). Carl, do you have any interest in running a public-inbox instance in place of the pipermail instance on notmuchmail.org? d ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
Re: [feature request] emacs: use `notmuch insert` for FCC
On Sat, Aug 20, 2016 at 02:14:38AM -0400, Steven Allen wrote: > Tomi Ollilawrites: > > PS: do we have an alternative to mid.gmane.org for > > http://nmbug.tethera.net/status/ > > https://notmuchmail.org/pipermail/notmuch/? However, it's not > indexed by id. The Git folks seem to be transitioning to public-inbox / SSOMA [1,2,3,4]. I floated a mostly-SSOMA conversion of the notmuch archives a while back [5], and I can take a stab at dusting that off and putting a public-inbox frontend in front of it, although I'd rather have someone more central to notmuch handle long-term hosting. Cheers, Trevor [1]: https://public-inbox.org/git/ [2]: https://github.com/git/git-scm.com/pull/827#issuecomment-240737837 [3]: https://public-inbox.org/git/20160728135249.ga25...@sigill.intra.peff.net/ id:20160728135249.ga25...@sigill.intra.peff.net [4]: https://public-inbox.org/git/20140507065903.ga32...@dcvr.yhbt.net/ id:20140507065903.ga32...@dcvr.yhbt.net [5]: id:20141107190321.gl23...@odin.tremily.us -- This email may be signed or encrypted with GnuPG (http://www.gnupg.org). For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy signature.asc Description: OpenPGP digital signature ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
Re: [feature request] emacs: use `notmuch insert` for FCC
Tomi Ollilawrites: > IIRC SomeOne(™) is already doing that > > (™) Mark in patch series > id:1465599772-10297-1-git-send-email-markwalters1...@gmail.com Thanks! Sorry, user error. (I did search through the archives (pipermail) but completely failed to notice the patch series.) > PS: do we have an alternative to mid.gmane.org for > http://nmbug.tethera.net/status/ https://notmuchmail.org/pipermail/notmuch/? However, it's not indexed by id. -- Steven Allen ((Do Not Email )) ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch