From: Andrew J Cosgriff <ajc@bing.wattle.id.au>
Cc: ding@ifi.uio.no
Subject: Re: XEmacs & buffer-local fonts
Date: Sat, 25 Jan 1997 14:39:15 +1100 [thread overview]
Message-ID: <199701250339.OAA08064@goaway.cc.monash.edu.au> (raw)
In-Reply-To: "24 Jan 1997 15:07:09 +0100." <"m2680nw4j6.fsf"@proletcult.slip.ifi.uio.no>
Lars Magne Ingebrigtsen <larsi@ifi.uio.no> 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!!
next parent reply other threads:[~1997-01-25 3:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <"m2680nw4j6.fsf"@proletcult.slip.ifi.uio.no>
1997-01-25 3:39 ` Andrew J Cosgriff [this message]
1997-01-24 14:07 Lars Magne Ingebrigtsen
1997-01-24 15:16 ` William M. Perry
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199701250339.OAA08064@goaway.cc.monash.edu.au \
--to=ajc@bing.wattle.id.au \
--cc=ding@ifi.uio.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).