From: Dirk Hohndel <hohndel@infradead.org>
To: Jameson Rollins <jrollins@finestructure.net>,
Notmuch Mail <notmuch@notmuchmail.org>
Subject: Re: problem with notmuch-search-authors-width in JSON emacs implementation
Date: Wed, 21 Apr 2010 16:23:45 -0700 [thread overview]
Message-ID: <m3wrw0fkzi.fsf@x200.gr8dns.org> (raw)
In-Reply-To: <87633ko11s.fsf@servo.finestructure.net>
On Wed, 21 Apr 2010 19:09:35 -0400, Jameson Rollins <jrollins@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
next prev parent reply other threads:[~2010-04-21 23:23 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-21 23:09 problem with notmuch-search-authors-width in JSON emacs implementation Jameson Rollins
2010-04-21 23:23 ` Dirk Hohndel [this message]
2010-04-22 4:37 ` Jameson Rollins
2010-04-22 7:52 ` David Edmondson
2010-04-22 13:22 ` Jameson Rollins
2010-04-22 14:04 ` David Edmondson
2010-04-22 14:12 ` Jameson Rollins
2010-04-22 14:38 ` David Edmondson
2010-04-22 15:20 ` Jameson Rollins
2010-04-22 16:44 ` David Edmondson
2010-04-23 10:24 ` [PATCH] emacs: Remove `notmuch-search-authors-width' and fix the use of `notmuch-search-result-format' accordingly David Edmondson
2010-04-23 17:22 ` Jameson Rollins
2010-04-23 19:17 ` Carl Worth
2010-04-26 12:16 ` [PATCH] emacs: Fix `notmuch-search-insert-field' David Edmondson
2010-04-26 15:25 ` Carl Worth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3wrw0fkzi.fsf@x200.gr8dns.org \
--to=hohndel@infradead.org \
--cc=jrollins@finestructure.net \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).