Server IP : 111.118.215.189 / Your IP : 18.217.89.171 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/emulation/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:10:58 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/emulation/cua-base.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\302\303\304\305\306\307\306\310\306\311\312\313\314\315\314\316&\210\317\320\321\322\323\324\306\301&\210\317\325\321\326\323\327\306\301&\210\317\330\321\331\323\327\306\301&\210\317\332\302\333\323\327\306\301&\210\317\334\335\336\323\337\306\301&\210\317\340\321\341\323\342\306\301&\210\317\343\302\344\323\327\306\301&\210\317\345\321\346\323\347\306\301&\210\317\350\302\351\323\327\306\301&\210\317\352\353\354\323\355\306\301&\210\317\356\321\357\323\327\306\301&\210\317\360\302\361\323\327\306\301&\210\317\362\302\363\323\327\306\301&\210\317\364\321\365\323\327\306\301&\210\317\366\302\367\323\327\306\301&\210\317\370\321\371\323\327\306\301&\210\317\372\373\374\323\375\306\301&\210\317\376\377\201@ \201A \201B \323\201C \306\301& \210\317\201D \201E \201F \323\201G \306\301&\210\317\201H \321\201I \323\327\306\301&\210\201J \201K \201L \201M \306\301%\210\201J \201N \201O \201P \306\301%\210\317\201Q \321\201R \323\327\306\301&\210\201J \201S \201T \201U \306\301%\210\317\201V \201W \201X \323\201Y \306\301&\210\317\201Z \302\201[ \323\327\306\301&\210\317\201\\ \201] \201^ \201_ \201` \323\201a \306\301& \210\317\201b \201c \201d \323\201e \306\301&\210\317\201f \201g \201h \323\201i \306\301&\210\317\201j \201k \201l \323\201m \306\301&\207" [custom-declare-group cua nil "Emulate CUA key bindings including C-x and C-c." :prefix "cua" :group editing-basics convenience emulations :version "22.1" :link (emacs-commentary-link :tag "Commentary" "cua-base.el") (emacs-library-link :tag "Lisp File" "cua-base.el") custom-declare-variable cua-enable-cua-keys t "Enable using C-z, C-x, C-c, and C-v for undo, cut, copy, and paste.\nIf the value is t, these mappings are always enabled. If the value is\n`shift', these keys are only enabled if the last region was marked with\na shifted movement key. If the value is nil, these keys are never\nenabled." :type (choice (const :tag "Disabled" nil) (const :tag "Shift region only" shift) (other :tag "Enabled" t)) cua-remap-control-v "If non-nil, C-v binding is used for paste (yank).\nAlso, M-v is mapped to `cua-repeat-replace-region'." boolean cua-remap-control-z "If non-nil, C-z binding is used for undo." cua-highlight-region-shift-only "If non-nil, only highlight region if marked with S-<move>.\nWhen this is non-nil, CUA toggles `transient-mark-mode' on when the region\nis marked using shifted movement keys, and off when the mark is cleared.\nBut when the mark was set using \\[cua-set-mark], Transient Mark mode\nis not turned on." cua-prefix-override-inhibit-delay 0.2 "If non-nil, time in seconds to delay before overriding prefix key.\nIf there is additional input within this time, the prefix key is\nused as a normal prefix key. So typing a key sequence quickly will\ninhibit overriding the prefix key.\nAs a special case, if the prefix keys repeated within this time, the\nfirst prefix key is discarded, so typing a prefix key twice in quick\nsuccession will also inhibit overriding the prefix key.\nIf the value is nil, use a shifted prefix key to inhibit the override." (choice (number :tag "Inhibit delay") (const :tag "No delay" nil)) cua-delete-selection "If non-nil, typed text replaces text in the active selection." (choice (const :tag "Disabled" nil) (other :tag "Enabled" t)) cua-keep-region-after-copy "If non-nil, don't deselect the region after copying." cua-toggle-set-mark "If non-nil, the `cua-set-mark' command toggles the mark." (choice (const :tag "Disabled" nil) (other :tag "Enabled" t)) cua-auto-mark-last-change "If non-nil, set implicit mark at position of last buffer change.\nThis means that \\[universal-argument] \\[cua-set-mark] will jump to the position\nof the last buffer change before jumping to the explicit marks on the mark ring.\nSee `cua-set-mark' for details." cua-enable-register-prefix 'not-ctrl-u "If non-nil, registers are supported via numeric prefix arg.\nIf the value is t, any numeric prefix arg in the range 0 to 9 will be\ninterpreted as a register number.\nIf the value is `not-ctrl-u', using C-u to enter a numeric prefix is not\ninterpreted as a register number.\nIf the value is `ctrl-u-only', only numeric prefix entered with C-u is\ninterpreted as a register number." (choice (const :tag "Disabled" nil) (const :tag "Enabled, but C-u arg is not a register" not-ctrl-u) (const :tag "Enabled, but only for C-u arg" ctrl-u-only) (other :tag "Enabled" t)) cua-delete-copy-to-register-0 "If non-nil, save last deleted region or rectangle to register 0." cua-enable-region-auto-help "If non-nil, automatically show help for active region." cua-enable-modeline-indications "If non-nil, use minor-mode hook to show status in mode line." cua-check-pending-input "If non-nil, don't override prefix key if input pending.\nIt is rumored that `input-pending-p' is unreliable under some window\nmanagers, so try setting this to nil, if prefix override doesn't work." cua-paste-pop-rotate-temporarily "If non-nil, \\[cua-paste-pop] only rotates the kill-ring temporarily.\nThis means that both \\[yank] and the first \\[yank-pop] in a sequence always insert\nthe most recently killed text. Each immediately following \\[cua-paste-pop] replaces\nthe previous text with the next older element on the `kill-ring'.\nWith prefix arg, \\[universal-argument] \\[yank-pop] inserts the same text as the most\nrecent \\[yank-pop] (or \\[yank]) command." cua-virtual-rectangle-edges "If non-nil, rectangles have virtual straight edges.\nNote that although rectangles are always DISPLAYED with straight edges, the\nbuffer is NOT modified, until you execute a command that actually modifies it.\nM-p toggles this feature when a rectangle is active." cua-auto-tabify-rectangles 1000 "If non-nil, automatically tabify after rectangle commands.\nThis basically means that `tabify' is applied to all lines that\nare modified by inserting or deleting a rectangle. If value is\nan integer, CUA will look for existing tabs in a region around\nthe rectangle, and only do the conversion if any tabs are already\npresent. The number specifies then number of characters before\nand after the region marked by the rectangle to search." (choice (number :tag "Auto detect (limit)") (const :tag "Disabled" nil) (other :tag "Enabled" t)) cua-rectangle-mark-key [(control return)] "Global key used to toggle the cua rectangle mark." :set #[(symbol value) " L\210\306\302!\205% \n\205% \307 \310#\210\306\304!\205% \307\f \311#\210\307 \312#\207" [symbol value cua--keymaps-initialized cua-global-keymap cua--rectangle-keymap cua--region-keymap boundp define-key cua-set-rectangle-mark cua-clear-rectangle-mark cua-toggle-rectangle-mark] 4] key-sequence cua-rectangle-modifier-key 'meta "Modifier key used for rectangle commands bindings.\nOn non-window systems, always use the meta modifier.\nMust be set prior to enabling CUA." (choice (const :tag "Meta key" meta) (const :tag "Alt key" alt) (const :tag "Hyper key" hyper) (const :tag "Super key" super)) cua-enable-rectangle-auto-help "If non-nil, automatically show help for region, rectangle and global mark." custom-declare-face cua-rectangle ((default :inherit region) (((class color)) :foreground "white" :background "maroon")) "Font used by CUA for highlighting the rectangle." cua-rectangle-noselect ((default :inherit region) (((class color)) :foreground "white" :background "dimgray")) "Font used by CUA for highlighting the non-selected rectangle lines." cua-global-mark-keep-visible "If non-nil, always keep global mark visible in other window." cua-global-mark ((((min-colors 88) (class color)) :foreground "black" :background "yellow1") (((class color)) :foreground "black" :background "yellow") (t :weight bold)) "Font used by CUA for highlighting the global mark." cua-global-mark-blink-cursor-interval 0.2 "Blink cursor at this interval when global mark is active." (choice (number :tag "Blink interval") (const :tag "No blink" nil)) cua-enable-cursor-indications "If non-nil, use different cursor colors for indications." cua-normal-cursor-color (or (and (boundp 'initial-cursor-color) initial-cursor-color) (and (boundp 'initial-frame-alist) (assoc 'cursor-color initial-frame-alist) (cdr (assoc 'cursor-color initial-frame-alist))) (and (boundp 'default-frame-alist) (assoc 'cursor-color default-frame-alist) (cdr (assoc 'cursor-color default-frame-alist))) (frame-parameter nil 'cursor-color) "red") "Normal (non-overwrite) cursor color.\nDefault is to load cursor color from initial or default frame parameters.\n\nIf the value is a COLOR name, then only the `cursor-color' attribute will be\naffected. If the value is a cursor TYPE (one of: box, hollow, bar, or hbar),\nthen only the `cursor-type' property will be affected. If the value is\na cons (TYPE . COLOR), then both properties are affected." :initialize custom-initialize-default (choice (color :tag "Color") (choice :tag "Type" (const :tag "Filled box" box) (const :tag "Vertical bar" bar) (const :tag "Horizontal bar" hbar) (const :tag "Hollow box" hollow)) (cons :tag "Color and Type" (choice :tag "Type" (const :tag "Filled box" box) (const :tag "Vertical bar" bar) (const :tag "Horizontal bar" hbar) (const :tag "Hollow box" hollow)) (color :tag "Color"))) cua-read-only-cursor-color "darkgreen" "Cursor color used in read-only buffers, if non-nil.\nOnly used when `cua-enable-cursor-indications' is non-nil.\n\nIf the value is a COLOR name, then only the `cursor-color' attribute will be\naffected. If the value is a cursor TYPE (one of: box, hollow, bar, or hbar),\nthen only the `cursor-type' property will be affected. If the value is\na cons (TYPE . COLOR), then both properties are affected." (choice (color :tag "Color") (choice :tag "Type" (const :tag "Filled box" box) (const :tag "Vertical bar" bar) (const :tag "Horizontal bar" hbar) (const :tag "Hollow box" hollow)) (cons :tag "Color and Type" (choice :tag "Type" (const :tag "Filled box" box) (const :tag "Vertical bar" bar) (const :tag "Horizontal bar" hbar) (const :tag "Hollow box" hollow)) (color :tag "Color"))) cua-overwrite-cursor-color "yellow" "Cursor color used when overwrite mode is set, if non-nil.\nOnly used when `cua-enable-cursor-indications' is non-nil.\n\nIf the value is a COLOR name, then only the `cursor-color' attribute will be\naffected. If the value is a cursor TYPE (one of: box, hollow, bar, or hbar),\nthen only the `cursor-type' property will be affected. If the value is\na cons (TYPE . COLOR), then both properties are affected." (choice (color :tag "Color") (choice :tag "Type" (const :tag "Filled box" box) (const :tag "Vertical bar" bar) (const :tag "Horizontal bar" hbar) (const :tag "Hollow box" hollow)) (cons :tag "Color and Type" (choice :tag "Type" (const :tag "Filled box" box) (const :tag "Vertical bar" bar) (const :tag "Horizontal bar" hbar) (const :tag "Hollow box" hollow)) (color :tag "Color"))) cua-global-mark-cursor-color "cyan" "Indication for active global mark.\nWill change cursor color to specified color if string.\nOnly used when `cua-enable-cursor-indications' is non-nil.\n\nIf the value is a COLOR name, then only the `cursor-color' attribute will be\naffected. If the value is a cursor TYPE (one of: box, hollow, bar, or hbar),\nthen only the `cursor-type' property will be affected. If the value is\na cons (TYPE . COLOR), then both properties are affected." (choice (color :tag "Color") (choice :tag "Type" (const :tag "Filled box" box) (const :tag "Vertical bar" bar) (const :tag "Horizontal bar" hbar) (const :tag "Hollow box" hollow)) (cons :tag "Color and Type" (choice :tag "Type" (const :tag "Filled box" box) (const :tag "Vertical bar" bar) (const :tag "Horizontal bar" hbar) (const :tag "Hollow box" hollow)) (color :tag "Color")))] 18) #@42 Start rectangle at mouse click position. (autoload 'cua-set-rectangle-mark "cua-rect" '(#$ . 12334) t nil) (byte-code "\303\304!\204\n \305\211\306\307\310\305\311\305%\210\303\312!\204 \305\305\207" [cua--rectangle cua--last-killed-rectangle cua--global-mark-active featurep cua-rect nil autoload cua-toggle-global-mark "cua-gmrk" t cua-gmrk] 7) #@61 Buffer-local variable that may disable the CUA keymappings. (defvar cua-inhibit-cua-keys nil (#$ . 12691)) (make-variable-buffer-local 'cua-inhibit-cua-keys) (defvar cua--explicit-region-start nil) (make-variable-buffer-local 'cua--explicit-region-start) (defvar cua--last-region-shifted nil) (defvar cua--buffer-and-point-before-command nil) (defvar cua--status-string nil) (make-variable-buffer-local 'cua--status-string) (defvar cua--debug nil) (defvar cua--prefix-override-timer nil) (defvar cua--prefix-override-length nil) (defalias 'cua--prefix-override-replay #[(arg repeat) "\306 \211G SH Z\307V\2062 \203 \310 \2062 \247?\2062 \307X\2062 \311 \312\313#\314 \210\nB\211+\207" [keys i key repeat cua--prefix-override-length cua-check-pending-input this-command-keys 0 input-pending-p run-with-timer nil cua--prefix-override-timeout reset-this-command-lengths cua-prefix-override-inhibit-delay cua--prefix-override-timer last-command this-command arg prefix-arg unread-command-events] 5]) #@140 Start timer waiting for prefix key to be followed by another key. Repeating prefix key when region is active works as a single prefix key. (defalias 'cua--prefix-override-handler #[(arg) "\301\302\"\207" [arg cua--prefix-override-replay 0] 3 (#$ . 13722) "P"]) #@74 Repeating prefix key when region is active works as a single prefix key. (defalias 'cua--prefix-repeat-handler #[(arg) "\301\302\"\207" [arg cua--prefix-override-replay 1] 3 (#$ . 13990) "P"]) #@46 Copy region/rectangle, then replay last key. (defalias 'cua--prefix-copy-handler #[(arg) "\203 \304 !\210\202 \305 !\210\306 \211\211GSHB\211)\207" [cua--rectangle arg keys unread-command-events cua-copy-rectangle cua-copy-region this-single-command-keys] 3 (#$ . 14190) "P"]) #@45 Cut region/rectangle, then replay last key. (defalias 'cua--prefix-cut-handler #[(arg) "\203 \304 !\210\202 \305 !\210\306 \211\211GSHB\211)\207" [cua--rectangle arg keys unread-command-events cua-cut-rectangle cua-cut-region this-single-command-keys] 3 (#$ . 14479) "P"]) (defalias 'cua--prefix-override-timeout #[nil "\305\306 G U\205 \307\nB\203 \310 \210\202 \311\312 \207" [cua--prefix-override-timer cua--prefix-override-length unread-command-events prefix-arg overriding-terminal-local-map t this-command-keys timeout reset-this-command-lengths nil cua--select-keymaps] 2]) (defalias 'cua--fallback #[nil "\302 !\207" [this-original-command this-command call-interactively] 2]) (defalias 'cua--keep-active #[nil "\302\303\211\207" [mark-active deactivate-mark t nil] 2]) (defalias 'cua--deactivate #[(&optional now) "\304 \204\n \305\211\207\304\306\307!\207" [cua--explicit-region-start now deactivate-mark mark-active nil t run-hooks deactivate-mark-hook] 2]) (defalias 'cua--filter-buffer-noprops #[(start end) "\303 \"\304\305\nG\306\n$\210\n)\207" [start end str filter-buffer-substring set-text-properties 0 nil] 5]) (defvar cua--register nil) (defalias 'cua--prefix-arg #[(arg) "\205@ \250\205@ \305Y\205@ \306W\205@ \307 \305H\211\250\205\"