problem with notmuch-search-authors-width in JSON emacs implementation
Dirk Hohndel
hohndel at infradead.org
Wed Apr 21 16:23:45 PDT 2010
On Wed, 21 Apr 2010 19:09:35 -0400, Jameson Rollins <jrollins at finestructure.net> wrote:
> Hey, folks. I just build from Carl's HEAD which includes the new emacs
> JSON interface and I'm noticing a problem with the
> notmuch-search-authors-width variable. If I set the variable as
> follows:
>
> (setq notmuch-search-authors-width 40)
>
> author lists that overrun the specified width start spitting out into
> the subject field. I think bremner just confirmed this on irc. I'll
> try to look into this when I get a chance, but I don't have time right
> now. Maybe someone with more intimate knowledge of this piece of code
> could figure it out more quickly.
I think you are no longer supposed to do that. Here's what I have
instead in my .emacs file
'(notmuch-search-result-format (quote (("date" . "%s ") ("count" . "%-7s ") ("authors" . "%-50s ") ("subject" . "%s ") ("tags" . "(%s)"))))
Actually, I did this from the customize-group -> notmuch settings inside
emacs. I think the overruns come from a conflict between the '20' that's
in the default notmuch-search-result-format and the explicit '40' that
you set here.
Maybe the code should be changed to deal with setting this variable - or
it should be made "internal" :-)
/D
--
Dirk Hohndel
Intel Open Source Technology Center
More information about the notmuch
mailing list