user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: "SZEDER Gábor" <szeder.dev@gmail.com>
To: meta@public-inbox.org
Subject: syntax highlighting bug with lines containing '>'
Date: Mon, 4 Feb 2019 11:54:54 +0100	[thread overview]
Message-ID: <20190204105454.GG10587@szeder.dev> (raw)

Hi,

First of all, thanks you very much for adding syntax highlighting for
patch emails, it's fantastic!

However, I noticed that a patch I recently sent to the Git mailing
list got bogus syntax highlighting, as the added line is colored as
removed:

  https://public-inbox.org/git/20190202163421.19686-1-szeder.dev@gmail.com/  

Perhaps the '>' shell redirection operator causes troubles?  I clicked
around in the list archives, and sure enough found other occurrance of
this bug, that also seems to suggest that a '>' might be problematic
only when it's on the first added line:

  https://public-inbox.org/git/20190203210027.13272-1-svenvh@gmail.com/

Dunno, I have no idea how any of this works, so I stop spinning
theories about what could possibly be the cause.


Gábor


             reply	other threads:[~2019-02-04 10:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-04 10:54 SZEDER Gábor [this message]
2019-02-04 11:49 ` [PATCH] viewdiff: group path match to not be confused by "/dev/null" Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190204105454.GG10587@szeder.dev \
    --to=szeder.dev@gmail.com \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).