From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75877 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: colorizing empty space Date: Mon, 24 Jan 2011 12:17:51 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87zkqqb1yo.fsf@lifelogs.com> References: <87oc8la5u2.fsf@lifelogs.com> <878vzk67mi.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1295893224 28899 80.91.229.12 (24 Jan 2011 18:20:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 24 Jan 2011 18:20:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: ding@gnus.org Original-X-From: ding-owner+M24228@lists.math.uh.edu Mon Jan 24 19:20:20 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PhR1W-0004nT-W1 for ding-account@gmane.org; Mon, 24 Jan 2011 19:20:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PhR1M-000508-0E; Mon, 24 Jan 2011 12:20:08 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PhR1K-0004zz-VW for ding@lists.math.uh.edu; Mon, 24 Jan 2011 12:20:06 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PhR1J-0002Iv-Qi for ding@lists.math.uh.edu; Mon, 24 Jan 2011 12:20:06 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PhR1J-0000dh-3p for ding@gnus.org; Mon, 24 Jan 2011 19:20:05 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PhR1I-0004eB-3w for ding@gnus.org; Mon, 24 Jan 2011 19:20:04 +0100 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Jan 2011 19:20:04 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Jan 2011 19:20:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:oWU7mK3BYVNzxR6NyaIrOqe+lmM= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75877 gmane.emacs.devel:134901 Archived-At: On Mon, 20 Dec 2010 18:50:13 +0800 Chong Yidong wrote: CY> Ted Zlatanov writes: >> I wonder if there's a way to give all the lines max(paragraph lines)+1 >> width using "visual" space, so at least one "visual" space is added on >> the right (shown with x): >> >> Helloxxxx\n >> therexxxx\n >> everyonex\n >> >> which can then be colorized with the proper background. I'd like this >> to happen without actually modifying the text (so if copied it will >> retain the original content), so I was wondering if font-lock or some >> other Emacs wizardry could be used to create this "visual" space effect. CY> You could make the "xxxx\n" a display string on top of the newline CY> character. That sounds reasonable. Thank you for the hint. We'll try it in Gnus. Ted