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 2B2C34196F2 for ; Wed, 21 Apr 2010 16:23:47 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -4.2 X-Spam-Level: X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] 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 PXl30xmPuH0n for ; Wed, 21 Apr 2010 16:23:46 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) by olra.theworths.org (Postfix) with ESMTP id 78A1E431FC1 for ; Wed, 21 Apr 2010 16:23:46 -0700 (PDT) Received: from localhost ([::1] helo=x200.gr8dns.org) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1O4jGj-0006Cs-OE; Wed, 21 Apr 2010 23:23:45 +0000 Received: by x200.gr8dns.org (Postfix, from userid 500) id 27C9AC0212; Wed, 21 Apr 2010 16:23:45 -0700 (PDT) From: Dirk Hohndel To: Jameson Rollins , Notmuch Mail Subject: Re: problem with notmuch-search-authors-width in JSON emacs implementation In-Reply-To: <87633ko11s.fsf@servo.finestructure.net> References: <87633ko11s.fsf@servo.finestructure.net> Date: Wed, 21 Apr 2010 16:23:45 -0700 Message-ID: User-Agent: notmuch 0.2-52-ga28d2fe (Emacs 23.1.1/i386-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html 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: Wed, 21 Apr 2010 23:23:47 -0000 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 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