From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67137 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.gnus.general Subject: Re: variable-width font in summary buffer? Date: Sun, 06 Jul 2008 12:09:34 +0900 Message-ID: <878wwf4sk1.fsf@catnip.gol.com> References: <871w28a44q.fsf@mcbain.luannocracy.com> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1215313859 20411 80.91.229.12 (6 Jul 2008 03:10:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Jul 2008 03:10:59 +0000 (UTC) Cc: ding@gnus.org To: David Abrahams Original-X-From: ding-owner+M15597@lists.math.uh.edu Sun Jul 06 05:11:45 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 1KFKfA-0000J7-Uu for ding-account@gmane.org; Sun, 06 Jul 2008 05:11:45 +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 1KFKdJ-0000Y1-Rh; Sat, 05 Jul 2008 22:09: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 1KFKdH-0000Xn-7I for ding@lists.math.uh.edu; Sat, 05 Jul 2008 22:09:47 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KFKdD-0005cU-Kq for ding@lists.math.uh.edu; Sat, 05 Jul 2008 22:09:47 -0500 Original-Received: from smtp11.dentaku.gol.com ([203.216.5.73]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1KFKdW-00084E-00 for ; Sun, 06 Jul 2008 05:10:03 +0200 Original-Received: from 218.33.235.146.eo.eaccess.ne.jp ([218.33.235.146] helo=catnip.gol.com) by smtp11.dentaku.gol.com with esmtpa (Dentaku) id 1KFKd7-0000Cv-3P; Sun, 06 Jul 2008 12:09:37 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 4DEE02F3A; Sun, 6 Jul 2008 12:09:35 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: <871w28a44q.fsf@mcbain.luannocracy.com> (David Abrahams's message of "Sat, 05 Jul 2008 08:48:21 -0400") Original-Lines: 26 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-Spam-Score: 0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67137 Archived-At: 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. 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. -Miles -- We have met the enemy, and he is us. -- Pogo