From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67138 Path: news.gmane.org!not-for-mail From: David Abrahams Newsgroups: gmane.emacs.gnus.general Subject: Re: variable-width font in summary buffer? Date: Sat, 05 Jul 2008 23:25:44 -0400 Message-ID: <87mykv7kxz.fsf@mcbain.luannocracy.com> References: <871w28a44q.fsf@mcbain.luannocracy.com> <878wwf4sk1.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1215314773 21889 80.91.229.12 (6 Jul 2008 03:26:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Jul 2008 03:26:13 +0000 (UTC) Cc: ding@gnus.org To: Miles Bader Original-X-From: ding-owner+M15598@lists.math.uh.edu Sun Jul 06 05:26:59 2008 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.50) id 1KFKtt-0002Dy-SC for ding-account@gmane.org; Sun, 06 Jul 2008 05:26:58 +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 1KFKss-0000ew-Ae; Sat, 05 Jul 2008 22:25:54 -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 1KFKsr-0000ea-1h for ding@lists.math.uh.edu; Sat, 05 Jul 2008 22:25:53 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KFKsn-0005eT-GN for ding@lists.math.uh.edu; Sat, 05 Jul 2008 22:25:52 -0500 Original-Received: from boost-consulting.com ([206.71.190.141]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1KFKt7-0008PG-00 for ; Sun, 06 Jul 2008 05:26:09 +0200 Original-Received: from mcbain.luannocracy.com.boostpro.com (207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com [207.172.223.249]) (Authenticated sender: dave) by boost-consulting.com (Postfix) with ESMTPSA id BD95C1CC27; Sat, 5 Jul 2008 20:21:23 -0700 (PDT) In-Reply-To: <878wwf4sk1.fsf@catnip.gol.com> (Miles Bader's message of "Sun, 06 Jul 2008 12:09:34 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Spam-Score: 0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67138 Archived-At: on Sat Jul 05 2008, Miles Bader wrote: > David Abrahams writes: >> I'd like to use a variable-width font in my summary buffers, but it >> seems that, especially when displaying threads, much of what Gnus does there >> depends on a monospaced font. >> >> Is anyone successfully using a variable-pitch font in the summary >> buffer, and if so, do you have any configuration tips? > > It shouldn't be that hard if gnus maintains lets you add text-properties > to the summary-buffer format string. If it does, you could add display > properties like (space :align-to COLUMN) instead of using spaces for > padding. Hi Miles, That's an interesting idea. Do you have any pointers that might help me discover how to do that? I'm a longtime emacs user but this sounds like a bit of a stretch for me to figure out on my own. > Actually, gnus probably ought to have a format spec that allows doing > this simply. > > E.g., it could use %N| to add a space which aligns to column N ("%45|" > would align to column 45). > > Perhaps just "%|" (without a column) could auto-calculate the column > based on the calculated "fixed-width" position. That sounds like a neat feature idea, but probably not much use to someone not equipped to develop Gnus features(?) Thanks for replying, -- Dave Abrahams BoostPro Computing http://www.boostpro.com