It doesn't always work.... but try C-H K and then chose a menu
option.
Clever. I've done that before, about a billion years ago. So what I get
is that it runs:
(font-menu-set-font nil nil 140)
which by itself is not very useful if I plug it into the end of my init file.
So I went digging through the source to see where font-menu-set-font
is defined and what it's loaded from and what else is required, blah blah,
having really no idea what I'm doing, but being willing to experiement
a bit.
I figure I need to load one of the font-menu.el modules in the source
lisp directory. There are about four of them. Then I learn that the
args in font-menu-set-font are family, weight, and size. In custom.el
when I set a face, family becomes a quoted string, so I set that to
"courier". I figure weight is irrelevant, so I put nil as a placeholder,
and I'm trying to set it to 14 (whatever it is - pixels, points???), and
in the example it says 140. I don't know why the multiple of 10, but
I experimented with 120, and I eval'ed, and it sort of worked. I didn't
put it in the init file yet, just came up the way I usually do, then
eval'ed that form.
Finally, I put a of each of the font-menu modules in turn in init.el,
followed by
(font-menu-set-font "courier nil 140).
It almost works, except the alignment in shell buffers is not nice.
This all seems like a harebrained way to do what I want to do, and
probably fragile as well, but I'm almost there. And will not be deeply
upset if I can't get the last piece.
Thanks for that lead. It almost worked.
--
Lynn David Newton
Columbus, Ohio
neologisticsediting.com
lynndavidnewton.com
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta