From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72987 Path: news.gmane.org!not-for-mail From: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= Newsgroups: gmane.emacs.gnus.general Subject: Re: A little idea for shr and table Date: Tue, 12 Oct 2010 14:48:04 +0200 Message-ID: <87wrpn60hn.fsf@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1286887771 11253 80.91.229.12 (12 Oct 2010 12:49:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Oct 2010 12:49:31 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21359@lists.math.uh.edu Tue Oct 12 14:49:30 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 1P5eIJ-0004Il-Lx for ding-account@gmane.org; Tue, 12 Oct 2010 14:49:27 +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 1P5eI9-0000xO-K5; Tue, 12 Oct 2010 07:49:17 -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 1P5eI8-0000ws-1p for ding@lists.math.uh.edu; Tue, 12 Oct 2010 07:49:16 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P5eI6-0004LS-91 for ding@lists.math.uh.edu; Tue, 12 Oct 2010 07:49:15 -0500 Original-Received: from mail-bw0-f44.google.com ([209.85.214.44]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P5eI5-0003pv-00 for ; Tue, 12 Oct 2010 14:49:13 +0200 Original-Received: by bwz14 with SMTP id 14so2647483bwz.17 for ; Tue, 12 Oct 2010 05:49:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:in-reply-to :references:user-agent:date:message-id:mime-version:content-type :content-transfer-encoding; bh=guA9MtFGj8hWpAxm6nTQ7mz31M71lFGGD6jc0LdZqdw=; b=Tx0jvBg/PU1ELFxSSqh1v0xGA5aOHffJjAMCt1CcIIBrOVefxWQmiRd6+1x4uaEACq iJP5/gHjsn459uvGVJMx0k7jGM/Y8pNKBGq+NZIdD4Q0l9vHOOzhXYtgpPXRC/kBqm9o RO6hcibeOitpznD5Q1pcSwxJpzQX90YF6qvUk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type:content-transfer-encoding; b=TFOovD++4q0nVOEPDjkVWDByXfPpztgwJ3pZFNxL9T+d9VS53eoIiKkYYs8Zt957kH 5XJ9GslHGDZEnfxA3kLtAEMtC8m5dRKmx/0GV1tc4WIqEB55XUE/um25ykOLVoBfOSyX u88SQVOxc4h/fzhT0XqpJnrbOwalEtxCS4CbE= Original-Received: by 10.204.134.66 with SMTP id i2mr3123770bkt.154.1286887753011; Tue, 12 Oct 2010 05:49:13 -0700 (PDT) Original-Received: from localhost (176.119.broadband10.iol.cz [90.177.119.176]) by mx.google.com with ESMTPS id x13sm6647849bki.12.2010.10.12.05.49.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 12 Oct 2010 05:49:10 -0700 (PDT) In-Reply-To: (Julien Danjou's message of "Mon, 11 Oct 2010 18:59:36 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72987 Archived-At: Julien Danjou writes: > 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". ;-) FWIW, I like ASCII art better, so I'd prefer to at least have an option to get text-only tables if the "fancy" method becomes the default. =C5=A0t=C4=9Bp=C3=A1n