1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3 ;; File: dired-faces.el
6 ;; Description: rudimentary face customization support for dired
7 ;; Author: Mike Sperber <sperber@informatik.uni-tuebingen.de>
9 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
11 (provide 'dired-faces)
18 (defgroup dired-faces nil
22 (defcustom dired-do-highlighting t
23 "Set if we should use highlighting according to filetype."
27 (defcustom dired-do-interactive-permissions t
28 "Set if we should allow interactive chmod."
33 (defface dired-face-marked '((((type x pm mswindows)
35 (:background "PaleVioletRed"))
39 "Face used for marked files."
42 (defface dired-face-flagged '((((type x pm mswindows)
45 (:background "LightSlateGray"))
46 (((type x pm mswindows)
49 (:background "DarkSlateGray"
51 "Face used for flagged files."
54 (defface dired-face-directory '((((type x pm mswindows tty)
57 "Face used for directories."
60 (defface dired-face-executable '((((type x pm mswindows)
63 (:foreground "green4"))
66 (:foreground "green"))
67 (((type x pm mswindows)
70 (:foreground "green"))
73 "Face used for executables."
76 (defface dired-face-setuid '((((class color))
80 "Face used for setuid executables."
83 (defface dired-face-boring '((((type x pm mswindows)
84 (class color grayscale)
86 (:foreground "gray30"))
87 (((type x pm mswindows)
88 (class color grayscale)
90 (:foreground "gray65"))
99 (:foreground "gray65")))
100 "Face used for unimportant files."
103 (defface dired-face-permissions '((((type tty)
107 (((type x pm mswindows)
110 :background "grey75")))
111 "Face used for interactive permissions."
114 (defface dired-face-header '((t (:background "grey75"
115 :foreground "black")))
116 "Face used for directory header."
119 (defface dired-face-socket '((((class color))
120 (:foreground "magenta"))
123 "Face used to indicate sockets."
126 (defface dired-face-symlink '((((type x pm mswindows)
129 (:foreground "cyan4"))
131 (:foreground "cyan"))
134 "Face used to indicate symbolic links."
137 ;;; end of dired-faces.el