From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72929 Path: news.gmane.org!not-for-mail From: Julien Danjou Newsgroups: gmane.emacs.gnus.general Subject: A little idea for shr and table Date: Mon, 11 Oct 2010 18:59:36 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1286816396 26893 80.91.229.12 (11 Oct 2010 16:59:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Oct 2010 16:59:56 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21301@lists.math.uh.edu Mon Oct 11 18:59:54 2010 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 1P5Lj7-0007Nc-JR for ding-account@gmane.org; Mon, 11 Oct 2010 18:59:53 +0200 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 1P5Lj3-0002iH-CB; Mon, 11 Oct 2010 11:59:49 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1P5Lj2-0002i3-3C for ding@lists.math.uh.edu; Mon, 11 Oct 2010 11:59:48 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P5Lix-00084z-8z for ding@lists.math.uh.edu; Mon, 11 Oct 2010 11:59:47 -0500 Original-Received: from coquelicot-s.easter-eggs.com ([213.215.37.94]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P5Liw-0004Qs-00 for ; Mon, 11 Oct 2010 18:59:42 +0200 Original-Received: from cigue.easter-eggs.fr (cigue.easter-eggs.fr [10.0.0.33]) by rose.easter-eggs.fr (Postfix) with ESMTPS id 7F8811427B for ; Mon, 11 Oct 2010 18:59:32 +0200 (CEST) Original-Received: from jdanjou by cigue.easter-eggs.fr with local (Exim 4.72) (envelope-from ) id 1P5Liq-0004Fn-MF for ding@gnus.org; Mon, 11 Oct 2010 18:59:36 +0200 Mail-Followup-To: ding@gnus.org User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72929 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi there, I've used mm-shr for the last couple of days and I'm happy with it. I'm just sad to see that there's no images in the tables. But i've got a little idea that could work. I heard that Ted had some code to create SVG images on the fly. That could be used to just draw a couple of fixed size images to build the table (equivalent to the current |, -, +). Since we can't know the size of a char, we would know the size of the image we draw here to build the table borders. Then, it'd be possible to build table with the right column width and line height to match all embedded images, and therefore draw a cute table. Using something like (propertize "" 'display '(space . (:width 100))), we may be able to even draw borderless tables for free. Yeah, I could probably give it a try, but I think that if Lars like the idea he might want to play with it himself or just say "that won't work". ;-) =2D-=20 Julien Danjou // =E1=90=B0 http://julien.danjou.info --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkyzQngACgkQpGK1HsL+5c3NHwCfW5ItSLSUO+VnUQ9+Jtjd4V1r VxMAnRLrvtabGutB6b2zua1FIePPxNcV =YaSz -----END PGP SIGNATURE----- --=-=-=--