all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "William Payne" <mikas_n_o_s_p_a_m_493@student.liu.se>
Subject: font-locking..fails to set certain strings to bold/italics
Date: Fri, 23 Apr 2004 20:36:12 +0200	[thread overview]
Message-ID: <c6bnmo$kju$1@news.island.liu.se> (raw)

Hello, in my .emacs-file I have (among other things) this block of
"statements":

(custom-set-variables)
(custom-set-faces
 '(font-lock-comment-face ((t (:italic t :foreground "Green"))))
 '(font-lock-reference-face ((((class color) (background light))
(:foreground "LightGreen"))))
 '(font-lock-string-face ((t (:italic t :foreground "Gray"))))
 '(font-lock-keyword-face ((t (:bold t :foreground "Cyan"))))
 '(font-lock-constant-face ((t (:foreground "Yellow"))))
 '(font-lock-type-face ((t (:bold t :foreground "White"))))
 '(font-lock-variable-name-face ((t (:foreground "Yellow"))))
 '(font-lock-function-name-face ((t (:foreground "Cyan"))))
 '(font-lock-builtin-face ((t (:bold t :foreground "LightGreen")))))

My problem is that it only sets the color, it fails to set certain types of
"strings" to bold/italic as it should. I have been making a lot of changes
lately to my .emacs-file but I haven't touched this part and it used to
work. Has it to do with me adding a default font? I do that like this:

(if (eq window-system 'w32)
    (progn
      (add-to-list 'load-path "c:/emacs-21.3/cc-mode-5.30.8")
      (set-default-font
"-raster-Courier-normal-r-normal-normal-16-120-96-96-c-*-iso8859-1")
      (w32-send-sys-command ?\xf030) ; Start as maximized. Or use $
emacs --fullscreen
      ))

Please help me! I really would like to know why it stopped working.

/ William Payne

             reply	other threads:[~2004-04-23 18:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-23 18:36 William Payne [this message]
2004-04-24  1:17 ` font-locking..fails to set certain strings to bold/italics Jesper Harder
2004-04-24 14:05   ` William Payne

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='c6bnmo$kju$1@news.island.liu.se' \
    --to=mikas_n_o_s_p_a_m_493@student.liu.se \
    /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.
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.