• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/emacs-92/emacs/lisp/

Lines Matching defs:faces

55 ;; print a PostScript file, but some faces are better seeing on the screen than
71 ;; ps-print-buffer-with-faces
73 ;; ps-print-region-with-faces
75 ;; ps-spool-buffer-with-faces
77 ;; ps-spool-region-with-faces
114 ;; The -with-faces suffix on the command name means that the command will
117 ;; without the -with-faces suffix don't include font, color, or underline
127 ;; ps-spool-region-with-faces - print just the current region; include
158 ;; `ps-spool-buffer-with-faces', `ps-spool-region-with-faces', and
161 ;; (global-set-key 'f22 'ps-spool-buffer-with-faces) ;f22 is prsc
162 ;; (global-set-key '(shift f22) 'ps-spool-region-with-faces)
1037 ;; The ps-print-*-with-faces commands attempt to determine which faces should
1039 ;; example, you might want to map colors into faces so that blue faces print in
1040 ;; bold, and red faces in italic.
1042 ;; It is possible to force ps-print to consider specific faces bold, italic or
1044 ;; variables `ps-bold-faces', `ps-italic-faces' and `ps-underlined-faces'.
1045 ;; These variables contain lists of faces that ps-print should consider bold,
1049 ;; (setq ps-bold-faces '(my-blue-face))
1050 ;; (setq ps-italic-faces '(my-red-face))
1051 ;; (setq ps-underlined-faces '(my-green-face))
1062 ;; of sync, if a face changes, or if new faces are added. To get the lists
1074 ;; (face...) list of faces whose background color will be used.
1083 ;; ps-print detects faces with foreground and background colors defined and
1090 ;; on black/white printers. See also `ps-black-white-faces' for documentation.
1097 ;; attributes associated with faces. So the new attributes used by ps-print
1169 ;; 8. Print buffer text (with faces, if specified) and line number
1320 ;; auto-font detection should use the lists `ps-italic-faces', `ps-bold-faces'
1321 ;; and `ps-underlined-faces' and/or turn off automatic detection by setting
1325 ;; mode; use the lists `ps-italic-faces', `ps-bold-faces' and
1326 ;; `ps-underlined-faces' instead.
1346 ;; Add `ps-non-bold-faces' and `ps-non-italic-faces' (should be easy).
1600 :group 'faces)
2979 See also `ps-black-white-faces'.
3080 If nil, we rely solely on the lists `ps-bold-faces', `ps-italic-faces', and
3081 `ps-underlined-faces'."
3086 (defcustom ps-black-white-faces
3126 (defcustom ps-bold-faces
3133 "*A list of the \(non-bold\) faces that should be printed in bold font.
3139 (defcustom ps-italic-faces
3146 "*A list of the \(non-italic\) faces that should be printed in italic font.
3152 (defcustom ps-underlined-faces
3157 "*A list of the \(non-underlined\) faces that should be printed underlined.
3170 (face...) list of faces whose background color will be used.
3311 bold and italic faces. By setting its value back to t, you can force ps-print
3312 to rebuild the lists the next time you invoke one of the ...-with-faces
3316 face, or create new faces. Most users shouldn't have to worry about its
3326 of bold and italic faces *every* time one of the ...-with-faces commands is
3468 (ps-print-without-faces (point-min) (point-max) filename))
3472 (defun ps-print-buffer-with-faces (&optional filename)
3478 (ps-print-with-faces (point-min) (point-max) filename))
3486 (ps-print-without-faces from to filename t))
3490 (defun ps-print-region-with-faces (from to &optional filename)
3496 (ps-print-with-faces from to filename t))
3507 (ps-spool-without-faces (point-min) (point-max)))
3511 (defun ps-spool-buffer-with-faces ()
3519 (ps-spool-with-faces (point-min) (point-max)))
3529 (ps-spool-without-faces from to t))
3533 (defun ps-spool-region-with-faces (from to)
3541 (ps-spool-with-faces from to t))
3696 '(20 . ps-bold-faces)
3697 '(20 . ps-italic-faces)
3698 '(20 . ps-underlined-faces)
3699 '(20 . ps-black-white-faces)
3909 (memq face ps-bold-faces))) ; Kludge-compatible
3914 (memq face ps-italic-faces))) ; Kludge-compatible
3930 (memq face ps-bold-faces)))
3934 (memq face ps-italic-faces)))
3948 (memq face ps-underlined-faces)))
4066 (defvar ps-black-white-faces-alist nil
4067 "Alist of symbolic faces used for black/white PostScript printers.
4078 "Alist of symbolic faces *WITH* extension features (box, outline, etc).
4096 "Alist of symbolic faces *WITHOUT* extension features (box, outline, etc).
4211 ;; for faces where M-x customize has been used to save changes for the face.
4265 (defun ps-print-without-faces (from to &optional filename region-p)
4266 (ps-spool-without-faces from to region-p)
4270 (defun ps-spool-without-faces (from to &optional region-p)
4277 (defun ps-print-with-faces (from to &optional filename region-p)
4278 (ps-spool-with-faces from to region-p)
4282 (defun ps-spool-with-faces (from to &optional region-p)
4286 (ps-generate (current-buffer) from to 'ps-generate-postscript-with-faces)))
6339 (ps-black-white-faces-alist
6341 (cdr (assq face ps-black-white-faces-alist)))
6395 ;; list of faces
6438 (or (fboundp 'face-list) (defalias 'face-list 'list-faces))
6442 ;; Ensure that face database is updated with faces on
6449 (mapcar 'ps-set-face-bold ps-bold-faces)
6450 (mapcar 'ps-set-face-italic ps-italic-faces)
6451 (mapcar 'ps-set-face-underline ps-underlined-faces))
6506 (defun ps-generate-postscript-with-faces (from to)
6510 ;; Build the reference lists of faces if necessary.
6517 (setq ps-black-white-faces-alist nil)
6519 (ps-extend-face-list ps-black-white-faces nil
6520 'ps-black-white-faces-alist))
6877 (ps-spool-buffer-with-faces)))))
6987 (global-set-key [(f22)] 'ps-spool-buffer-with-faces) ;f22 is prsc
6988 (global-set-key [(shift f22)] 'ps-spool-region-with-faces)