* listing available font and selecting one
@ 2014-07-22 14:07 chano
2014-07-22 21:37 ` Emanuel Berg
0 siblings, 1 reply; 2+ messages in thread
From: chano @ 2014-07-22 14:07 UTC (permalink / raw)
To: help-gnu-emacs
Hi I'm using emacs 22.1 on mac os x 10.4
I can't use code
emacs lisp(print (font-family-list))
it sends me to debugger
how can I list available fonts?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: listing available font and selecting one
2014-07-22 14:07 listing available font and selecting one chano
@ 2014-07-22 21:37 ` Emanuel Berg
0 siblings, 0 replies; 2+ messages in thread
From: Emanuel Berg @ 2014-07-22 21:37 UTC (permalink / raw)
To: help-gnu-emacs
chano <no@spam.com> writes:
> how can I list available fonts?
Try evaluate this:
(face-list)
Otherwise `M-x apropos face'.
I don't know your exact situation, but some general
thoughts:
Often it is better to change the attributes of the
faces. The faces are most of the time (but not always!)
set up in the way to express some function or
meaning. Like if something is dangerous it is not
assigned the `red-bold-face', but `the dangerous-face'
(made up examples). If you think that face doesn't look
scary enough, of course it should still be the
dangerous-face, only you should change its attributes.
You can find out what face is at point with this defun:
(defun what-face (pos)
(interactive "d")
(let ((face (or (get-char-property (point) 'read-face-name)
(get-char-property (point) 'face))))
(if face (message " Face: %s" face)
(message " No face at %d." pos) )))
--
underground experts united
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-22 21:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-22 14:07 listing available font and selecting one chano
2014-07-22 21:37 ` Emanuel Berg
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.