From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 6AD0F6DE0A9A for ; Fri, 6 Jan 2017 12:14:56 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.195 X-Spam-Level: X-Spam-Status: No, score=-0.195 tagged_above=-999 required=5 tests=[AWL=-0.175, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LaUFsY25xbi3 for ; Fri, 6 Jan 2017 12:14:55 -0800 (PST) Received: from mail-lf0-f66.google.com (mail-lf0-f66.google.com [209.85.215.66]) by arlo.cworth.org (Postfix) with ESMTPS id C63656DE0999 for ; Fri, 6 Jan 2017 12:14:54 -0800 (PST) Received: by mail-lf0-f66.google.com with SMTP id q89so749630lfi.1 for ; Fri, 06 Jan 2017 12:14:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nikula-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=x7aHfef3vWeLb+wNmwlLvp1D4QFdS27TEhCXLWdSQf4=; b=mhvEOn7QQTFZ6UvExBdVtHEAsuowlDe8xfxW7r3kkD1I8eAe6iNnyPflMX2oWisDA5 rlXjtjJozhsKw32WcxuMxJvE0vxBW17zTuGZaigkKGiTYW5HaOI4Ur8lCfoaPSLFpfzz sHnrblvtxuyjFnkKBp4JwL82yAPpRGplDiLiIR0OdaCmlDkKe40YdM9AZKGgk1wnW+uz RpINjkmDrEPyIWT86AqVSKzu+bGdqELLVmdLDb79iUbgYqfwmTck3W7cMHDx7VQt/wY3 6yPJnsKYTexDlIcPD7MVWtWBJCMSKm5LwyoVYoJHVpsDYRr4viOYChp2THVHUkX0OiUB bBqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=x7aHfef3vWeLb+wNmwlLvp1D4QFdS27TEhCXLWdSQf4=; b=pjPXYLuKdh9MKN328Mu5btUiArh9k2GDAdrj9DPd7YVg0DfsLbspFsatAWzyUlvGzG DvdrU3IElUeGcd2/oEK0/+cFKBwYpDxWC2OvR57zGz5ohf4iMyeSE4yNSC7wdZHiT/kq BvauPxPsUbonAQZ497lxwGsspsSvHGv9aAzAUbMRygPk/6+cuGXxjNU9oUKzMGJuhMMe 0tufNLawiFStiWzqnV0W/llp4P31WAKOVrPmvbEzPQZnPtzVZy33QH7BHGIQzOAIMi7z 7sb/gk8KYVHrOT4ZwO6Ogt+1T51sWe7CTVSn3uWVfv9lYzFzYmp6uUHU6ztoo5xQfIv7 wBmw== X-Gm-Message-State: AIkVDXKd+NgWLayXVJl+einxUl3lXKHzuZqA8kPP6uma8QqRk8W/HlXX+mCvpAYAp3ai7w== X-Received: by 10.46.20.21 with SMTP id u21mr3665330ljd.30.1483733692416; Fri, 06 Jan 2017 12:14:52 -0800 (PST) Received: from localhost (mobile-access-bceec7-199.dhcp.inet.fi. [188.238.199.199]) by smtp.gmail.com with ESMTPSA id 17sm12503394ljn.5.2017.01.06.12.14.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Jan 2017 12:14:51 -0800 (PST) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH 0/9] cli/show: refactoring and cleanup Date: Fri, 6 Jan 2017 22:14:41 +0200 Message-Id: X-Mailer: git-send-email 2.11.0 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 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, 06 Jan 2017 20:14:56 -0000 I was planning on adding mime structure printing to notmuch show, not unlike devel/printmimestructure, but notmuch-show was in need of some cleanup first. Here goes. BR, Jani. Jani Nikula (9): cli/show: detangle overloading of params.part for single message display cli/show: remove unused raw member from show parameters struct cli/show: consistently use format_sel for checking the format cli/show: use a table for choosing the formatter cli/show: rename format_sel to simply format cli/show: group --entire-thread option handling into one place cli/show: move formatter structs closer to where they're needed cli: simplify mime node walk cli: do not initialize zero values with designated initializers mime-node.c | 13 ++--- notmuch-client.h | 1 - notmuch-reply.c | 5 -- notmuch-show.c | 157 ++++++++++++++++++++++--------------------------------- 4 files changed, 70 insertions(+), 106 deletions(-) -- 2.11.0