| Server IP : 217.160.0.212 / Your IP : 216.73.216.76 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/emulation/ |
Upload File : |
;ELC ;;; Compiled ;;; in Emacs version 28.2 ;;; with all optimizations. (byte-code "\300\301!\210\300\302!\210\303\304\305\306\307\310\311\312&\210\313\314\315\316\317DD\320\321\322%\210\313\323\315\316\324DD\325\321\322%\210\313\326\315\316\327DD\330\321\331%\210\313\332\315\316\333DD\334\321\335%\210\313\336\315\316\337DD\340\321\335%\207" [require ehelp picture custom-declare-group edt nil "Emacs emulating EDT." :prefix "edt-" :group emulations custom-declare-variable edt-keep-current-page-delimiter funcall function #[0 "\300\207" [nil] 1 #1=""] "Emacs MUST be restarted for a change in value to take effect!\nNon-nil leaves Emacs value of `page-delimiter' unchanged within EDT\nEmulation. If set to nil (the default), the `page-delimiter' variable\nis set to \"\\f\" when edt-emulation-on is first invoked. This\nsetting replicates EDT's page delimiter behavior. The original value\nis restored when edt-emulation-off is called." :type boolean edt-use-EDT-control-key-bindings #[0 "\300\207" [nil] 1 #1#] "Emacs MUST be restarted for a change in value to take effect!\nNon-nil causes the control key bindings to be replaced with EDT\nbindings. If set to nil (the default), EDT control key bindings are\nnot used and the current Emacs control key bindings are retained for\nuse within the EDT emulation." edt-word-entities #[0 "\300\207" [(9)] 1 #1#] "Specifies the list of EDT word entity characters.\nThe default list, (?\\t), contains just the TAB character, which\nemulates EDT. Characters are specified in the list using their\ndecimal ASCII values. A question mark, followed by the actual\ncharacter, can be used to indicate the numerical value of the\ncharacter, instead of the actual decimal value. So, ?A means the\nnumerical value for the letter A, ?/ means the numerical value for /,\netc. Several unprintable and special characters have special\nrepresentations, which you can also use:\n\n ?\\b specifies BS, C-h\n ?\\t specifies TAB, C-i\n ?\\n specifies LFD, C-j\n ?\\v specifies VTAB, C-k\n ?\\f specifies FF, C-l\n ?\\r specifies CR, C-m\n ?\\e specifies ESC, C-[\n ?\\\\ specifies \\\n\nIn EDT Emulation movement-by-word commands, each character in the list\nwill be treated as if it were a separate word." (repeat integer) edt-top-scroll-margin #[0 "\300\207" [10] 1 #1#] "Scroll margin at the top of the screen.\nInterpreted as a percent of the current window size with a default\nsetting of 10%. If set to 0, top scroll margin is disabled." integer edt-bottom-scroll-margin #[0 "\300\207" [15] 1 #1#] "Scroll margin at the bottom of the screen.\nInterpreted as a percent of the current window size with a default\nsetting of 15%. If set to 0, bottom scroll margin is disabled."] 8) #@55 Last text deleted by the EDT emulation DEL L command. (defvar edt-last-deleted-lines "" (#$ . 2839)) #@55 Last text deleted by the EDT emulation DEL W command. (defvar edt-last-deleted-words "" (#$ . 2946)) #@55 Last text deleted by the EDT emulation DEL C command. (defvar edt-last-deleted-chars "" (#$ . 3053)) #@52 Last text found by the EDT emulation FIND command. (defvar edt-find-last-text "" (#$ . 3160)) #@52 Used internally by the EDT emulation SUBS command. (defvar edt-match-beginning-mark (make-marker) (#$ . 3260)) #@52 Used internally by the EDT emulation SUBS command. (defvar edt-match-end-mark (make-marker) (#$ . 3377)) #@71 Key definition replaced with `edt-define-key' or `edt-learn' command. (defvar edt-last-replaced-key-definition nil (#$ . 3488)) #@50 String indicating current direction of movement. (defvar edt-direction-string "" (#$ . 3622)) #@38 Non-nil means select mode is active. (defvar edt-select-mode nil (#$ . 3722)) #@131 Text displayed in mode line to indicate the state of EDT select mode. When select mode is inactive, it is set to an empty string. (defvar edt-select-mode-current "" (#$ . 3807)) #@54 Used in mode line to indicate select mode is active. (defconst edt-select-mode-string " Select" (#$ . 3991)) #@61 Direction string in mode line to indicate forward movement. (defconst edt-forward-string " ADVANCE" (#$ . 4106)) #@62 Direction string in mode line to indicate backward movement. (defconst edt-backward-string " BACKUP" (#$ . 4225)) #@122 Non-nil indicates that default EDT emulation key bindings are active. nil means user-defined custom bindings are active. (defvar edt-default-map-active nil (#$ . 4347)) #@142 Non-nil indicates that user custom EDT key bindings are configured. This means that an edt-user.el file was found in the user's `load-path'. (defvar edt-user-map-configured nil (#$ . 4523)) #@45 Specifies the terminal type, if applicable. (defvar edt-term nil (#$ . 4719)) #@48 Indicates X server vendor name, if applicable. (defconst edt-xserver (byte-code "\301=\205\f \302\303\304\305 #\207" [window-system x replace-regexp-in-string "[ /]" "-" x-server-vendor] 4) (#$ . 4803)) #@77 User's custom keypad and function keys mappings to emulate LK-201 keyboard. (defvar edt-keys-file nil (#$ . 5013)) #@33 Last word that the user copied. (defvar edt-last-copied-word nil (#$ . 5134)) #@114 Move forward to just after next page delimiter. Argument NUM is the number of page delimiters to move. (fn NUM) (defalias 'edt-page-forward #[257 "\300!\210m\203\f \301\302!\207\303!\210m\203 \304 \207\305 \207" [edt-check-prefix error "End of buffer" forward-page edt-line-to-bottom-of-window edt-line-to-top-of-window] 3 (#$ . 5219) "p"]) #@119 Move backward to just after previous page delimiter. Argument NUM is the number of page delimiters to move. (fn NUM) (defalias 'edt-page-backward #[257 "\300!\210o\203\f \301\302!\207\303!\210\304 \207" [edt-check-prefix error "Beginning of buffer" backward-page edt-line-to-top-of-window] 3 (#$ . 5571) "p"]) #@116 Move in current direction to next page delimiter. Argument NUM is the number of page delimiters to move. (fn NUM) (defalias 'edt-page #[257 " \232\203\n \302!\207\303!\207" [edt-direction-string edt-forward-string edt-page-forward edt-page-backward] 3 (#$ . 5891) "p"]) #@121 Move cursor forward two-thirds of a window's number of lines. Argument NUM is the number of sections to move. (fn NUM) (defalias 'edt-sect-forward #[257 "\300!\210\301\302 S\303\245\304__!\207" [edt-check-prefix edt-line-forward window-height 3 2] 4 (#$ . 6172) "p"]) #@104 Move cursor backward two-thirds of a window. Argument NUM is the number of sections to move. (fn NUM) (defalias 'edt-sect-backward #[257 "\300!\210\301\302 S\303\245\304__!\207" [edt-check-prefix edt-line-backward window-height 3 2] 4 (#$ . 6450) "p"]) #@100 Move in current direction a full window. Argument NUM is the number of sections to move. (fn NUM) (defalias 'edt-sect #[257 " \232\203\n \302!\207\303!\207" [edt-direction-string edt-forward-string edt-sect-forward edt-sect-backward] 3 (#$ . 6713) "p"]) #@106 Move backward to next beginning of line mark. Argument NUM is the number of BOL marks to move. (fn NUM) (defalias 'edt-beginning-of-line #[257 "\300!\210\301 n\203 \302_y\210\202 S\262\302_y\210\303\"\207" [edt-check-prefix edt-current-line -1 edt-top-check] 5 (#$ . 6978) "p"]) #@99 Move forward to next end of line mark. Argument NUM is the number of EOL marks to move. (fn NUM) (defalias 'edt-end-of-line-forward #[257 "\300!\210\301 \302u\210\210\303\"\207" [edt-check-prefix edt-current-line nil edt-bottom-check] 5 (#$ . 7273) "p"]) #@100 Move backward to next end of line mark. Argument NUM is the number of EOL marks to move. (fn NUM) (defalias 'edt-end-of-line-backward #[257 "\300!\210\301 S\210\302\"\207" [edt-check-prefix edt-current-line edt-top-check] 5 (#$ . 7541) "p"]) #@112 Move in current direction to next end of line mark. Argument NUM is the number of EOL marks to move. (fn NUM) (defalias 'edt-end-of-line #[257 " \232\203\n \302!\207\303!\207" [edt-direction-string edt-forward-string edt-end-of-line-forward edt-end-of-line-backward] 3 (#$ . 7796) "p"]) #@47 Move forward to first character of next word. (defalias 'edt-one-word-forward #[0 "m\203 \301\302!\210l\203 \303u\207g>\203 \303u\210\2026 l\2046 m\2046 gz\304=\2046 g>\2046 \303u\210\202 l?\205T m?\205T gz\304=\205T g>?\205T \303u\210\2026 \207" [edt-word-entities error "End of buffer" nil 32] 2 (#$ . 8093) nil]) #@52 Move backward to first character of previous word. (defalias 'edt-one-word-backward #[0 "o\203 \301\302!\210n\203 \303u\207\303u\210n\204- o\204- gz\304=\203- g>\204- \303u\210\202 g>?\205S n?\205S o?\205S hz\304=?\205S h>?\205S \303u\210\2024 \207" [edt-word-entities error "Beginning of buffer" -1 32] 2 (#$ . 8422) nil]) #@102 Move forward to first character of next word. Argument NUM is the number of words to move. (fn NUM) (defalias 'edt-word-forward #[257 "\300!\210\211\301V\205 \302 \210\211S\262\202 \207" [edt-check-prefix 0 edt-one-word-forward] 3 (#$ . 8759) "p"]) #@107 Move backward to first character of previous word. Argument NUM is the number of words to move. (fn NUM) (defalias 'edt-word-backward #[257 "\300!\210\211\301V\205 \302 \210\211S\262\202 \207" [edt-check-prefix 0 edt-one-word-backward] 3 (#$ . 9020) "p"]) #@115 Move in current direction to first character of next word. Argument NUM is the number of words to move. (fn NUM) (defalias 'edt-word #[257 " \232\203\n \302!\207\303!\207" [edt-direction-string edt-forward-string edt-word-forward edt-word-backward] 3 (#$ . 9288) "p"]) #@106 Move in current direction to next character. Argument NUM is the number of characters to move. (fn NUM) (defalias 'edt-character #[257 "\302!\210 \232\203 \211u\207\211\206 \303[u\207" [edt-direction-string edt-forward-string edt-check-prefix 1] 3 (#$ . 9568) "p"]) #@106 Move backward to next beginning of line mark. Argument NUM is the number of BOL marks to move. (fn NUM) (defalias 'edt-line-backward #[257 "\300!\207" [edt-beginning-of-line] 3 (#$ . 9846) "p"]) #@105 Move forward to next beginning of line mark. Argument NUM is the number of BOL marks to move. (fn NUM) (defalias 'edt-line-forward #[257 "\300!\210\301 y\210\302\"\207" [edt-check-prefix edt-current-line edt-bottom-check] 5 (#$ . 10050) "p"]) #@118 Move in current direction to next beginning of line mark. Argument NUM is the number of BOL marks to move. (fn NUM) (defalias 'edt-line #[257 " \232\203\n \302!\207\303!\207" [edt-direction-string edt-forward-string edt-line-forward edt-line-backward] 3 (#$ . 10305) "p"]) #@83 Move cursor down one line. Argument NUM is the number of lines to move. (fn NUM) (defalias 'edt-next-line #[257 "\300!\210\301 \302!\210\303\"\207" [edt-check-prefix edt-current-line next-line edt-bottom-check] 5 (#$ . 10588) "p"]) #@81 Move cursor up one line. Argument NUM is the number of lines to move. (fn NUM) (defalias 'edt-previous-line #[257 "\300!\210\301 \302!\210\303\"\207" [edt-check-prefix edt-current-line previous-line edt-top-check] 5 (#$ . 10831) "p"]) #@41 Move cursor to the beginning of buffer. (defalias 'edt-top #[0 "eb\207" [] 1 (#$ . 11077) nil]) #@35 Move cursor to the end of buffer. (defalias 'edt-bottom #[0 "db\210\300 \207" [edt-line-to-bottom-of-window] 1 (#$ . 11179) nil]) #@75 Execute BODY with some position-related variables bound. (fn &rest BODY) (defalias 'edt-with-position '(macro . #[128 "\300\301\302BBB\207" [let* ((beg (edt-current-line)) (height (window-height)) (top-percent (if (zerop edt-top-scroll-margin) 10 edt-top-scroll-margin)) (bottom-percent (if (zerop edt-bottom-scroll-margin) 15 edt-bottom-scroll-margin)) (top-margin (/ (* height top-percent) 100)) (bottom-up-margin (1+ (/ (* height bottom-percent) 100))) (bottom-margin (max beg (- height bottom-up-margin 1))) (top (save-excursion (move-to-window-line top-margin) (point))) (bottom (save-excursion (move-to-window-line bottom-margin) (point))) (far (save-excursion (goto-char bottom) (point-at-bol (1- height))))) (ignore top far)] 5 (#$ . 11315)])) #@162 Find first occurrence of a string in forward direction and save it. Optional argument FIND is t is this function is called from `edt-find'. (fn &optional FIND) (defalias 'edt-find-forward #[256 "\211\204 \303\304!\305 \306 \307U\203 \310\202 \n\307U\203! \311\202\"