?
Current Path : /usr/share/emacs/24.3/lisp/vc/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/emacs/24.3/lisp/vc/vc-annotate.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:08:54 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/vc/vc-annotate.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\303\304\305\306\307\310\311\302&\210\303\312\313\314\307\315\311\302&\210\303\316\317\320\307\321\311\302&\210\303\322\323\324\307\325\311\302&\210\303\326\327\330\307\331\311\302&\207" [require vc-hooks vc custom-declare-variable vc-annotate-display-mode 'fullscale "Which mode to color the output of \\[vc-annotate] with by default." :type (choice (const :tag "By Color Map Range" nil) (const :tag "Scale to Oldest" scale) (const :tag "Scale Oldest->Newest" fullscale) (number :tag "Specify Fractional Number of Days" :value "20.5")) :group vc-annotate-color-map (if (and (tty-display-color-p) (<= (display-color-cells) 8)) (let* ((colors (sort (delq nil (mapcar (lambda (x) (if (not (or (string-equal (car x) "white") (string-equal (car x) "black"))) (car x))) (tty-color-alist))) (lambda (a b) (cond ((or (string-equal a "red") (string-equal b "blue")) t) ((or (string-equal b "red") (string-equal a "blue")) nil) ((string-equal a "yellow") t) ((string-equal b "yellow") nil) ((string-equal a "cyan") t) ((string-equal b "cyan") nil) ((string-equal a "green") t) ((string-equal b "green") nil) ((string-equal a "magenta") t) ((string-equal b "magenta") nil) (t (string< a b)))))) (date 20) (delta (/ (- 360 date) (1- (length colors))))) (mapcar (lambda (x) (prog1 (cons date x) (setq date (+ date delta)))) colors)) '((20 . "#FF3F3F") (40 . "#FF6C3F") (60 . "#FF993F") (80 . "#FFC63F") (100 . "#FFF33F") (120 . "#DDFF3F") (140 . "#B0FF3F") (160 . "#83FF3F") (180 . "#56FF3F") (200 . "#3FFF56") (220 . "#3FFF83") (240 . "#3FFFB0") (260 . "#3FFFDD") (280 . "#3FF3FF") (300 . "#3FC6FF") (320 . "#3F99FF") (340 . "#3F6CFF") (360 . "#3F3FFF"))) "Association list of age versus color, for \\[vc-annotate].\nAges are given in units of fractional days. Default is eighteen\nsteps using a twenty day increment, from red to blue. For TTY\ndisplays with 8 or fewer colors, the default is red to blue with\nall other colors between (excluding black and white)." alist vc-annotate-very-old-color "#3F3FFF" "Color for lines older than the current color range in \\[vc-annotate]." string vc-annotate-background "black" "Background color for \\[vc-annotate].\nDefault color is used if nil." (choice (const :tag "Default background" nil) (color)) vc-annotate-menu-elements '(2 0.5 0.1 0.01) "Menu elements for the mode-specific menu of VC-Annotate mode.\nList of factors, used to expand/compress the time scale. See `vc-annotate'." (repeat number)] 8) #@41 Local keymap used for VC-Annotate mode. (defvar vc-annotate-mode-map (byte-code "\301 \302\303\304#\210\302\305\306#\210\302\307\306#\210\302\310\311#\210\302\312\313#\210\302\314\315#\210\302\316\317#\210\302\320\321#\210\302\322\323#\210\302\324\325#\210\302\326\327#\210\302\326\327#\210\302\330\331#\210)\207" [m make-sparse-keymap define-key "a" vc-annotate-revision-previous-to-line "d" vc-annotate-show-diff-revision-at-line "=" "D" vc-annotate-show-changeset-diff-revision-at-line "f" vc-annotate-find-revision-at-line "j" vc-annotate-revision-at-line "l" vc-annotate-show-log-revision-at-line "n" vc-annotate-next-revision "p" vc-annotate-prev-revision "w" vc-annotate-working-revision "v" vc-annotate-toggle-annotation-visibility " " vc-annotate-goto-line] 4) (#$ . 3043)) #@18 Global variable. (defvar vc-annotate-ratio nil (#$ . 3847)) (defvar vc-annotate-backend nil) (defvar vc-annotate-parent-file nil) (defvar vc-annotate-parent-rev nil) (defvar vc-annotate-parent-display-mode nil) (defconst vc-annotate-font-lock-keywords '((vc-annotate-lines))) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\305\306!\204 \302\306\307\310#\210\300\207" [vc-annotate-mode-hook variable-documentation put purecopy "Hook run when entering Annotate mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp vc-annotate-mode-map definition-name vc-annotate-mode] 5) (defvar vc-annotate-mode-map (make-sparse-keymap)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\305\306!\204 \302\306\307\310#\210\300\207" [vc-annotate-mode-map variable-documentation put purecopy "Keymap for `vc-annotate-mode'." boundp vc-annotate-mode-syntax-table definition-name vc-annotate-mode] 5) (defvar vc-annotate-mode-syntax-table (make-syntax-table)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\302\305\306\307#\207" [vc-annotate-mode-syntax-table variable-documentation put purecopy "Syntax table for `vc-annotate-mode'." vc-annotate-mode-abbrev-table definition-name vc-annotate-mode] 5) (defvar vc-annotate-mode-abbrev-table (progn (define-abbrev-table 'vc-annotate-mode-abbrev-table nil) vc-annotate-mode-abbrev-table)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\302\305\306\307#\207" [vc-annotate-mode-abbrev-table variable-documentation put purecopy "Abbrev table for `vc-annotate-mode'." vc-annotate-mode derived-mode-parent special-mode] 5) #@402 Major mode for output buffers of the `vc-annotate' command. You can use the mode-specific menu to alter the time-span of the used colors. See variable `vc-annotate-menu-elements' for customizing the menu items. In addition to any hooks its parent mode `special-mode' might have run, this mode runs the hook `vc-annotate-mode-hook', as the final step during initialization. \{vc-annotate-mode-map} (defalias 'vc-annotate-mode #[nil "\306\300!\210\307\310 \210\311\312\310\313N\203 \314\311\313\310\313N#\210\315!\204' \316\317 \"\210\320\f!\211\2036 \321 =\203<