From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/9634 Path: main.gmane.org!not-for-mail From: Andrew J Cosgriff Newsgroups: gmane.emacs.gnus.general Subject: Re: XEmacs & buffer-local fonts Date: Sat, 25 Jan 1997 14:39:15 +1100 Sender: Andrew.Cosgriff@cc.monash.edu.au Message-ID: <199701250339.OAA08064@goaway.cc.monash.edu.au> References: <"m2680nw4j6.fsf"@proletcult.slip.ifi.uio.no> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035149628 19576 80.91.224.250 (20 Oct 2002 21:33:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:33:48 +0000 (UTC) Cc: ding@ifi.uio.no Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.5/8.8.5) with SMTP id QAA22670 for ; Sun, 26 Jan 1997 16:45:58 -0800 Original-Received: from VX23.CC.MONASH.EDU.AU (vx23.cc.monash.edu.au [130.194.1.23]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id ; Mon, 27 Jan 1997 01:36:40 +0100 Original-Received: from goaway.cc.monash.edu.au ("port 3828"@goaway.cc.monash.edu.au) by vaxc.cc.monash.edu.au (PMDF V5.1-5 #16291) with ESMTP id <01IEMTHADUXO971B92@vaxc.cc.monash.edu.au>; Sat, 25 Jan 1997 14:39:15 +1100 Original-Received: (ajc@localhost) by goaway.cc.monash.edu.au (8.8.4/8.6.4) id OAA08064; Sat, 25 Jan 1997 14:39:15 +1100 (EST) In-reply-to: "24 Jan 1997 15:07:09 +0100." <"m2680nw4j6.fsf"@proletcult.slip.ifi.uio.no> Original-To: Lars Magne Ingebrigtsen X-Attribution: ajc X-URI: X-Face: PBPJ+.AE`FBN4$}HrwwEhJ)x?-5$MQ%Z)svNR@Q\WG6[GDr,}a@8ULwGWBsk,Pqxm!Z- Xref: main.gmane.org gmane.emacs.gnus.general:9634 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:9634 Lars Magne Ingebrigtsen wrote: >I just decided that I wanted the article buffer to use a proportional >font. I thought that would be a breeze, but after reading the XEmacs >manual some, it doesn't seem like a simple thing to do. I must be >overlooking something. > >So I did this, and it works, but it's slow. So... What's the *real* >way of doing something like this? I've no idea - i use a really quick gross hack like this to get a fixed width font in a "term" buffer (or dired or C...) (if (eq (device-type) 'x) (add-hook 'term-mode-hook (lambda () (mapcar (lambda (face) (set-face-font face "-*-lucida sans typewriter-medium-*-*-*-12-*-*-*-*-*-*-*" (current-buffer))) '(default bold term-underline-face font-lock-function-name-face font-lock-type-face font-lock-variable-name-face font-lock-keyword-face)) (make-face-bold 'bold) ))) I'm also keen to hear better/more general ideas :) Andrew -- - Andrew J. Cosgriff - ajc@bing.wattle.id.au (PGP/MIME ok) +61 3 9905 1165 (bh) http://www-personal.monash.edu.au/~ajc WHOA!! Ken and Barbie are having TOO MUCH FUN!! It must be the NEGATIVE IONS!!