Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 23CAC4196F2 for ; Thu, 22 Apr 2010 00:53:04 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v8s1o-9PIyZS for ; Thu, 22 Apr 2010 00:53:03 -0700 (PDT) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by olra.theworths.org (Postfix) with ESMTP id 36283431FC1 for ; Thu, 22 Apr 2010 00:53:03 -0700 (PDT) Received: by wyf23 with SMTP id 23so504016wyf.26 for ; Thu, 22 Apr 2010 00:53:02 -0700 (PDT) Received: by 10.216.86.196 with SMTP id w46mr9472833wee.201.1271922782268; Thu, 22 Apr 2010 00:53:02 -0700 (PDT) Received: from ut.hh.sledj.net (host83-217-165-81.dsl.vispa.com [83.217.165.81]) by mx.google.com with ESMTPS id i35sm3617614gve.26.2010.04.22.00.52.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 22 Apr 2010 00:53:00 -0700 (PDT) Received: by ut.hh.sledj.net (Postfix, from userid 1000) id 131BC594163; Thu, 22 Apr 2010 08:52:59 +0100 (BST) To: Jameson Rollins , Notmuch Mail Subject: Re: problem with notmuch-search-authors-width in JSON emacs implementation In-Reply-To: <878w8gxfui.fsf@servo.finestructure.net> References: <87633ko11s.fsf@servo.finestructure.net> <878w8gxfui.fsf@servo.finestructure.net> User-Agent: Notmuch/0.2-20-g89ec2c1 (http://notmuchmail.org) Emacs/23.1.1 (x86_64-pc-linux-gnu) From: David Edmondson Date: Thu, 22 Apr 2010 08:52:59 +0100 Message-ID: <87pr1rkjok.fsf@ut.hh.sledj.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2010 07:53:04 -0000 On Thu, 22 Apr 2010 00:37:25 -0400, Jameson Rollins wrote: > On Wed, 21 Apr 2010 19:09:35 -0400, Jameson Rollins 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 thought that I had this fixed up properly. Sorry for the breakage. Can you show any explicit settings you have for `notmuch-search-authors-width' and `notmuch-search-result-format'? Where do you set them? The intention was that if you just want a wider display of authors you set `notmuch-search-authors-width' (which has existed for some time) and `notmuch-search-result-format' adapts accordingly. Admittedly, this doesn't cope well if you modify `notmuch-search-result-format' without also updating `notmuch-search-authors-width'. Some more thought required... dme. -- David Edmondson, http://dme.org