From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/5948 Path: main.gmane.org!not-for-mail From: William Perry Newsgroups: gmane.emacs.gnus.general Subject: Re: Proportional fonts Date: Tue, 16 Apr 1996 07:22:15 -0700 Message-ID: <199604161422.HAA00928@monolith.spry.com> References: Reply-To: wmperry@spry.com NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035146476 1884 80.91.224.250 (20 Oct 2002 20:41:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:41:16 +0000 (UTC) Cc: ding@ifi.uio.no Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id IAA01866 for ; Tue, 16 Apr 1996 08:09:30 -0700 Original-Received: from monolith.spry.com (wmperry@monolith.spry.com [198.185.2.198]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Tue, 16 Apr 1996 16:24:41 +0200 Original-Received: (from wmperry@localhost) by monolith.spry.com (8.6.12/8.6.9) id HAA00928; Tue, 16 Apr 1996 07:22:15 -0700 Original-To: ketil@ii.uib.no Errors-to: wmperry@spry.com X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7 Xref: main.gmane.org gmane.emacs.gnus.general:5948 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:5948 Ketil Z. M. writes: > > Hi, > > Is anybody using proportional fonts with Gnus? That is, except me? I > really like the look of a message in Times-Roman, with a somewhat long > line length, but I have a few problems. > > I put 'gnus-article-fill-cited-article into the > gnus-article-display-hook (I think it is). This seems to work ok, but I > have to, I think, set fill-column to some number of characters, which > means the message will jag a lot on the right side, and with lines with > lots of caps or m's the line will wrap. Ugly. Fix? Wait until XEmacs 19.15? :) Seriously, I'm working on adding some new primitives to the redisplay of XEmacs that will allow you to do pixel-based filling. Well, actually it will be any arbitrary measurement - say: I want 3em of right border, or I want 15pi, etc. Its trivial to convert between picas/pixels/inches/points/millimiters, etc. if you have the screen height/width in both millimiters and pixels, which both Emacs and XEmacs let you do. > Also, gnus-article-fill-cited-article is not intelligent enough when it > comes to recognizing tables, lists, and the like. Some simple rules > could surely be added to adress this? Though I assume tables will be > broken anyway, given the use of spaces - unless, of course, that part of > the article could be displayed in a fixed font. Same for signature. > Possible? > > Last, there's the summary buffer. Given large differences between with > of spaces, pluses, minuses, and Es, Os, etc, the indentation of articles > is close to useless. Perhaps the best thing would be to use some fixed > font in this buffer - is that at all possible? It is with XEmacs... use buffer-local faces. You can set up a face so that it is '6x13bold' in one buffer, but times-new-roman-12pt in another. Use something like: (set-face-font whatever-var-holds-the-face-you-want "6x13" gnus-summary-buffer) (set-face-font whatever-var-holds-the-face-you-want "times-new-roman-whatever-whatever-whatever-*-*-*-*-*" gnus-article-buffer) (don't you just love X LFDs?) > I use Xemacs, for the moment, but I'll change to GNU any day for the > above improvements. Comments? Suggestions? I'd say the improvements will happen in XEmacs first, since Emacs has a ways to go to catch up in the redisplay department first before this really becomes feasible. Right now it cannot handle different sized fonts very well _at all_ - it makes all lines the same height as the largest font you have assigned to a face - fairly suboptimal. :) -Bill P.