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 C9AA26DE0C66 for ; Thu, 5 Jan 2017 11:01:09 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.481 X-Spam-Level: X-Spam-Status: No, score=0.481 tagged_above=-999 required=5 tests=[AWL=-0.152, 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, SPF_NEUTRAL=0.652, UNPARSEABLE_RELAY=0.001] 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 f4ranpNqhQR9 for ; Thu, 5 Jan 2017 11:01:08 -0800 (PST) Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by arlo.cworth.org (Postfix) with ESMTPS id 1BFCE6DE0B25 for ; Thu, 5 Jan 2017 11:01:08 -0800 (PST) Received: by mail-wm0-f51.google.com with SMTP id a197so443647420wmd.0 for ; Thu, 05 Jan 2017 11:01:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dme-org.20150623.gappssmtp.com; s=20150623; h=to:subject:in-reply-to:references:from:date:message-id:mime-version; bh=0gzAOzppWz6nuU53J7zfb2ZNh6RDf4gBB3wlBfhFVPk=; b=EhhxwldL2r9VXTTs3iPj4I1meutyDXX45qE1m1ewyjIBHqgd9RFS4WSOTSH2v8xrST x1wdfa1jNinUFRhJhhkfA5bW7VJNaiG2xHZqBMW3Pk77HD1+kffLI+Z8qV1tVRFYFoB7 6ERXiQvVIDnLsHGVB9zx4PzK9RTyHO0o8qhd99VEwfm0VMqPpZ8vkSBjEuMjLhuSb/sB Ku8aOHirZiuEvVFw3z/af7XNdYvpPgRCyqfNqsvJP+dSWtH1G1ePwuhSQL/mwmjT41Sf KghJ8mDdXbbXQVbRq9teyUw3sglU8s5/PlRnn+jaTAUzHV0CgQAf4+a55U99iMqNbSEj O7cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:subject:in-reply-to:references:from:date :message-id:mime-version; bh=0gzAOzppWz6nuU53J7zfb2ZNh6RDf4gBB3wlBfhFVPk=; b=gBJeJ+p8yz2ypFbHL0xxFgi1k4zdDeH78UG3/RO64t8ApjKS/CfVN+zj8OJSDciNxA uBJzqhHhX+Yd7rWyyqm35pucbeAJ/dimmiKTAOAYvqva5DV7UD1Ad/I/pk4YaHRmbupD SeU9bCbeKtABLPNILWtXLOXQF1jeZ61gqVLVhUFE5s4TQ5ZnYswFmooHuyOLRZqUNF1y 97FFAfLQJ0B0XGWXZCeIfjOuT9AlR0Sho08uO/k7SydQEB2FQZ9bM+Eal3U1DLTf8eJw lZtCUkbhZJp7tVA7YgNi2kRpnbQ3Mmnr+Clghqs/84IMwoCb1D9mcnuOxfNl/y9d3zbv zm+Q== X-Gm-Message-State: AIkVDXJwQw3m7z3vPD4zjYDXqVRMGnVvTgj8aKWQzm4fgpSCtcOOuSl828ihkSlJkBeMFw== X-Received: by 10.28.232.85 with SMTP id f82mr61363366wmh.127.1483642866145; Thu, 05 Jan 2017 11:01:06 -0800 (PST) Received: from disaster-area.hh.sledj.net (disaster-area.hh.sledj.net. [81.149.164.25]) by smtp.gmail.com with ESMTPSA id a8sm36955919wjq.44.2017.01.05.11.01.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Jan 2017 11:01:05 -0800 (PST) Received: from localhost (disaster-area.hh.sledj.net [local]) by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id 9423d3a3; Thu, 5 Jan 2017 19:01:04 +0000 (UTC) To: Jani Nikula , notmuch@notmuchmail.org Subject: Re: [BUG] notmuch-emacs highlights '>' quoted wrapped lines incorrectly In-Reply-To: <87a8b5pcky.fsf@nikula.org> References: <87a8b5pcky.fsf@nikula.org> X-HGTTG: heart-of-gold From: David Edmondson Date: Thu, 05 Jan 2017 19:01:04 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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: Thu, 05 Jan 2017 19:01:09 -0000 On Thu, Jan 05 2017, Jani Nikula wrote: > When the show view in notmuch-emacs highlights quoted text, any long, > folded lines in quotes prefixed using '>' fail to be highlighted. Quotes > prefixed using '> ' work fine. See below. Maybe fiddle with `coolj-line-prefix-regexp', which is "^\\(>+ \\)*" by default (note the space). "^\\(>+ ?\\)*" gets it working, but I didn't think through all of the consequences. > BR, > Jani. > > > Quoting using '> ' works fine: >> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim >> veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate >> velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt >> mollit anim id est laborum. > > Quoting using '>' highlights any wrapped lines incorrectly: >>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim >>veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate >>velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt >>mollit anim id est laborum. > > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > https://notmuchmail.org/mailman/listinfo/notmuch