From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86794 Path: news.gmane.org!not-for-mail From: Random832 Newsgroups: gmane.emacs.gnus.general Subject: Re: Colouring ins and del tags? Date: Mon, 08 Feb 2016 10:24:25 -0500 Message-ID: <1454945065.2541397.515126674.1709DE8E@webmail.messagingengine.com> References: <87zivdin3o.fsf@tullinup.koldfront.dk> <87k2mhi8c3.fsf@gnus.org> <87r3gng513.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1454945125 28823 80.91.229.3 (8 Feb 2016 15:25:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2016 15:25:25 +0000 (UTC) Cc: ding@gnus.org To: Lars Ingebrigtsen Original-X-From: ding-owner+M35019@lists.math.uh.edu Mon Feb 08 16:25:14 2016 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aSngd-0000bn-8X for ding-account@gmane.org; Mon, 08 Feb 2016 16:25:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.85) (envelope-from ) id 1aSng3-0002if-O5; Mon, 08 Feb 2016 09:24:35 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1aSnfz-0002hy-JH for ding@lists.math.uh.edu; Mon, 08 Feb 2016 09:24:31 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1aSnfy-0000Bk-AO for ding@lists.math.uh.edu; Mon, 08 Feb 2016 09:24:31 -0600 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by quimby.gnus.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1aSnfv-0001Hz-NQ for ding@gnus.org; Mon, 08 Feb 2016 16:24:28 +0100 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 5D03820ECF for ; Mon, 8 Feb 2016 10:24:25 -0500 (EST) Original-Received: from web1 ([10.202.2.211]) by compute4.internal (MEProxy); Mon, 08 Feb 2016 10:24:25 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=H4s2YpnBWFavSiNqJFAr8s0f+QY=; b=Xn/O5z j62VeGv63woI0b3dYA0SI9BDjZOR2ltGRdmjuVYP3HuDYC3+Mtb5TLd5VwdzlIVh yd48M5xwASM7TqMB4tLT70WAq6MYKYQOawRiJFpe9NJ+LL1uuVZAPnevvl1J0Hre n1aZeHeb/X7hlMYEmAX2tgkIW8aTKVJucB3IQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=H4s2YpnBWFavSiN qJFAr8s0f+QY=; b=f/jUGKfLQToCJIwuQ3Gw1iJRXMwESj0BvllDufxxHSipj9S WT2BBl/AujrVFPhTdWJmg/4UaWbSdr5UG7AlAit1F6V7H8bN9hkVcrd0/pkZnSzh tT9zKEUi4RgUKf0ReRTo4KIZFUqSgdnshAEnWg4O47A6yi7KpdMvIozy0M7M= Original-Received: by web1.nyi.internal (Postfix, from userid 99) id 3268DAE4B7F; Mon, 8 Feb 2016 10:24:25 -0500 (EST) X-Sasl-Enc: gs0QTfVUVicVduXejqmuHNsiDvbjYvxzRuxZbIfz7+uu 1454945065 X-Mailer: MessagingEngine.com Webmail Interface - ajax-57359b3d In-Reply-To: <87r3gng513.fsf@gnus.org> X-Spam-Score: -0.1 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86794 Archived-At: On Mon, Feb 8, 2016, at 00:11, Lars Ingebrigtsen wrote: > Random832 writes: > > > Traditionally (on web browsers, that is) is marked with underline, > > and 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")