Gnus development mailing list
 help / color / mirror / Atom feed
From: Random832 <random832@fastmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: ding@gnus.org
Subject: Re: Colouring ins and del tags?
Date: Mon, 08 Feb 2016 10:24:25 -0500	[thread overview]
Message-ID: <1454945065.2541397.515126674.1709DE8E@webmail.messagingengine.com> (raw)
In-Reply-To: <87r3gng513.fsf@gnus.org>

On Mon, Feb 8, 2016, at 00:11, Lars Ingebrigtsen wrote:
> Random832 <random832@fastmail.com> writes:
> 
> > Traditionally (on web browsers, that is) <ins> is marked with underline,
> > and <del> with strike through.
> 
> Then perhaps we should just be doing that instead of adding colours,
> too?

There's a disadvantage there, that most text-mode terminals do not
support strike-through, and many don't support underline (or "support"
it with an arbitrarily chosen color, often blue). I think faces can be
set up in a way that they depend on attributes of the terminal - maybe
use underline/strikeout if supported, otherwise use colors (green/red),
and if neither is supported, use +ins+/-del- (I don't think faces can do
this, but you could use the same mechanism as file-name-shadow.)

For another data point: lynx brackets ins and del text in [DEL: deleted
:DEL] and [INS: inserted :INS]. (It also treats "s" as del, but ignores
"u")



      parent reply	other threads:[~2016-02-08 15:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-06 20:46 Adam Sjøgren
2016-02-06 20:57 ` Adam Sjøgren
2016-02-07  2:12   ` Lars Ingebrigtsen
2016-02-07 12:39     ` Adam Sjøgren
2016-02-07  2:05 ` Lars Ingebrigtsen
2016-02-07  5:16   ` Random832
2016-02-08  5:11     ` Lars Ingebrigtsen
2016-02-08  5:37       ` Adam Sjøgren
2016-02-08  5:47         ` Lars Ingebrigtsen
2016-02-08 15:24       ` Random832 [this message]

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

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

  git send-email \
    --in-reply-to=1454945065.2541397.515126674.1709DE8E@webmail.messagingengine.com \
    --to=random832@fastmail.com \
    --cc=ding@gnus.org \
    --cc=larsi@gnus.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.
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 NNTP newsgroup(s).