all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* problem customising Emacs using m-x set-face-display
@ 2006-04-26 21:47 brent
  2006-04-26 22:10 ` Peter Dyballa
  0 siblings, 1 reply; 2+ messages in thread
From: brent @ 2006-04-26 21:47 UTC (permalink / raw)


Hi,

I am trying to set up a .emacs file to customise the 'default' face and the
main 'menu' at start up. I am a new Emacs user and fairly new to GNU Linux.

I have created the .emacs file via the command, m-x set-face-display.
This command allows me to activate customisation buffers to modify the 
foreground and background colours and the font sizes for both the 'default' 
face and the 'menu' face.

If I try 'Set for current Session', then all the changes work fine. If I try 
'Save for future Sessions' and then shutdown and restart Emacs, then I find 
that the colour changes work but the fonts fail to re-size.

Am I doing something wrong?

thanks,
Brent


my system details,

Mandrake Linux 10.1 Community Edition,  
kernel compiled from source, version 2.6.8.1-26mdk 
KDE version 3.2.3
Emacs --version GNU Emacs 21.3.2

The complete listing for the generated .emacs file is as follows,

 (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.
 '(pc-select-meta-moves-sexps t)
 '(pc-select-selection-keys-only t)
 '(pc-selection-mode t t))
(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 "lightyellow" :foreground 
"black" :inverse-video nil :box nil 
   :strike-through nil :overline nil :underline nil 
   :slant normal :weight normal :height 150 
   :width expanded :family "misc-fixed"))))
 '(menu ((t (:background "cyan" :foreground "red" :weight normal :family 
"misc-fixed")))))

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

* Re: problem customising Emacs using m-x set-face-display
  2006-04-26 21:47 problem customising Emacs using m-x set-face-display brent
@ 2006-04-26 22:10 ` Peter Dyballa
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Dyballa @ 2006-04-26 22:10 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 26.04.2006 um 23:47 schrieb brent:

> If I try 'Set for current Session', then all the changes work fine.  
> If I try
> 'Save for future Sessions' and then shutdown and restart Emacs,  
> then I find
> that the colour changes work but the fonts fail to re-size.

You could try to add:

	(setq default-frame-alist '(
	  (font . "fontset-11pt_adobe_courier")
;	   (font . "-adobe-courier-medium-r-*-11-*-iso10646-1")
	))

or use an X resource to specify font and size:

	Emacs*font:     -*-lucidatypewriter-medium-r-*-*-10-*-*-*-m-*- 
iso10646-1

--
Greetings

   Pete

The light at the end of the tunnel has been turned off due to budget  
cuts.

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

end of thread, other threads:[~2006-04-26 22:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-26 21:47 problem customising Emacs using m-x set-face-display brent
2006-04-26 22:10 ` Peter Dyballa

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.