From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75909 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: colorizing empty space Date: Mon, 24 Jan 2011 15:14:55 -0800 Organization: Programmerer Ingebrigtsen Message-ID: <874o8xnbbk.fsf@gnus.org> References: <87oc8la5u2.fsf@lifelogs.com> <878vzk67mi.fsf@stupidchicken.com> <87zkqqb1yo.fsf@lifelogs.com> <87sjwine1r.fsf@gnus.org> <878vy9nbwu.fsf@gnus.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1295911053 27943 80.91.229.12 (24 Jan 2011 23:17:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 24 Jan 2011 23:17:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: ding@gnus.org Original-X-From: ding-owner+M24260@lists.math.uh.edu Tue Jan 25 00:17:29 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 1PhVf7-0000IM-Gd for ding-account@gmane.org; Tue, 25 Jan 2011 00:17:29 +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 1PhVez-00008a-Db; Mon, 24 Jan 2011 17:17:21 -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 1PhVdE-00007P-TJ for ding@lists.math.uh.edu; Mon, 24 Jan 2011 17:15:32 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PhVdA-0003iI-NO for ding@lists.math.uh.edu; Mon, 24 Jan 2011 17:15:32 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PhVdA-0005IF-1C for ding@gnus.org; Tue, 25 Jan 2011 00:15:28 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PhVd4-0007fG-HK for ding@gnus.org; Tue, 25 Jan 2011 00:15:22 +0100 Original-Received: from baybryj.net ([198.144.208.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Jan 2011 00:15:22 +0100 Original-Received: from larsi by baybryj.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Jan 2011 00:15:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 42 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: baybryj.net Mail-Copies-To: never User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:4Jb+DGA8jNgWqYo473dv35UKGGs= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75909 gmane.emacs.devel:134912 Archived-At: --=-=-= Content-Type: text/plain Lars Ingebrigtsen writes: > Uhm... or perhaps Emacs respects text with properties as the display > property... yeah... I'll try that, then. That works. Here's my test case: --=-=-= Content-Type: text/html Content-Disposition: inline
Little text
This is a text.
More
More text
--=-=-= Content-Type: text/plain The problem is, though, that this doesn't really solve anything. Whether you put a `display' property on the text, or you pad it with spaces, the result is much the same: If you kill'n'yank the text to a different buffer, and want to use it there, you still have to deal with the pesky extra padding. With the `display' hack it's even worse, because there's not obvious way to get rid of the padding. So I think this approach isn't quite workable. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen --=-=-=--