unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Persist background and forecolor
@ 2006-02-05  0:06 dunnil
  2006-02-05  9:37 ` Peter Dyballa
       [not found] ` <mailman.100.1139132450.2870.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: dunnil @ 2006-02-05  0:06 UTC (permalink / raw)


Hi,
How could I persist the colors? What should be in .emacs file?
I can change the the font by S-L click and set colors by M-x set*, but
can't persist them.

Thanks,
- H

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

* Re: Persist background and forecolor
  2006-02-05  0:06 Persist background and forecolor dunnil
@ 2006-02-05  9:37 ` Peter Dyballa
       [not found] ` <mailman.100.1139132450.2870.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2006-02-05  9:37 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 05.02.2006 um 01:06 schrieb dunnil:

> How could I persist the colors? What should be in .emacs file?
> I can change the the font by S-L click and set colors by M-x set*, but
> can't persist them.

         (setq initial-frame-alist '(
           (mouse-color      . "#4e3832")
           (foreground-color . "midnightblue")
           (background-color . "antiquewhite1")
           (font . "-*-*-medium-r-normal--10-*-*-*-*-*-fontset- 
hiraginomin")
           (top . 10) (left . 650) (width . 89) (height . 60)))
         (setq default-frame-alist '(
           (background-color     . "ghost white")
           (foreground-color     . "grey10")
           (cursor-color         . "purple")
           (cursor-type          . box)
           (vertical-scroll-bars . left)
           (active-alpha         . 0.875)
           (inactive-alpha       . 0.75)
           (font . "-*-*-medium-r-normal--10-*-*-*-*-*-fontset- 
hiraginokaku")
           (top . 20) (left . 150) (width . 89) (height . 56)))


--
Greetings

   Pete

Der größte Aberglaube der Gegenwart ist der Glaube an die Vorfahrt.  
(Jacques Tati)

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

* Re: Persist background and forecolor
       [not found] ` <mailman.100.1139132450.2870.help-gnu-emacs@gnu.org>
@ 2006-02-05 12:11   ` dunnil
  0 siblings, 0 replies; 3+ messages in thread
From: dunnil @ 2006-02-05 12:11 UTC (permalink / raw)


Thanks, it works like a charm.
I have just another question, how shold I enable auto-complete for a
mode?
I'm using ruby; I copied all 5 *.el [1] files to
C:\emacs-21.3\lisp\progmodes, and enabled
_global font lock_ (through the menu)
I have the syntax coloring but not auto-complete or anything else.

Here is what I've added to .emacs:
(autoload 'ruby-mode "ruby-mode" "Ruby editing mode." t)
(setq auto-mode-alist (cons '("\\.rb$" . ruby-mode) auto-mode-alist))

[1] http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/misc/

Thanks again,
- H

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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-05  0:06 Persist background and forecolor dunnil
2006-02-05  9:37 ` Peter Dyballa
     [not found] ` <mailman.100.1139132450.2870.help-gnu-emacs@gnu.org>
2006-02-05 12:11   ` dunnil

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).