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 06D6A431FBC for ; Fri, 29 Mar 2013 07:11:38 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled 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 snnodnDzMKzv for ; Fri, 29 Mar 2013 07:11:37 -0700 (PDT) Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 87B14431FAF for ; Fri, 29 Mar 2013 07:11:37 -0700 (PDT) Received: from remotemail by tesseract.cs.unb.ca with local (Exim 4.80) (envelope-from ) id 1ULa1n-0000yx-Vl; Fri, 29 Mar 2013 11:11:36 -0300 Received: (nullmailer pid 17732 invoked by uid 1000); Fri, 29 Mar 2013 14:11:32 -0000 From: David Bremner To: Adam Wolfe Gordon , notmuch@notmuchmail.org Subject: Re: [PATCH v2] lib: Fix name reordering to handle commas without spaces In-Reply-To: <1361832433-13036-1-git-send-email-awg+notmuch@xvx.ca> References: <1361832433-13036-1-git-send-email-awg+notmuch@xvx.ca> User-Agent: Notmuch/0.15.1 (http://notmuchmail.org) Emacs/24.2.1 (x86_64-pc-linux-gnu) Date: Fri, 29 Mar 2013 10:11:32 -0400 Message-ID: <87a9pmjnxn.fsf@maritornes.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain 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: Fri, 29 Mar 2013 14:11:38 -0000 Adam Wolfe Gordon writes: > Notmuch automatically re-orders names of the format "Last, First" to > "First Last" when the associated email address is > First.Last@example.com. But, if a name is of the format "Last,First" > then notmuch will format the name as "irst Last". Handle any number of > spaces after the comma, including none. pushed. d