annotate lisp/efs/dired-faces.el @ 40:7e54bd776075 r19-15b103

Import from CVS: tag r19-15b103
author cvs
date Mon, 13 Aug 2007 08:54:25 +0200
parents 4103f0995bd7
children 8b8b7f3559a2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
2 ;;
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
3 ;; File: dired-faces.el
40
7e54bd776075 Import from CVS: tag r19-15b103
cvs
parents: 24
diff changeset
4 ;; Dired Version: $Revision: 1.2 $
24
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
5 ;; RCS:
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
6 ;; Description: rudimentary face customization support for dired
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
7 ;; Author: Mike Sperber <sperber@informatik.uni-tuebingen.de>
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
8 ;;
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
9 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
10
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
11 (provide 'dired-faces)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
12
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
13 (require 'custom)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
14
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
15 ;;; Variables
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
16
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
17 (defgroup dired nil
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
18 "Directory editing."
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
19 :group 'emacs)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
20
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
21 (defcustom dired-do-highlighting t
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
22 "Set if we should use highlighting according to filetype."
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
23 :type 'boolean
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
24 :group 'dired)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
25
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
26 (defcustom dired-do-interactive-permissions t
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
27 "Set if we should allow interactive chmod."
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
28 :type 'boolean
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
29 :group 'dired)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
30
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
31 (defface dired-face-marked '((((class color))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
32 (:background "PaleVioletRed"))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
33 (t (:underline t)))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
34 "Face used for marked files."
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
35 :group 'dired)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
36
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
37 (defface dired-face-flagged '((((class color))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
38 (:background "LightSlateGray"))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
39 (t (:underline t)))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
40 "Face used for flagged files."
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
41 :group 'dired)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
42
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
43 (defface dired-face-directory '((t (:bold t)))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
44 "Face used for directories."
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
45 :group 'dired)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
46
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
47 (defface dired-face-executable '((((class color))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
48 (:foreground "SeaGreen"))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
49 (t (:bold t)))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
50 "Face used for executables."
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
51 :group 'dired)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
52
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
53 (defface dired-face-setuid '((((class color))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
54 (:foreground "Red"))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
55 (t (:bold t)))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
56 "Face used for setuid executables."
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
57 :group 'dired)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
58
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
59 (defface dired-face-boring '((((class color))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
60 (:foreground "Grey"))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
61 (((class grayscale))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
62 (:foreground "Grey")))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
63 "Face used for unimportant files."
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
64 :group 'dired)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
65
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
66 (defface dired-face-permissions '((t (:background "grey75")
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
67 (:foreground "black")))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
68 "Face used for interactive permissions."
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
69 :group 'dired)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
70
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
71 (defface dired-face-socket '((((class color))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
72 (:foreground "magenta"))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
73 (t (:bold nil)))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
74 "Face used to indicate sockets."
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
75 :group 'dired)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
76
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
77 (defface dired-face-symlink '((((class color))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
78 (:foreground "cyan"))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
79 (t (:bold t)))
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
80 "Face used to indicate symbolic links."
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
81 :group 'dired)
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
82
4103f0995bd7 Import from CVS: tag r19-15b95
cvs
parents:
diff changeset
83 ;;; end of dired-faces.el