unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Todd Wylie <twylie@watson.wustl.edu>
Subject: Re: Cursor colour
Date: 26 Sep 2002 08:36:27 -0500	[thread overview]
Message-ID: <il65wslvok.fsf@linus13.wustl.edu> (raw)
In-Reply-To: uvg4s3n92.fsf@icn.siemens.it


>Another request: does anyone have a sample .emacs where the background
>colour is black and the syntax is nice... please

Here is a very simple .emacs example that will set bg black and cursor color etc. -- it also tries to color syntax for major modes...

Good luck.
----------------------------------


;; DEFAULT COLORS
;; undo to return to normal white bg, black text, etc.
(set-foreground-color "grey")
(set-background-color "black")
(set-cursor-color "white")

;; AUTOMATICALLY FONT-LOCK FOR MAJOR MODES
(cond ((fboundp 'global-font-lock-mode)
       ;; Turn on font-lock in all modes that support it
       (global-font-lock-mode t)
       ;; Maximum colors
       (setq font-lock-maximum-decoration t)))

  reply	other threads:[~2002-09-26 13:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-26 13:15 Cursor colour Davide Viti
2002-09-26 13:36 ` Todd Wylie [this message]
2002-09-26 13:47 ` Gilbert Harman
2002-09-26 23:18 ` Kevin Rodgers

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=il65wslvok.fsf@linus13.wustl.edu \
    --to=twylie@watson.wustl.edu \
    /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.
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).