• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/lisp/

Lines Matching +refs:default +refs:value

189 ;;       `ps-printer-name' takes its initial value from the variable
191 ;; Emacs is running and takes its initial value in accordance with this
201 ;; feeding takes place. The default is nil (automatic feeding).
204 ;; inserted at end of PostScript generated. Non-nil means do so. The default
228 ;; `ps-paper-type', instead it uses the default paper size. If variable
232 ;; Printers). The default value is non-nil (it gives an error).
254 ;; printing (that is, the page is rotated by 180 grades). The default value is
263 ;; is greater than TO. Otherwise, it's treated as nil. The default value is
284 ;; Any other value is treated as nil. The default value is nil.
345 ;; page; the default headers contain the following four items: on the left, the
347 ;; directory; on the right, the page number and date of printing. The default
370 ;; The default is 0 ("black").
373 ;; fore-color). The default is 0.9 ("gray90").
376 ;; The default is 0 ("black").
379 ;; The default is 0 ("black").
382 ;; The default is 0.4.
386 ;; Don't change this alist directly, instead use customization, or `ps-value',
401 ;; Any other value is treated as t. The default value is `duplex'.
432 ;; added by ps-print, and should not be part of the returned value.
497 ;; By default `ps-print-prologue-header' is nil.
527 ;; By default `ps-user-defined-prologue' is nil.
561 ;; This is the default value.
572 ;; Any other value is treated as `paper'.
596 ;; Any other value is treated as nil.
598 ;; The default value is `lpr-switches'.
615 ;; non-nil. The default value is nil.
625 ;; The default for `ps-banner-page-when-duplexing' is nil (*don't* skip the
633 ;; paper. The value specified must be between 1 and 100. The default is 1.
636 ;; set to a high value (for example, 23). If this happens, set a lower value.
639 ;; sheet border and the n-up printing. The default is 1 cm (or 0.3937 inches,
643 ;; page. The default is t.
665 ;; Any other value is treated as `left-top'.
667 ;; The default value is left-top.
679 ;; 8-bit This is the value to use when you want an ASCII encoding of
684 ;; control-8-bit This is the value to use when you want an ASCII encoding of
696 ;; Any other value is treated as nil.
698 ;; The default is `control-8-bit'.
713 ;; non-nil means do so. The default is nil (don't number each line).
716 ;; See `ps-zebra-color' for documentation. The default is "black" (or 0.0, or
720 ;; The default is "Times-Italic".
723 ;; for line number. See `ps-font-size' for documentation. The default is 6.
741 ;; value 1.
746 ;; Any other value is treated as `zebra'.
747 ;; The default value is 1, so each line number is printed.
768 ;; * If `ps-line-number-step' is an integer, must be between 1 and the value
772 ;; value of `ps-zebra-stripe-height' inclusive.
774 ;; The default value is 1, so the line number of the first line of each
798 ;; `ps-zebra-stripe-height', which is 3 by default. The distance between
802 ;; Non-nil means yes, nil means no. The default is nil.
808 ;; The default is 0.95 (or "gray95", or '(0.95 0.95 0.95)).
842 ;; Any other value is treated as nil.
884 ;; ordinary text. If its value does not correspond to a known font family, an
889 ;; ordinary text, when generating PostScript. Its value is a float or a cons
905 ;; default value is 0 (zero = no line spacing).
909 ;; `ps-font-size'). The default value is 0 (zero = no paragraph spacing).
915 ;; should be a regexp or nil. The default value is "[ \t]*$", that is, an
930 ;; no cutting occurs. By default, both variables are set to nil.
976 ;; if you don't want to load ps-print, you have to copy the whole value:
1076 ;; Any other value will be treated as t.
1077 ;; The default value is nil.
1085 ;; The default foreground and background colors are defined by the variables
1086 ;; `ps-default-fg' and `ps-default-bg'.
1219 ;; `ps-time-stamp-locale-default'
1663 Any other value is treated as `paper'."
1734 (symbol-value 'printer-name))
1737 On Unix-like systems, a string value should be a name understood by lpr's -P
1738 option; a value of nil means use the value of `printer-name' instead.
1740 On MS-DOS and MS-Windows systems, a string value is taken as the name of the
1742 `ps-lpr-command' is \"\". By default it is the same as `printer-name'; typical
1743 non-default settings would be \"LPT1\" to \"LPT3\" for parallel printers, or
1753 Any other value is treated as t, that is, an empty printer name.
1786 Any value that is not a string is treated as nil.
1799 On MS-DOS and MS-Windows systems, if the value is an empty string then Emacs
1891 (if (assq (widget-value wid)
1967 Any other value is treated as nil.
2012 `8-bit' This is the value to use when you want an ASCII encoding of
2017 `control-8-bit' This is the value to use when you want an ASCII encoding of
2029 Any other value is treated as nil."
2043 (if (and (< 0 (widget-value wid))
2044 (<= (widget-value wid) 100))
2087 Any other value is treated as `left-top'."
2122 (number :tag "Gray Scale" :value 0.95)
2123 (string :tag "Color Name" :value "gray95")
2124 (list :tag "RGB Color" :value (0.95 0.95 0.95)
2165 Any other value is treated as nil."
2198 value 1.
2203 Any other value is treated as `zebra'."
2231 * If `ps-line-number-step' is an integer, must be between 1 and the value of
2235 value of `ps-zebra-strip-height' inclusive. Use this combination if you
2258 ROTATION is the image rotation angle; if nil, the default is 0.
2267 programming that returns a float or integer value.
2275 (choice :tag "X" (const :tag "default" nil) number string)
2276 (choice :tag "Y" (const :tag "default" nil) number string)
2277 (choice :tag "X Scale" (const :tag "default" nil) number string)
2278 (choice :tag "Y Scale" (const :tag "default" nil) number string)
2279 (choice :tag "Rotation" (const :tag "default" nil) number string)
2306 If nil, the default is 0.85.
2318 programming that returns a float or integer value.
2326 (choice :tag "X" (const :tag "default" nil) number string)
2327 (choice :tag "Y" (const :tag "default" nil) number string)
2328 (choice :tag "Font" (const :tag "default" nil) string)
2329 (choice :tag "Fontsize" (const :tag "default" nil) number string)
2330 (choice :tag "Gray" (const :tag "default" nil) number string)
2331 (choice :tag "Rotation" (const :tag "default" nil) number string)
2424 By default, the header displays the buffer name, page number, and, if the
2465 Don't change this alist directly, instead use customization, or `ps-value',
2475 (number :tag "Gray Scale" :value 0.0)
2476 (string :tag "Color Name" :value "black")
2477 (list :tag "RGB Color" :value (0.0 0.0 0.0)
2485 (number :tag "Gray Scale" :value 0.9)
2486 (string :tag "Color Name" :value "gray90")
2487 (list :tag "RGB Color" :value (0.9 0.9 0.9)
2493 (number :tag "Border Width" :value 0.4))
2498 (number :tag "Gray Scale" :value 0.0)
2499 (string :tag "Color Name" :value "black")
2500 (list :tag "RGB Color" :value (0.0 0.0 0.0)
2508 (number :tag "Gray Scale" :value 0.0)
2509 (string :tag "Color Name" :value "black")
2510 (list :tag "RGB Color" :value (0.0 0.0 0.0)
2525 By default, the footer displays page number.
2546 Don't change this alist directly, instead use customization, or `ps-value',
2557 (number :tag "Gray Scale" :value 0.0)
2558 (string :tag "Color Name" :value "black")
2559 (list :tag "RGB Color" :value (0.0 0.0 0.0)
2567 (number :tag "Gray Scale" :value 0.9)
2568 (string :tag "Color Name" :value "gray90")
2569 (list :tag "RGB Color" :value (0.9 0.9 0.9)
2575 (number :tag "Border Width" :value 0.4))
2580 (number :tag "Gray Scale" :value 0.0)
2581 (string :tag "Color Name" :value "black")
2582 (list :tag "RGB Color" :value (0.0 0.0 0.0)
2590 (number :tag "Gray Scale" :value 0.0)
2591 (string :tag "Color Name" :value "black")
2592 (list :tag "RGB Color" :value (0.0 0.0 0.0)
2626 Any other value is treated as t.
2663 Any other value is treated as nil.
2682 ; so default to nil.
2931 (number :tag "Gray Scale" :value 0)
2932 (string :tag "Color Name" :value "black")
2933 (list :tag "RGB Color" :value (0 0 0)
2981 Any other value is treated as t."
2990 (defcustom ps-default-fg 'frame-parameter
2991 "*RGB values of the default foreground color.
2993 The `ps-default-fg' variable contains the default foreground color used by
2995 color, the `ps-default-fg' color should be used.
3003 NUMBER It's a real value between 0.0 (black) and 1.0 (white) that
3017 Any other value is ignored and black color will be used.
3024 (number :tag "Gray Scale" :value 0.0)
3025 (string :tag "Color Name" :value "black")
3026 (list :tag "RGB Color" :value (0.0 0.0 0.0)
3033 (defcustom ps-default-bg 'frame-parameter
3034 "*RGB values of the default background color.
3036 The `ps-default-bg' variable contains the default background color used by
3038 color, the `ps-default-bg' color should be used.
3046 NUMBER It's a real value between 0.0 (black) and 1.0 (white) that
3060 Any other value is ignored and white color will be used.
3069 (number :tag "Gray Scale" :value 1.0)
3070 (string :tag "Color Name" :value "white")
3071 (list :tag "RGB Color" :value (1.0 1.0 1.0)
3172 Any other value will be treated as t."
3188 The value should be a list of strings and symbols, each representing an entry
3196 string to be inserted into the array. For symbols with bound values, the value
3198 variable, the string value has PostScript string delimiters added to it.
3209 'ps-time-stamp-locale-default 'ps-time-stamp-hh:mm:ss)
3218 `ps-time-stamp-locale-default' Return the locale's \"preferred\" date
3243 The value should be a list of strings and symbols, each representing an entry
3251 string to be inserted into the array. For symbols with bound values, the value
3253 variable, the string value has PostScript string delimiters added to it.
3264 'ps-time-stamp-locale-default 'ps-time-stamp-hh:mm:ss)
3273 `ps-time-stamp-locale-default' Return the locale's \"preferred\" date
3301 By default, `ps-adobe-tag' contains the standard identifier. Some printers
3310 ps-print sets this value to nil after it builds its internal reference lists of
3311 bold and italic faces. By setting its value back to t, you can force ps-print
3315 You should set this value back to t after you change the attributes of any
3350 By default, this directory is the same as in the variable `data-directory'."
3432 "Latest `ps-selected-pages' value.")
3436 "Restore latest `ps-selected-pages' value."
3619 '(17 . ps-default-fg)
3620 '(17 . ps-default-bg)
3743 (val (symbol-value sym)))
3752 (ps-value-string val))))
3757 (defun ps-value-string (val)
3769 (defun ps-comment-string (str value)
3771 (format ";; %s = %s" str (ps-value-string value)))
3774 (defun ps-value (alist-sym key)
3775 "Return value from association list ALIST-SYM which car is `eq' to KEY."
3776 (cdr (assq key (symbol-value alist-sym))))
3781 (assq key (symbol-value alist-sym)))
3784 (defun ps-put (alist-sym key value)
3788 (let ((elt: (assq key (symbol-value alist-sym)))) ; to avoid name conflict
3790 (setcdr elt: value)
3791 (setq elt: (cons key value))
3792 (set alist-sym (cons elt: (symbol-value alist-sym))))
3798 (let ((a:list: (symbol-value alist-sym)) ; to avoid name conflict
3809 (symbol-value alist-sym))
3812 (defun ps-time-stamp-locale-default ()
3873 (ps-x-face-font-instance 'default)))
3941 ;; Scale 16-bit X-COLOR-VALUE to PostScript color value in [0, 1] interval.
3942 (mapcar #'(lambda (value) (/ value ps-print-color-scale))
4007 (defvar ps-default-foreground nil)
4008 (defvar ps-default-background nil)
4009 (defvar ps-default-color nil)
4176 (ps-face (cdr (assq face-name (symbol-value alist-sym))))
4190 (symbol-value alist-sym))))))
4209 ;; Users then changed the default face attributes by setting that variable.
4210 ;; However, we try and be back-compatible and respect its value if set except
4215 (and (boundp 'font-lock-mode) (symbol-value 'font-lock-mode)
4217 (let ((face-attributes (symbol-value 'font-lock-face-attributes)))
4350 This is the value that ps-print uses to determine the height,
4358 This is the value that ps-print uses to determine the height,
4366 This value is used in expanding tab characters."
4371 This is the value that ps-print uses to determine the length,
4659 (prompt (format "Save PostScript to file (default %s): " name))
4660 (res (read-file-name prompt default-directory name nil)))
4832 (concat "(" (symbol-value (car content)) ")"))
4873 (ps-output-string (ps-mule-encode-header-string (symbol-value content)
4949 (defun ps-float-format (value &optional default)
4950 (let ((literal (or value default)))
5202 ;; So, we use the special value `pag' in the `landscape' field.
5465 KIND is a valid value of `ps-n-up-filling'.
5631 (ps-format-color ps-default-background 1.0)
5748 (defun ps-format-color (color &optional default)
5759 (ps-float-format (if (numberp the-color) the-color default)))))
5822 (ps-get-size (symbol-value font-sym) "font size" font-sym))
5825 (defun ps-rgb-color (color unspecified default)
5843 ;; ok, use the default
5845 (list default default default))))
5917 ps-default-background (ps-rgb-color
5921 ((eq ps-default-bg 'frame-parameter)
5923 ((eq ps-default-bg t)
5924 (ps-face-background-name 'default))
5926 ps-default-bg))
5929 ps-default-foreground (ps-rgb-color
5933 ((eq ps-default-fg 'frame-parameter)
5935 ((eq ps-default-fg t)
5936 (ps-face-foreground-name 'default))
5938 ps-default-fg))
5941 ps-default-color (and (eq ps-print-color-p t) ps-default-foreground)
5942 ps-current-color ps-default-color
5954 (equal ps-default-background ps-default-foreground)
5957 "`ps-default-fg' and `ps-default-bg' have the same color.\n"
6158 (setq ps-current-color (or color ps-default-foreground))
6182 The default value is a table that translates non-Latin-1 Latin characters
6191 (let ((fg (or fg-color ps-default-foreground)))
6337 If FACE is not a valid face name, use default face."
6346 (let* ((the-face (if (facep face) face 'default))
6348 (or (and (eq the-face 'default)
6425 ps-default-color))
6500 (cond ((and (boundp 'jit-lock-mode) (symbol-value 'jit-lock-mode))
6502 ((and (boundp 'lazy-lock-mode) (symbol-value 'lazy-lock-mode))
6526 (let ((face 'default)
6569 'default)
6592 ;; which is inactive according to the current value
6605 (t 'default)))
6756 (not (symbol-value 'ps-spool-buffer)))
6773 (symbol-value 'printer-name))))
6797 ((symbolp arg) (symbol-value arg))
6870 (defun ps-print-message-from-summary (summary-buffer summary-default)
6872 (symbol-value summary-buffer))
6873 summary-default)))
7056 Returns the value: