From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eIrlDTefzGGBGwEAgWs5BA (envelope-from ) for ; Wed, 29 Dec 2021 18:47:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uIStBjefzGGUfgEAG6o9tA (envelope-from ) for ; Wed, 29 Dec 2021 18:47:35 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D747D34541 for ; Wed, 29 Dec 2021 18:47:34 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id ECBC85F6DD; Wed, 29 Dec 2021 17:47:28 +0000 (UTC) Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) by mail.notmuchmail.org (Postfix) with ESMTP id 7E9E35F6C2 for ; Wed, 29 Dec 2021 17:47:25 +0000 (UTC) Received: from guru.guru-group.fi (unknown [IPv6:2a02:2380:1:9:5054:ff:feb7:a4bc]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: too) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 5464A1B0004B; Wed, 29 Dec 2021 19:47:18 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1640800038; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YNz7S0sqcnXmxTMP2vAPeHAg0iVIDpA2M+hCAcXqBPU=; b=vLu4w1WaeGOTvr0LZdqO29GbueprciNkb6+Y8PW66slpA9nVAn067LJlY9DYrec1t/6JDw LGOoMcq93C0e2oPY52EKr2Lp6MnGq4cz0HWwIOntTh0D4LpsRiUHDlnZFqedyDwkci4eLu stA22uMKcWNAT0c4rhta3DHszYYGt/LAOr8a6BIDzsPgqzjIhTkXLPyf+FRyDChifVzLCP 4ABujvGz+DyMYbL1DChL037lSd1y8D7Bqg+GSRQTxwG5ZSuVhrUHctH0nII08yGwzRUmNp niOedyFt0SF+eWNN4kxDrsg2lRnfo9q3NlgpvAgWPY43ybR5czs0dXMWoTnaHg== From: Tomi Ollila To: David Bremner , David Edmondson , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: update coolj-line-prefix-regexp to make space optional In-Reply-To: <20211225233112.3364167-1-david@tethera.net> References: <20211225233112.3364167-1-david@tethera.net> User-Agent: Notmuch/0.33+54~gcaf4513 (https://notmuchmail.org) Emacs/27.1 X-Face: HhBM'cA~ MIME-Version: 1.0 ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1640800038; a=rsa-sha256; cv=none; b=nhMICeIljLG8vzjlpqOYfQYoCpte2XAvMIJIq/6QhVqa1QJ8Vz3hsduazf7wC/14If9QfF dC1MxnOW0d9LK2h0+0shpeR9ryfU25gGBNC6NBwYZYel+f0lpQFLcYcQrefiUhffILwNMs A9I5k3RLV//+xwKbdPPUCDzs78Uqj23Uj+nRjFrmpz06pPdLwC3ce80epw8J9HM4a99or/ LnTrgPyGRjaoD9Fyq6TAj/xlYgTjLOYMebxFALhkoyHMYwjfR1geVdJmvfnBZ5Jqx5vf4c X0oM/qDqQJTGZNjYQUTan+aZGQ9jQU/IJAEXFy7gS9NRgoQqfXQYoiV1Av/Kdw== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1640800038; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YNz7S0sqcnXmxTMP2vAPeHAg0iVIDpA2M+hCAcXqBPU=; b=roP0CIVv/rTO6cr1DwIUHkFZ29QjCE9cEcNHT/BaB6QEPAju3aprypSqXyP9Ak7RFVN2pO LctZALEBT1oCek/9sJLlfIMbdpTwzSR9ziBhwShKVGpHo9yqYIMEFQoqcCXQkjwrw9f7yP v9f187Q+pldTz6cIZv2YRucDN92bWcGutcrqJn2RZYMJWqH5qUEhfuRQokSLwumqaM5/ZO 0DgV4ay1JnIt9BbiciIvfcIfEgNa+4d/5uHaxDaA91L3G3ZVnQ3NgdCcEqeRjn5xev/+yQ RdCUkRCW7a3gZtAnDbOUV+GF93Lam/BUeV3J2ihxpXQlxSPqoRaZg+StUJTHwQ== Message-ID-Hash: RFSFQSE53STUALRDS7I7NQHYDPMJZMZR X-Message-ID-Hash: RFSFQSE53STUALRDS7I7NQHYDPMJZMZR X-MailFrom: tomi.ollila@iki.fi X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640800054; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=uhCz8XJfh6cTzsLFihAN8lSIts3aLS9i4FUVGq2ed8U=; b=Q0u/GCSVJLz/k7IaLTy6a4VnbzZdQpvaO1SLzxmtbzUkMyqAe5bTpDtQbv9z4x37qHKmOe K7XhpbKhitwWjLd7txMPPzEN/aPI86pOd3jd+nh6fCV+gmM0yf306mLO4qSAai6yoEj+D8 lGQBqptQPOH5YVnjPrtuR877xq1AjVvnDvVelA7MsqwqYUX3jf/T9wQlgM9+awIgx66PdD W37+VpsYo3KFNVkOxGIAOKQ44hSeg2+mGTKyBI8cRzLi33rinLi1VW1h0DURIuRE6/9DVp 2A7wdG8IugI25wvPvQ7KQ9HxjqBqsi+WzXdGxRoRs3cLHnsiIN9xjFeDHLZqfA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1640800054; a=rsa-sha256; cv=fail; b=ZHZu2NQPEqEqCyVeEJh9Es7hzSk3a9dnZ9mJx+AW+g6d+pnryOHbgtRERg8eie9R0l6JCR cHf1860Wp4E//XfNkP5BYCE9EtFg+XQaoKNaeQtAWvfBHi38AVlxhipkvM4Z9TxD7YcDlk y0rrcd2SRHVXulsoxT4njzi3+dqUl5cnDsTKCV/53y6Pm3MqCYi3507NX0X70LqdOQerXV uzdg3yAC4oG5/zf9A7d355C1gTXhqZGwcKQdbUJWvIk7Qx6bjjkFDkyaUxEBAeZCzkltka LIOHmwXvL6j1jGw/ZPcLEnbhOa3ieH7QL2RkfszV8K5PpBbjTFrbOktlUADAvg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=vLu4w1Wa; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=vLu4w1Wa; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: D747D34541 X-Spam-Score: -0.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: f0heGuFL89N8 On Sat, Dec 25 2021, David Bremner wrote: > Jani reported that lines prefixed with '>' (as opposed to '> ') are > not highlighted properly [1]. David E responded with a updated regex > [2]. This change implements David E's suggestion. > > [1]: id:87a8b5pcky.fsf@nikula.org > [2]: id:m2pok1e3gv.fsf@dme.org LGTM. Tomi > --- > emacs/coolj.el | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/emacs/coolj.el b/emacs/coolj.el > index d820525b..79d2a1b7 100644 > --- a/emacs/coolj.el > +++ b/emacs/coolj.el > @@ -45,7 +45,7 @@ Otherwise respect `fill-column'." > :group 'coolj > :type 'boolean) > > -(defcustom coolj-line-prefix-regexp "^\\(>+ \\)*" > +(defcustom coolj-line-prefix-regexp "^\\(>+ ?\\)*" > "Regular expression that matches line prefixes." > :group 'coolj > :type 'regexp) > -- > 2.34.1