unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* default face not used in frame created with C-5 2
@ 2006-11-12  4:31 Peter Gavin
  2006-11-12  9:53 ` Peter Dyballa
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Gavin @ 2006-11-12  4:31 UTC (permalink / raw)


Hello,

As the subject line says, the default face I've set in the faces
customization group isn't used when I make a new frame with C-5 2 (or
through the menu bar).  Am I doing something wrong?  I'm using the
package in Ubuntu Edgy Eft, apparently version 21-0ubuntu2 (but emacs
--version gives me 21.4.1).  This is my .emacs file:

-------- BEGIN --------
(custom-set-variables
  ;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 '(case-fold-search t)
 '(column-number-mode t)
 '(current-language-environment "UTF-8")
 '(default-input-method "rfc1345")
 '(ecb-auto-activate t)
 '(ecb-directories-menu-user-extension-function nil)
 '(ecb-history-menu-user-extension-function nil)
 '(ecb-methods-menu-user-extension-function nil)
 '(ecb-options-version "2.32")
 '(ecb-sources-menu-user-extension-function nil)
 '(ecb-tip-of-the-day nil)
 '(global-font-lock-mode t nil (font-lock))
 '(mouse-wheel-mode t nil (mwheel))
 '(show-paren-mode t nil (paren))
 '(transient-mark-mode t)
 '(uniquify-buffer-name-style (quote forward) nil (uniquify)))
(ecb-activate)
(custom-set-faces
  ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 '(default ((t (:stipple nil :background "#ffffff" :foreground
"#000000" :inverse-video nil :box nil :strike-through nil :overline
nil :underline nil :slant normal :weight normal :height 100 :width
normal :family "lucidatypewriter")))))
-------- END --------

Thanks in advance,
Pete

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: default face not used in frame created with C-5 2
  2006-11-12  4:31 default face not used in frame created with C-5 2 Peter Gavin
@ 2006-11-12  9:53 ` Peter Dyballa
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2006-11-12  9:53 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 12.11.2006 um 05:31 schrieb Peter Gavin:

> Am I doing something wrong?

I think you might be forgetting initial-frame-alist and default-frame- 
alist ... Here you can set a font or fontset to be used for the frame 
(s). I am not using a default face, I set some specialised for mode- 
line, scroll-bar ...

--
Greetings

   Pete

                (This space left blank for technical reasons.)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: default face not used in frame created with C-5 2
       [not found] <mailman.445.1163305901.2155.help-gnu-emacs@gnu.org>
@ 2006-11-12 10:18 ` Ralf Angeli
  0 siblings, 0 replies; 3+ messages in thread
From: Ralf Angeli @ 2006-11-12 10:18 UTC (permalink / raw)


* Peter Gavin (2006-11-12) writes:

> As the subject line says, the default face I've set in the faces
> customization group isn't used when I make a new frame with C-5 2 (or
> through the menu bar).

It's usually better to set the face (as well as stuff like Tool Bar
mode or Scroll Bar mode) by means of X resources.  See
(info "(emacs)Table of Resources") for an overview of resources.
You'd typically add "Emacs.Font: " followed by the XLFD of your
preferred font to your resources file.

-- 
Ralf

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-11-12 10:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-12  4:31 default face not used in frame created with C-5 2 Peter Gavin
2006-11-12  9:53 ` Peter Dyballa
     [not found] <mailman.445.1163305901.2155.help-gnu-emacs@gnu.org>
2006-11-12 10:18 ` Ralf Angeli

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 read-only IMAP folder(s) and NNTP newsgroup(s).