From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id EFEE61F4BD; Tue, 8 Oct 2019 21:53:21 +0000 (UTC) Date: Tue, 8 Oct 2019 21:53:21 +0000 From: Eric Wong To: Konstantin Ryabitsev Cc: Alyssa Ross , meta@public-inbox.org, Amitai Schleier Subject: [PATCH] TODO: add an item for Python pygments Message-ID: <20191008215321.GA23962@dcvr> References: <20190924200551.31014-1-hi@alyssa.is> <20190926015953.GA4445@dcvr> <20190926131836.GB10467@chatter.i7.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190926131836.GB10467@chatter.i7.local> List-Id: Konstantin Ryabitsev wrote: > On Thu, Sep 26, 2019 at 01:59:53AM +0000, Eric Wong wrote: > > I had my reservations about relying on highlight.pm; and this > > confirms them, unfortunately :< Oh well... > > I was also unable to find highlight.pm anywhere outside of Debian packages. > > > I wonder if pygments or any other code highlighting packages are > > more stable. We'd need to use a pipe or socket to interact with > > pygments or anything w/o Perl bindings. > > I'd be quite happy to be able to use pygments! Can you write the Python glue? :> -----------8<---------- Subject: [PATCH] TODO: add an item for Python pygments Pygments seems to be a popular highlighter and widely available, so we'll be providing support for that at some point... Link: https://public-inbox.org/meta/20190926131836.GB10467@chatter.i7.local/ Link: https://public-inbox.org/meta/874l0zt7sd.fsf@alyssa.is/ --- TODO | 3 +++ 1 file changed, 3 insertions(+) diff --git a/TODO b/TODO index 93054bb3..566e0a40 100644 --- a/TODO +++ b/TODO @@ -115,3 +115,6 @@ all need to be considered for everything we introduce) * support searching based on `git-patch-id --stable` to improve bidirectional mapping of commits <=> emails + +* pygments support - via Python script similar to `git cat-file --batch' + to avoid startup penalty. pygments.rb (Ruby) can be inspiration, too.