unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
  • [parent not found: <87ekqu9e47.fsf@telia.com>]
  • * Re: How to *completely* disable font-lock mode in my .emacs?
           [not found] <qhfzba3sx4.fsf@ruckus.brouhaha.com>
           [not found] ` <jwvad1gddzb.fsf-monnier+gnu.emacs.help@asado.iro.umontreal.ca>
           [not found] ` <87ekqu9e47.fsf@telia.com>
    @ 2004-04-28 22:46 ` Jason Rumney
      2 siblings, 0 replies; 23+ messages in thread
    From: Jason Rumney @ 2004-04-28 22:46 UTC (permalink / raw)
    
    
    Eric Smith <eric-no-spam-for-me@brouhaha.com> writes:
    
    > I'm sick of seeing light colored text on a light grey background, which
    > I cannot read.  I don't really want to customize the colors, I just want
    > them gone.  And I'm sick of manually turning off font lock mode all the
    > time.  I've tried in vain to figure out what I can put in my .emacs that
    > will prevent font lock mode from ever being used.
    
    You don't need to put something in your .emacs, you need to take
    something out. font-lock-mode is disabled by default.
    
    OTOH, you might want to look at using a different terminal emulator
    if your current one is not working correctly. You mention Windows in
    another post - PuTTY works fine with either light or dark background,
    and is a better terminal emulator in general than most of the
    alternatives on Windows.
    
    ^ permalink raw reply	[flat|nested] 23+ messages in thread
  • * Re: How to *completely* disable font-lock mode in my .emacs?
    @ 2004-04-29 17:29 Joe Corneli
      0 siblings, 0 replies; 23+ messages in thread
    From: Joe Corneli @ 2004-04-29 17:29 UTC (permalink / raw)
    
    
    You can specify all the faces and so on directly, and this seems a
    less drastic measure than disabling font-lock.  The configuration I
    use which has pretty nice results both on a black rxvt and under x
    follows.
    
    Xdefaults like so:
    
    Emacs*Background: black
    Emacs*Foreground: white
    Emacs*Font: -misc-fixed-medium-r-*-*-13-*-*-*-*-*-*-*
    Emacs*MenuBar: off
    Emacs*ToolBar: 0
    Emacs*ScrollBars: off
    Emacs*internalBorder: 2
    
    
    Custom faces like so:
    
    (custom-set-faces
      ;; custom-set-faces was added by Custom.
      ;; If you edit it by hand, you could mess it up, so be careful.
      ;; Your init file should contain only one such instance.
      ;; If there is more than one, they won't work right.
     '(bold ((nil (:foreground "light blue"))))
     '(book-result ((t (:background "darkviolet" :foreground "white" :slant normal :weight bold :height 150 :width normal :family "misc-fixed"))) t)
     '(cursor ((nil (:background "DeepPink1"))) t)
     '(diary-face ((((class color) (background dark)) (:foreground "green"))))
     '(diff-file-header-face ((((class color) (background dark)) (:background "forestgreen" :weight bold))))
     '(diff-header-face ((((class color) (background dark)) (:background "maroon"))))
     '(font-lock-builtin-face ((nil (:foreground "orange"))))
     '(font-lock-comment-face ((nil (:foreground "red"))))
     '(font-lock-function-name-face ((((type tty) (class color)) (:foreground "yellow" :weight bold))))
     '(font-lock-string-face ((((class color) (background dark)) (:foreground "goldenrod1"))))
     '(font-lock-variable-name-face ((nil (:foreground "tan"))))
     '(gnus-group-mail-3-empty-face ((((class color) (background dark)) (:foreground "chartreuse3"))))
     '(gnus-group-mail-3-face ((t (:foreground "chartreuse1" :weight bold))))
     '(holiday-face ((((class color) (background dark)) (:background "grey15"))))
     '(italic ((nil (:foreground "green"))))
     '(km-nonanon-face ((t (:foreground "purple"))))
     '(minibuffer-prompt ((t (:foreground "yellow"))))
     '(mode-line ((t (:background "pink" :foreground "black" :weight bold))))
     '(mode-line-inactive ((t (:background "grey30" :foreground "peachpuff"))))
     '(region ((((class color) (background dark)) (:background "blue4"))))
     '(w3-style-face-00005 ((t (:foreground "red" :underline nil :weight normal :family "fixed"))) t)
     '(w3-style-face-00009 ((t (:foreground "cadetblue" :underline nil :weight normal :family "fixed"))) t)
     '(w3-style-face-00010 ((t (:foreground "grey77" :underline t :weight normal :family "fixed"))) t)
     '(w3-style-face-00011 ((t (:foreground "navajowhite" :underline nil :weight normal :family "fixed"))) t)
     '(w3-style-face-00012 ((t (:foreground "cadetblue" :underline t :weight normal :family "fixed"))) t)
     '(w3-style-face-00013 ((t (:foreground "cadetblue" :underline nil :weight normal :family "fixed"))) t)
     '(w3-style-face-00014 ((t (:foreground "plum" :underline t :weight normal :family "fixed"))) t)
     '(w3-style-face-00015 ((t (:foreground "goldenrod" :underline nil :weight bold :family "fixed"))) t)
     '(w3-style-face-00017 ((t (:foreground "darkgreen" :underline nil :weight normal :height 100 :family "fixed"))) t)
     '(w3-style-face-00018 ((t (:foreground "plum" :underline nil :weight normal :height 100 :family "fixed"))) t)
     '(w3-style-face-00019 ((t (:foreground "alicewhite" :underline nil :weight normal :family "fixed"))) t)
     '(w3-style-face-00021 ((t (:foreground "darkgreen" :underline nil :weight normal :height 100 :family "fixed"))) t)
     '(w3-style-face-00030 ((t (:background "darkred" :underline nil :weight normal :family "fixed"))) t))
    
    ^ permalink raw reply	[flat|nested] 23+ messages in thread
    [parent not found: <mailman.2470.1083260541.1061.help-gnu-emacs@gnu.org>]
    [parent not found: <200404302054.i3UKsfq01028@dell3.ma.utexas.edu>]

    end of thread, other threads:[~2004-05-03 14:14 UTC | newest]
    
    Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <qhfzba3sx4.fsf@ruckus.brouhaha.com>
         [not found] ` <jwvad1gddzb.fsf-monnier+gnu.emacs.help@asado.iro.umontreal.ca>
    2004-04-27 23:15   ` How to *completely* disable font-lock mode in my .emacs? Eric Smith
    2004-04-27 23:36     ` Matthieu Moy
    2004-04-28  5:39     ` Eli Zaretskii
         [not found]     ` <mailman.2079.1083127076.1061.help-gnu-emacs@gnu.org>
    2004-04-28 22:06       ` Eric Smith
    2004-04-29  6:08         ` Eli Zaretskii
         [not found]         ` <mailman.2326.1083215256.1061.help-gnu-emacs@gnu.org>
    2004-04-29 20:01           ` LEE Sau Dan
    2004-05-02 14:04             ` Eli Zaretskii
    2004-04-30  0:26           ` Eric Smith
    2004-04-28 22:08       ` Eric Smith
    2004-04-29  0:25         ` Thien-Thi Nguyen
    2004-04-29  6:11         ` Eli Zaretskii
         [not found] ` <87ekqu9e47.fsf@telia.com>
    2004-04-27 23:26   ` Eric Smith
    2004-04-28 15:12     ` Kevin Rodgers
    2004-04-30  0:23       ` Eric Smith
    2004-04-30 18:40         ` Kevin Rodgers
    2004-05-02 14:01         ` Eli Zaretskii
         [not found]         ` <mailman.2916.1083503774.1061.help-gnu-emacs@gnu.org>
    2004-05-03 14:14           ` Stefan Monnier
    2004-04-28 22:46 ` Jason Rumney
    2004-04-29 17:29 Joe Corneli
         [not found] <mailman.2470.1083260541.1061.help-gnu-emacs@gnu.org>
    2004-04-30  0:20 ` Eric Smith
    2004-04-30 18:32   ` Kevin Rodgers
    2004-04-30 20:37     ` Stefan Monnier
         [not found] <200404302054.i3UKsfq01028@dell3.ma.utexas.edu>
    2004-05-01  0:51 ` Joe Corneli
    

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