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 B3F606DE0927 for ; Wed, 30 Aug 2017 01:15:33 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.025 X-Spam-Level: X-Spam-Status: No, score=0.025 tagged_above=-999 required=5 tests=[AWL=0.045, 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 BCvxgTFsjgHx for ; Wed, 30 Aug 2017 01:15:32 -0700 (PDT) Received: from mail-qk0-f169.google.com (mail-qk0-f169.google.com [209.85.220.169]) by arlo.cworth.org (Postfix) with ESMTPS id 3CF926DE00DB for ; Wed, 30 Aug 2017 01:15:32 -0700 (PDT) Received: by mail-qk0-f169.google.com with SMTP id l65so24966048qkc.0 for ; Wed, 30 Aug 2017 01:15:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nikula-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zg19Jj7RAmJR56+f/5E3SOuz2ASPTnRIPcv9t/057QQ=; b=NIuKgZIyuo0Ci0IuscMa1GWMXwIzZhZ8QBpc8ogXH5bUYMO5GKHdiwVOH3HmTj+v54 DvOtlctLqy2a+VP7SGpkzEUDL6u5cRTCW/9JvNtfcOtwvOu6TzEUkHZkDGfPQgwIAt7O 2l5neU4MInpZbBsRZpF64jibVAnMrb9sp7eeWwfmDmJRlq9KQiW1gZeWxEasCkYmk8G8 MiiabWvPvajWXDZW4P9vBRRBy7x6glUGe4qr1ETbv1N3AIyW1O1/+9V98QEWrAxRGKnT y+AdsT53QiZ3BNmTAplYfeL4pmQmQgIf7Lj6SyJLBbWg2kstWbl+/sBqzfItQX727zLo rYxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zg19Jj7RAmJR56+f/5E3SOuz2ASPTnRIPcv9t/057QQ=; b=dpIohzHv5ULGhxSaUrBgZsP6HhYTpp+tdV2n7+DmRwKGKlTwy18kYd577hySS7q2C/ /EgnhVLYzkLB8q7eSHaHtIDhMkTR3AudA4wOddTkSDapPHyYJEWosgIKz1Uv6dMNDYBi +NGBAX/YXgrc97A88DjvOrDbFAoXh0xzXR/fmeAMDHgPbowPdmEmKLTZWZTHgry6I/KZ +IjWbUFbHbGZh/ouYy2wWmXBXZtVl+aI1tEw1kT7twcwKUMAjk7kD/zzOxLU6UXctK4d CZFopqw8VUAR9dePLagRb6U0u7Ilk0U2JhKdEHkx+ibe2esuQvv05jFdTYnS5KIPkrJn ftQw== X-Gm-Message-State: AHPjjUh7tZ6XDqHvjqb0+HN1sh4OuF8BBqvNX9pMUOy6NNRprDfVZTbx XV39XuQt7V2xWy6wDQZgcrtAwY3b5ku0 X-Received: by 10.55.158.21 with SMTP id h21mr9844900qke.48.1504080931311; Wed, 30 Aug 2017 01:15:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.49.36 with HTTP; Wed, 30 Aug 2017 01:15:30 -0700 (PDT) In-Reply-To: <877exlppkw.fsf@jb55.com> References: <877exlppkw.fsf@jb55.com> From: Jani Nikula Date: Wed, 30 Aug 2017 11:15:30 +0300 Message-ID: Subject: Re: Colorized git-format-patches in notmuch-show? To: notmuch@freelists.org Cc: Notmuch Mail Content-Type: text/plain; charset="UTF-8" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 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, 30 Aug 2017 08:15:33 -0000 On Wed, Aug 30, 2017 at 8:55 AM, William Casarin wrote: > I'm not sure if this is an option somewhere, but is there a way to > colorize git-format-patch emails in the notmuch-show buffer? I noticed > it works fine if it's an attachment, but not if it's a git-submitted > patch. Try M-x customize-variable RET notmuch-show-insert-text/plain-hook RET and check the notmuch-wash-convert-inline-patch-to-part option. This turns patches to fake parts, which then get the coloring. It's not enabled by default, because the patch identification does have room for error. Admittedly the option seems pretty well hidden. BR, Jani.