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

Lines Matching +defs:font +defs:size

41 ;; (setq font-lock-support-mode 'fast-lock-mode)
43 ;; Start up a new Emacs and use font-lock as usual (except that you can use the
46 ;; When you visit a file (which has `font-lock-mode' enabled) that has a
62 ;; - Changed name from turbo-prop to fast-lock. Automagic for font-lock only
73 ;; - Made `fast-lock' require `font-lock'
76 ;; - Changed structure of cache to include `font-lock-keywords' (from rms)
81 ;; - Made `fast-lock-save-cache-external' save `font-lock-keywords'
82 ;; - Made `fast-lock-cache-data' check `font-lock-keywords'
85 ;; - Lucid: Use `font-lock-any-extents-p' for `font-lock-any-properties-p'
100 ;; - Replaced `font-lock-any-properties-p' with `text-property-not-all'
115 ;; - Renamed `fast-lock-save-size' to `fast-lock-minimum-size'
136 ;; - Made `fast-lock-mode' ensure `font-lock-mode' is on
141 ;; - Made `fast-lock-cache-data' do `font-lock-compile-keywords' if necessary
142 ;; - XEmacs: Made `font-lock-compile-keywords' `defalias'
150 ;; - Made `fast-lock-save-cache' cope if `fast-lock-minimum-size' is an a list
151 ;; - Made `fast-lock-mode' respect the value of `font-lock-inhibit-thing-lock'
157 ;; - XEmacs: Made `fast-lock-save-faces' default to `font-lock-face-list'
158 ;; - Made `fast-lock-save-cache' use `font-lock-value-in-major-mode'
160 ;; - Made `fast-lock-mode' wrap `font-lock-support-mode'
164 ;; - XEmacs: Add `font-lock-value-in-major-mode' if necessary
169 ;; - Made `fast-lock-cache-data' simplify calls of `font-lock-compile-keywords'
172 ;; - Changed structure of cache to include `font-lock-syntactic-keywords'
186 (require 'font-lock)
192 (defvar font-lock-face-list)
246 ;; '(fast-lock-cache-directories fast-lock-minimum-size
261 :group 'font-lock)
270 (defcustom fast-lock-minimum-size 25600
271 "*Minimum size of a buffer for cached fontification.
277 means that the minimum size is 25K for buffers in C or C++ modes, one megabyte
278 for buffers in Rmail mode, and size is irrelevant otherwise."
280 (integer :tag "size")
289 (integer :tag "size")))))
337 (defcustom fast-lock-verbose font-lock-verbose
339 If a number, only buffers greater than this size have processing messages."
342 (integer :tag "size"))
348 font-lock-face-list)
361 (setq font-lock-support-mode 'fast-lock-mode)
365 buffer's file, and its `font-lock-keywords' match those that you are using.
374 Use \\[font-lock-fontify-buffer] to fontify the buffer if the cache is bad.
378 For saving, see variables `fast-lock-minimum-size', `fast-lock-save-events',
385 (not (memq 'fast-lock-mode font-lock-inhibit-thing-lock))
387 (if (and fast-lock-mode (not font-lock-mode))
388 ;; Turned on `fast-lock-mode' rather than `font-lock-mode'.
390 (message "Use font-lock-support-mode rather than calling fast-lock-mode")
395 (when (and fast-lock-mode (not font-lock-fontified))
404 - The buffer's `font-lock-keywords' must match the cache's.
412 (fontified font-lock-fontified))
413 (set (make-local-variable 'font-lock-fontified) nil)
415 (while (and directories (not font-lock-fontified))
424 ;; Unset `fast-lock-cache-filename', and restore `font-lock-fontified', if
428 (unless font-lock-fontified
429 (setq fast-lock-cache-filename nil font-lock-fontified fontified))))
437 - The buffer must be at least `fast-lock-minimum-size' bytes long.
450 (let ((min-size (font-lock-value-in-major-mode fast-lock-minimum-size))
468 (and min-size (>= (buffer-size) min-size))
497 (message "File %s font lock cache cannot be deleted" (buffer-name))))
590 ;; font-lock-syntactic-keywords SYNTACTIC-PROPERTIES
591 ;; font-lock-keywords FACE-PROPERTIES)
598 (> (buffer-size) fast-lock-verbose)
603 (format "Saving %s font lock cache..." (buffer-name)))
608 (list 'quote font-lock-syntactic-keywords)
610 (list 'quote font-lock-keywords)
620 (message "Saving %s font lock cache...quit" (buffer-name)))
622 (message "Saving %s font lock cache...failed" (buffer-name))))
631 (setq font-lock-syntactic-keywords (font-lock-eval-keywords
632 font-lock-syntactic-keywords))
634 (when font-lock-syntactic-keywords
635 (setq font-lock-syntactic-keywords (font-lock-compile-keywords
636 font-lock-syntactic-keywords t)))
638 (setq syntactic-keywords (font-lock-compile-keywords syntactic-keywords t)))
639 (setq font-lock-keywords (font-lock-compile-keywords font-lock-keywords)
640 keywords (font-lock-compile-keywords keywords))
643 ;; the TIMESTAMP, the current buffer's `font-lock-syntactic-keywords' are the
644 ;; same as SYNTACTIC-KEYWORDS, and the current buffer's `font-lock-keywords'
648 (> (buffer-size) fast-lock-verbose)
654 (not (equal syntactic-keywords font-lock-syntactic-keywords))
655 (not (equal keywords font-lock-keywords)))
659 (format "Loading %s font lock cache..." (buffer-name)))
664 (message "Loading %s font lock cache...quit" (buffer-name)))
666 (message "Loading %s font lock cache...failed" (buffer-name)))))
667 (setq font-lock-fontified (eq loaded t)
760 (font-lock-unfontify-region (point-min) (point-max))
786 ;; `font-lock' property, but `face' properties are on different extents.
815 ;; Make extents just like XEmacs' font-lock.el does.
822 (font-lock-unfontify-region (point-min) (point-max))
828 (font-lock-set-face (nth 0 regions) (nth 1 regions) face)
834 ;; XEmacs 19.12 font-lock.el's `font-lock-fontify-buffer' runs a hook.
835 (add-hook 'font-lock-after-fontify-buffer-hook
838 (unless (boundp 'font-lock-syntactic-keywords)
839 (defvar font-lock-syntactic-keywords nil))
841 (unless (boundp 'font-lock-inhibit-thing-lock)
842 (defvar font-lock-inhibit-thing-lock nil))
844 (unless (fboundp 'font-lock-compile-keywords)
845 (defalias 'font-lock-compile-keywords 'identity))
847 (unless (fboundp 'font-lock-eval-keywords)
848 (defun font-lock-eval-keywords (keywords)
850 (font-lock-eval-keywords (if (fboundp keywords)
855 (unless (fboundp 'font-lock-value-in-major-mode)
856 (defun font-lock-value-in-major-mode (alist)