| Server IP : 217.160.0.212 / Your IP : 216.73.216.203 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/obsolete/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301!\210\302\303\304\305\306\307\310\311&\207" [require picture custom-declare-group tpu nil "Emacs emulating TPU emulating EDT." :prefix "tpu-" :group emulations] 8)
#@25 TPU-edt version number.
(defconst tpu-version "4.5" (#$ . 269))
(byte-code "\300\301\302\303\304DD\305\306\307%\210\300\310\302\303\311DD\312\306\313%\210\300\314\302\303\315DD\316\306\313%\207" [custom-declare-variable tpu-kill-buffers-silently funcall function #[0 "\300\207" [nil] 1 #1=""] "If non-nil, TPU-edt kills modified buffers without asking." :type boolean tpu-percent-scroll #[0 "\300\207" [75] 1 #1#] "Percentage of the screen to scroll for next/previous screen commands." integer tpu-pan-columns #[0 "\300\207" [16] 1 #1#] "Number of columns the tpu-pan functions scroll left or right."] 6)
#@112 Maps the function keys on the VT100 keyboard preceded by PF1.
GOLD is the ASCII 7-bit escape sequence <ESC>OP.
(defvar tpu-gold-map (byte-code "\300 \301\302\303#\210\301\304\305#\210\301\306\307#\210\301\310\311#\210\301\312\313#\210\301\314\315#\210\301\316\317#\210\301\320\321#\210\301\322\323#\210\301\324\325#\210\301\326\327#\210\301\330\331#\210\301\332\333#\210\301\334\335#\210\301\336\337#\210\301\340\341#\210\301\342\343#\210\301\344\345#\210\301\346\305#\210\301\347\303#\210\301\350\351#\210\301\352\353#\210\301\354\355#\210\301\356\357#\210\301\360\361#\210\301\362\363#\210\301\364\315#\210\301\365\366#\210\301\367\370#\210\301\371\372#\210\301\373\327#\210\301\374\375#\210\301\376\377#\210\301\201@ \201A #\210\301\201B \201C #\210\301\201D \201E #\210\301\201F \201G #\210\301\201H \201I #\210\301\201J \201K #\210\301\201L \201M #\210\301\201N \201O #\210\301\201P \201Q #\210\301\201R \201S #\210\301\201T \201U #\210\301\201V \325#\210\301\201W \201X #\210\301\201Y \201Z #\210\301\201[ \201Z #\210\301\201\\ \201Z #\210\301\201] \201Z #\210\301\201^ \201Z #\210\301\201_ \201Z #\210\301\201` \201Z #\210\301\201a \201Z #\210\301\201b \201Z #\210\301\201c \201Z #\210\301\201d \201e #\210\301\201f \201g #\210\301\201h \201i #\210\301\201j \201k #\210\301\201l \201m #\210\301\201n \201m #\210\301\201o \201p #\210\301\201q \201r #\210\301\201s \201t #\210\301\201u \201v #\210\301\201w \201x #\210\301\201y \201z #\210\301\201{ \201| #\210\301\201} \201~ #\210\301\201 \201\200 #\210\301\201\201 \201\202 #\210\301\201\203 \201\204 #\210\301\201\205 \201\206 #\210\301\201\207 \201\210 #\210\301\201\211 \201\212 #\210\301\201\213 \201\214 #\210\301\201\215 \201\216 #\210\301\201\217 \201\220 #\210\301\201\221 \201\222 #\210\301\201\223 \201\224 #\210\301\201\225 \201\226 #\210\301\201\227 \201\230 #\210\301\201\231 \201K #\210\301\201\232 \201\233 #\210\301\201\234 \201\235 #\210\301\201\236 \201\237 #\210\301\201\240 \201\241 #\210\301\201\242 \201\243 #\210\301\201\244 \201\245 #\210\301\201\246 \201\247 #\210\301\201\250 \201\251 #\210\207" [make-keymap define-key [up] tpu-move-to-beginning [down] tpu-move-to-end [right] end-of-line [left] beginning-of-line [delete] tpu-store-text [select] tpu-unselect [prior] tpu-previous-window [next] tpu-next-window [help] describe-bindings [f17] tpu-drop-breadcrumb [kp-f1] keyboard-quit [kp-f2] help-for-help [kp-f3] tpu-search [kp-f4] tpu-undelete-lines [kp-0] open-line [kp-1] tpu-change-case [kp-2] tpu-delete-to-eol [kp-3] tpu-special-insert [kp-4] [kp-5] [kp-6] tpu-paste [kp-7] execute-extended-command [kp-8] tpu-fill [kp-9] tpu-replace [kp-subtract] tpu-undelete-words [kp-separator] tpu-undelete-char [kp-decimal] [kp-enter] tpu-substitute "" tpu-toggle-overwrite-mode "" set-visited-file-name "" "" delete-other-windows " " other-window "" tpu-define-macro-key "\f" downcase-region "" tpu-toggle-control-keys "" upcase-region "" tpu-write-current-buffers " " undo "$" tpu-add-at-eol "%" tpu-goto-percent "*" tpu-toggle-regexp "," tpu-goto-breadcrumb "-" negative-argument "." "/" tpu-emacs-replace "0" digit-argument "1" "2" "3" "4" "5" "6" "7" "8" "9" ";" tpu-trim-line-ends "?" tpu-spell-check "L" tpu-what-line "P" lpr-buffer "[" blink-matching-open "]" "^" tpu-add-at-bol "_" split-window-below "`" what-line "a" tpu-toggle-newline-and-indent "b" tpu-next-buffer "c" repeat-complex-command "d" shell-command "e" tpu-exit "f" tpu-cursor-free-mode "g" tpu-get "i" tpu-include "k" tpu-kill-buffer "l" goto-line "m" buffer-menu "n" tpu-next-file-buffer "o" occur "p" lpr-region "q" tpu-quit "r" tpu-toggle-rectangle "s" replace "t" tpu-line-to-top-of-window "u" "v" tpu-version "w" save-buffer "x" tpu-save-all-buffers-kill-emacs "y" copy-region-as-kill "z" suspend-emacs "|" split-window-right "~" exchange-point-and-mark "" delete-window] 5) (#$ . 881))
#@24 TPU-edt global keymap.
(defvar tpu-global-map (byte-code "\301 \302\303\304#\210\302\305\306#\210\302\307\310#\210\302\311\312#\210\302\313\314#\210\302\315\316#\210\302\317\320#\210\302\321\322#\210\302\323\324#\210\302\325\326#\210\302\327\330#\210\302\331\332#\210\302\333\334#\210\302\335\336#\210\302\337#\210\302\340\341#\210\302\342\343#\210\302\344\345#\210\302\346\347#\210\302\350\332#\210\302\351\352#\210\302\353\354#\210\302\355\356#\210\302\357\360#\210\302\361\362#\210\302\363\364#\210\302\365\366#\210\302\367\370#\210\302\371\310#\210\302\372\373#\210\302\374\375#\210\302\376\377#\210\302\201@ \201A #\210\302\201B \201C #\210\302\201D \312#\210\302\201E \201F #\210\207" [tpu-gold-map make-sparse-keymap define-key [find] tpu-search [insert] tpu-paste [delete] tpu-cut [select] tpu-select [prior] tpu-scroll-window-down [next] tpu-scroll-window-up [f10] tpu-exit [f11] tpu-insert-escape [f12] tpu-next-beginning-of-line [f13] tpu-delete-previous-word [f14] tpu-toggle-overwrite-mode [help] tpu-help [menu] execute-extended-command [f17] tpu-goto-breadcrumb [kp-f1] [up] tpu-previous-line [down] tpu-next-line [right] tpu-forward-char [left] tpu-backward-char [kp-f2] [kp-f3] tpu-search-again [kp-f4] tpu-delete-current-line [kp-0] tpu-line [kp-1] tpu-word [kp-2] tpu-end-of-line [kp-3] tpu-char [kp-4] tpu-advance-direction [kp-5] tpu-backup-direction [kp-6] [kp-7] tpu-page [kp-8] tpu-scroll-window [kp-9] tpu-append-region [kp-subtract] tpu-delete-current-word [kp-separator] tpu-delete-current-char [kp-decimal] [kp-enter] newline] 5) (#$ . 4836))
#@49 Last text deleted by a TPU-edt replace command.
(defvar tpu-last-replaced-text "" (#$ . 6450))
#@48 Last text deleted by a TPU-edt remove command.
(defvar tpu-last-deleted-region "" (#$ . 6551))
#@53 Last text deleted by a TPU-edt line-delete command.
(defvar tpu-last-deleted-lines "" (#$ . 6652))
#@53 Last text deleted by a TPU-edt word-delete command.
(defvar tpu-last-deleted-words "" (#$ . 6757))
#@63 Last character deleted by a TPU-edt character-delete command.
(defvar tpu-last-deleted-char "" (#$ . 6862))
#@60 If non-nil, TPU-edt is searching in the forward direction.
(defvar tpu-searching-forward t (#$ . 6976))
#@56 Last text searched for by the TPU-edt search commands.
(defvar tpu-search-last-string "" (#$ . 7086))
#@27 Search highlight overlay.
(defvar tpu-search-overlay (byte-code "\300\301\211\"\207" [make-overlay 1] 3) (#$ . 7194))
(overlay-put tpu-search-overlay 'face 'bold)
#@28 Replace highlight overlay.
(defvar tpu-replace-overlay (byte-code "\300\301\211\"\207" [make-overlay 1] 3) (#$ . 7363))
(overlay-put tpu-replace-overlay 'face 'highlight)
#@62 If non-nil, TPU-edt uses regexp search and replace routines.
(defvar tpu-regexp-p nil (#$ . 7540))
#@53 If non-nil, TPU-edt removes and inserts rectangles.
(defvar tpu-rectangular-p nil (#$ . 7645))
#@58 True when TPU-edt is operating in the forward direction.
(defvar tpu-advance t (#$ . 7746))
#@59 True when TPU-edt is operating in the backward direction.
(defvar tpu-reverse nil (#$ . 7844))
#@60 If non-nil, control keys are set to perform TPU functions.
(defvar tpu-control-keys nil (#$ . 7945))
#@36 File containing TPU-edt X key map.
(defvar tpu-xkeys-file nil (#$ . 8052))
#@48 Mode line string to identify rectangular mode.
(defvar tpu-rectangle-string nil (#$ . 8133))
#@49 Mode line string to identify current direction.
(defvar tpu-direction-string nil (#$ . 8232))
#@51 History variable for tpu-edt-add-at-bol function.
(defvar tpu-add-at-bol-hist nil (#$ . 8332))
#@51 History variable for tpu-edt-add-at-eol function.
(defvar tpu-add-at-eol-hist nil (#$ . 8433))
#@52 History variable for search and replace functions.
(defvar tpu-regexp-prompt-hist nil (#$ . 8534))
#@52 If non-nil, Return produces a newline and indents.
(defvar tpu-newline-and-indent-p nil (#$ . 8639))
(make-variable-buffer-local 'tpu-newline-and-indent-p)
#@47 Mode line string to identify AutoIndent mode.
(defvar tpu-newline-and-indent-string nil (#$ . 8801))
(make-variable-buffer-local 'tpu-newline-and-indent-string)
#@32 Saved value of the delete key.
(defvar tpu-saved-delete-func nil (#$ . 8968))
(make-variable-buffer-local 'tpu-saved-delete-func)
#@31 TPU-edt buffer local key map.
(defvar tpu-buffer-local-map nil (#$ . 9104))
(make-variable-buffer-local 'tpu-buffer-local-map)
(defvar tpu-original-mm-alist minor-mode-alist)
(defvar tpu-mark-flag "")
(make-variable-buffer-local 'tpu-mark-flag)
#@81 Set `minor-mode-alist' for TPU-edt, or reset it to default Emacs.
(fn FOR-TPU)
(defalias 'tpu-set-mode-line #[257 "\301\211\211\205 \211@\203 \302\300\"\210\202 \303\"A\266\202\202 \207" [minor-mode-alist ((tpu-newline-and-indent-p tpu-newline-and-indent-string) (tpu-rectangular-p tpu-rectangle-string) (tpu-direction-string tpu-direction-string) (tpu-mark-flag tpu-mark-flag)) add-to-list remove] 7 (#$ . 9355)])
#@65 Make sure mode-line in the current buffer reflects all changes.
(defalias 'tpu-update-mode-line #[0 "\203 \302\202 \303 \203 \304\202 \305\306 \207" [transient-mark-mode tpu-mark-flag "" tpu-mark " @" " " force-mode-line-update] 1 (#$ . 9787)])
(byte-code "\300\301\302\"\210\300\303\302\"\207" [add-hook activate-mark-hook tpu-update-mode-line deactivate-mark-hook] 3)
(defvar tpu-match-beginning-mark (make-marker))
(defvar tpu-match-end-mark (make-marker))
#@41 Set markers at match beginning and end.
(defalias 'tpu-set-match #[0 "\302\303\224\304\"\302\303\225!\211\207" [tpu-match-beginning-mark tpu-match-end-mark copy-marker 0 t] 3 (#$ . 10260)])
#@40 Unset match beginning and end markers.
(defalias 'tpu-unset-match #[0 "\302\211\223\210 \302\211\223\207" [tpu-match-beginning-mark tpu-match-end-mark nil] 3 (#$ . 10458)])
#@50 Return the location of the last match beginning.
(defalias 'tpu-match-beginning #[0 "\301!\207" [tpu-match-beginning-mark marker-position] 2 (#$ . 10638)])
#@44 Return the location of the last match end.
(defalias 'tpu-match-end #[0 "\301!\207" [tpu-match-end-mark marker-position] 2 (#$ . 10801)])
#@110 Return t if point is between tpu-match markers.
Otherwise sets the tpu-match markers to nil and returns nil.
(defalias 'tpu-check-match #[0 "\302!p\232\203, `\303!Y\203, `\303 !W\204* \303!\303 !U\203, \303 !`U\203, \304\207\305 \210\306\207" [tpu-match-beginning-mark tpu-match-end-mark marker-buffer marker-position t tpu-unset-match nil] 3 (#$ . 10947)])
#@39 Show the values of the match markers.
(defalias 'tpu-show-match-markers #[0 "\302!\205 \303\304\305!\305 !\306 !`p&\207" [tpu-match-beginning-mark tpu-match-end-mark markerp message "(%s, %s) in %s -- current %s in %s" marker-position marker-buffer] 7 (#$ . 11314) nil])
#@114 TPU-edt version of the mark function.
Return the appropriate value of the mark for the current
version of Emacs.
(defalias 'tpu-mark #[0 "\205 \302 ?!\207" [mark-active transient-mark-mode mark] 2 (#$ . 11596)])
#@144 TPU-edt version of the `set-mark' function.
Sets the mark at POS and activates the region according to the
current version of Emacs.
(fn POS)
(defalias 'tpu-set-mark #[257 "\300!\210\301\207" [set-mark nil] 3 (#$ . 11817)])
#@56 Read a string with PROMPT.
(fn PROMPT HISTORY-SYMBOL)
(defalias 'tpu-string-prompt #[514 "\300\301\211\211%\207" [read-from-minibuffer nil] 8 (#$ . 12049)])
#@39 Most recent response to tpu-y-or-n-p.
(defvar tpu-last-answer nil (#$ . 12215))
#@209 Prompt for a y or n answer with positive default.
Optional second argument NOT-YES changes default to negative.
Like Emacs `y-or-n-p', but also accepts space as y and DEL as n.
(fn PROMPT &optional NOT-YES)
(defalias 'tpu-y-or-n-p #[513 "\301\302\203 \303\202\f \304#\210\305\211\203m \306\262\307 \211\310U\204* \211\311U\204* \211\312U\2030 \305\210\202 \211\313U\204B \211\314U\204B \211\315U\203H \306\210\202 \211\316U\203U ?\210\202 \305\262\317 \210\301\320\203f \303\202g \304#\266\202 \210\207" [tpu-last-answer message "%s[%s]" "n" "y" t nil read-char 121 89 32 110 78 127 13 beep "Please answer y or n. %s[%s]"] 8 (#$ . 12302)])
#@93 Replace a key in the TPU-edt local key map.
Create the key map if necessary.
(fn KEY FUNC)
(defalias 'tpu-local-set-key #[514 "\301!\204 \302 \203 \303\302 !\202 \304 \305!\210\306\"\207" [tpu-buffer-local-map keymapp current-local-map copy-keymap make-sparse-keymap use-local-map local-set-key] 5 (#$ . 12967)])
#@130 Return the vertical position of point in the selected window.
Top line is 0. Counts each text line only once, even if it wraps.
(defalias 'tpu-current-line #[0 "\300\301 8A\206 \302 `=\203 \303\207\304\302 `\305#S\207" [6 posn-at-point window-start 0 count-screen-lines count-final-newline] 4 (#$ . 13296)])
#@60 The set of user-defined markers (breadcrumbs), as a plist.
(defvar tpu-breadcrumb-plist nil (#$ . 13613))
#@82 Drops a breadcrumb that can be returned to later with goto-breadcrumb.
(fn NUM)
(defalias 'tpu-drop-breadcrumb #[257 "\301p`D#\210\302\303\"\207" [tpu-breadcrumb-plist put message "Mark %d set."] 6 (#$ . 13725) "p"])
#@60 Return to a breadcrumb set with drop-breadcrumb.
(fn NUM)
(defalias 'tpu-goto-breadcrumb #[257 "N\203 \301N@!\210NA@b\210\302\303\"\207\302\304\"\207" [tpu-breadcrumb-plist switch-to-buffer message "mark %d found." "mark %d not found."] 4 (#$ . 13952) "p"])
#@137 Change the case of the character under the cursor or region.
Accepts a prefix argument of the number of characters to invert.
(fn NUM)
(defalias 'tpu-change-case #[257 "\301 \203- \302 \303 \211V\203) f\227fU\203 \304\202 \305\211T\"\210T\262\202 \306\307!\207\310 \203Y \311 \312 \211V\203V f\227fU\203I \304\202J \305\211T\"\210T\262\2026 \313 \207\211\314V\205\202 g\227gU\203j \304\202k \305``T\"\210\203x \315\202y \316u\210\211S\262\202Y \207" [tpu-reverse tpu-mark region-beginning region-end upcase-region downcase-region tpu-unselect t tpu-check-match tpu-match-beginning tpu-match-end tpu-unset-match 0 -1 1] 6 (#$ . 14227) "p"])
#@77 Fill paragraph or marked region.
With argument, fill and justify.
(fn NUM)
(defalias 'tpu-fill #[257 "\300 \203 \301`\300 #\210\302\303!\207\304!\207" [tpu-mark fill-region tpu-unselect t fill-paragraph] 5 (#$ . 14891) "P"])
#@35 Print the TPU-edt version number.
(defalias 'tpu-version #[0 "\301\302\"\207" [tpu-version message "TPU-edt version %s by Rob Riepel (riepel@networking.stanford.edu)"] 3 (#$ . 15126) nil])
#@41 Set the screen size.
(fn HEIGHT WIDTH)
(defalias 'tpu-reset-screen-size #[514 "\300\301 \"\210\302\301 \"\207" [set-frame-height selected-frame set-frame-width] 5 (#$ . 15322) "nnew screen height: \nnnew screen width: "])
#@59 Toggle between `newline-and-indent' and simple `newline'.
(defalias 'tpu-toggle-newline-and-indent #[0 "\203 \302\303\304\305\306\"\210\202 \307\310\304\305\311\"\210\312 \210\313\314!\205. \315\316\203, \317\202- \320\"\207" [tpu-newline-and-indent-p tpu-newline-and-indent-string "" nil tpu-local-set-key "
" newline " AutoIndent" t newline-and-indent tpu-update-mode-line called-interactively-p interactive message "Carriage return inserts a newline%s" " and indents." "."] 3 (#$ . 15553) nil])
#@86 Check the spelling of the region, or of the entire buffer,
if no region is selected.
(defalias 'tpu-spell-check #[0 "\300 \301\302\203 `V\203 `D\202 `D\202 edD\"\210\211\205&