From 69bd399c4e6a1c06ff5550dfb9d2bfd386001373 Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Wed, 3 Apr 2013 13:31:45 +1800 Subject: [PATCH] RE: [PATCH 1/5] open_reply: fallback to use addr.local if addr.name is nil --- c1/34f5aed89521554ca1250a53005514396348a1 | 82 +++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 c1/34f5aed89521554ca1250a53005514396348a1 diff --git a/c1/34f5aed89521554ca1250a53005514396348a1 b/c1/34f5aed89521554ca1250a53005514396348a1 new file mode 100644 index 000000000..e12b18b07 --- /dev/null +++ b/c1/34f5aed89521554ca1250a53005514396348a1 @@ -0,0 +1,82 @@ +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 C8A4C431FBC + for ; Tue, 2 Apr 2013 12:33:04 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.799 +X-Spam-Level: +X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 WeTErpSWUvW2 for ; + Tue, 2 Apr 2013 12:33:03 -0700 (PDT) +Received: from mail-gh0-f174.google.com (mail-gh0-f174.google.com + [209.85.160.174]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 78239431FAE + for ; Tue, 2 Apr 2013 12:33:03 -0700 (PDT) +Received: by mail-gh0-f174.google.com with SMTP id g10so120062ghb.33 + for ; Tue, 02 Apr 2013 12:33:03 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=x-received:date:from:to:cc:message-id:in-reply-to:references + :subject:mime-version:content-type:content-transfer-encoding; + bh=MFCBmmuAiORPEkLsoiMyu61stGqiKurDydWftfrFjp8=; + b=vAr2SD85iSWpQQn7/A8yhApnVAuMkcq1PTbk3h/K2U86Fbh4Pojurq/Z3JPO7tBfDg + 8kuO6mGX8FLmcNSJiwKMfXf8vxoL/QSoFzzb6KD8qmJJcCyblTz7W4QtWe93snSBia2b + 2mLb/GqSma+R9kgSEk/rbqexVZQD7oVpq/iuD6uGR2WT4IpH7Ijy4YtSSrdxsiwT2QK3 + PGEJjgDvOFlVJEXI+X9Do9BmqsNB9YolZQuhds8JGHMHaEHs2jChV8NCqgMWxtzaDR6q + hFUKlglhJaNVOZaPCl5nKqfWZEZnWe0IYGJ13tgXMDmA8RNhZLLPMh6F21AZMRS6hu8Z + LJtw== +X-Received: by 10.236.63.66 with SMTP id z42mr16587332yhc.182.1364931181991; + Tue, 02 Apr 2013 12:33:01 -0700 (PDT) +Received: from localhost (187-163-100-70.static.axtel.net. [187.163.100.70]) + by mx.google.com with ESMTPS id q8sm5092831yhb.1.2013.04.02.12.32.59 + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Tue, 02 Apr 2013 12:33:01 -0700 (PDT) +Date: Tue, 02 Apr 2013 13:31:45 -0600 +From: Felipe Contreras +To: "Kirill A. Shutemov" , + Felipe Contreras +Message-ID: <515b32219d649_146e1045e109359f@nysa.mail> +In-Reply-To: <1359388340-27136-2-git-send-email-kirill@shutemov.name> +References: <1359388340-27136-1-git-send-email-kirill@shutemov.name> + <1359388340-27136-2-git-send-email-kirill@shutemov.name> +Subject: RE: [PATCH 1/5] open_reply: fallback to use addr.local if addr.name + is nil +Mime-Version: 1.0 +Content-Type: text/plain; + charset=utf-8 +Content-Transfer-Encoding: 7bit +Cc: notmuch@notmuchmail.org +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: Tue, 02 Apr 2013 19:33:05 -0000 + +Kirill A. Shutemov wrote: +> From: "Kirill A. Shutemov" +> +> If address doesn't contain name we end up with " wrote:" as a reply +> header. It doesn't look nice. +> +> Let's use addr.local + "@" if name is not defined. If addr.local is not +> defined too, let's just use "somebody". + +Thanks. Applied. + +-- +Felipe Contreras -- 2.26.2