Server IP : 111.118.215.189 / Your IP : 3.128.31.200 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/play/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:37 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/play/zone.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@62 The timer we use to decide when to zone out, or nil if none. (defvar zone-timer nil (#$ . 552)) #@80 Seconds to timeout the zoning. If nil, don't interrupt for about 1^26 seconds. (defvar zone-timeout nil (#$ . 654)) (defvar zone-programs [zone-pgm-jitter zone-pgm-putz-with-case zone-pgm-dissolve zone-pgm-whack-chars zone-pgm-rotate zone-pgm-rotate-LR-lockstep zone-pgm-rotate-RL-lockstep zone-pgm-rotate-LR-variable zone-pgm-rotate-RL-variable zone-pgm-drip zone-pgm-drip-fretfully zone-pgm-five-oclock-swan-dive zone-pgm-martini-swan-dive zone-pgm-rat-race zone-pgm-paragraph-spaz zone-pgm-stress zone-pgm-stress-destress zone-pgm-random-life]) (defalias 'zone-orig '(macro . #[(&rest body) "\301\302BB\207" [body with-current-buffer (get 'zone 'orig-buffer)] 3])) (defalias 'zone-hiding-mode-line '(macro . #[(&rest body) "\301\302BB\207" [body let (mode-line-format)] 3])) #@360 Call PROGRAM in a zoned way. If PROGRAM is a function, call it, interrupting after the amount of time in seconds specified by optional arg TIMEOUT, or `zone-timeout' if unspecified, q.v. PROGRAM can also be a list of elements, which are interpreted like so: If the element is a function or a list of a function and a number, apply `zone-call' recursively. (defalias 'zone-call #[(program &optional timeout) "\302!\203 \303\304\215\211\303=?\205 )\207<\205 \305\306\"\207" [program -with-timeout-value- functionp #1=#:timeout (byte-code "\305\206 \206 \306\307\310\"\311\312#\211B\313\216\f +\207" [timeout zone-timeout -with-timeout-timer- with-timeout-timers program run-with-timer ash 1 26 nil #[nil "\300\301\211\"\207" [throw #1#] 3] ((cancel-timer -with-timeout-timer-))] 5) mapcar #[(elem) "\302!\203\n \303!\207<\203% \302@!\203% \211A@)\247\203% \304\303\"\207\305\306\"\207" [elem x functionp zone-call apply error "bad `zone-call' elem: %S"] 4]] 4 (#$ . 1441)]) #@23 Zone out, completely. (defalias 'zone #[nil "\306 \307\216\310 \311\312!\313 \314 {\315\316 !\313 ZT\317\320\321p#\210\322!\210\323\324 \210\325\211)*r\320\321Nq\210+)+r\320\321Nq\210,),\nc\210\326ed\"\210\327\316 e\"\210\330\316 \"\210\331\332\333\"\210-\334-G!\234\f\205o \335\f\336\"\337\340C./010\203\212 \341\f\342\"\210\343.B.\344\337\345.\346\"BB.\337\347\350\217\210.\205\242 . .\n\207" [#1=#:wconfig wp text outbuf f mode-name current-window-configuration ((set-window-configuration #1#)) selected-frame get-buffer-create "*zone*" window-start window-end window-point selected-window put zone orig-buffer switch-to-buffer "Zone" erase-buffer t untabify set-window-start set-window-point sit-for 0 500 random frame-parameter cursor-type nil (kill-buffer outbuf) modify-frame-parameters ((cursor-type bar . 0)) (modify-frame-parameters f (list (cons 'cursor-type ct))) lambda append ((setq restore nil)) (byte-code "\301\302\"\210\303 \210\304 \203 \305 \210\306!\210\301\307!\207" [pgm message "Zoning... (%s)" garbage-collect input-pending-p discard-input zone-call "Zoning...sorry"] 3) ((error (byte-code " \210\302 \204 \303\304 \"\210\305\306!\210\303\307!\210\305\306!\210\202 \302\207" [restore pgm input-pending-p message "We were zoning when we wrote %s..." sit-for 3 "...here's hoping we didn't hose your buffer!"] 3)) (quit (byte-code " \210\301 \210\302\303!\207" [restore ding message "Zoning...sorry"] 2))) buffer-undo-list truncate-lines tab-width line-spacing zone-programs restore show-trailing-whitespace ct pgm] 6 (#$ . 2445) nil]) #@53 Zone out when Emacs has been idle for SECS seconds. (defalias 'zone-when-idle #[(secs) "\302!\203\n \303!\210\304 \305X\206 \306 \307\310#\211\207" [zone-timer secs timerp cancel-timer nil 0 run-with-idle-timer t zone] 4 (#$ . 4043) "nHow long before I start zoning (seconds): "]) #@36 Don't zone out when Emacs is idle. (defalias 'zone-leave-me-alone #[nil "\301!\203\n \302!\210\303\304\305!\207" [zone-timer timerp cancel-timer nil message "I won't zone out any more"] 2 (#$ . 4335) nil]) (defalias 'zone-shift-up #[nil "`\303y\210` { |\210db\210\nc+\207" [b e s 1] 2]) (defalias 'zone-shift-down #[nil "db\210`\303y\210` { |\210eb\210\nc+\207" [b e s -1] 2]) (defalias 'zone-shift-left #[nil "\302\303m?\205$ l\204 ``T{\304\305!\210\303\210c\210\303\306\307\217\210\202 *\207" [s inhibit-point-motion-hooks t nil delete-char 1 (forward-char 1) ((error))] 3]) (defalias 'zone-shift-right #[nil "db\210\302\303o?\205% n\204 `S`{\304\305!\210\306 \210c\210\307\210\202 *\207" [s inhibit-point-motion-hooks t nil delete-char -1 beginning-of-line 0] 2]) (defalias 'zone-pgm-jitter #[nil "\301eb\210\302 ?\205 \303G!\234 \210eb\210\304\305\306\"\210\202 )\207" [ops [zone-shift-left zone-shift-right zone-shift-down zone-shift-up] input-pending-p random sit-for 0 10] 3]) (defalias 'zone-pgm-whack-chars #[nil "\302\303\304N!\305 ?\2053 \306\211\307W\203$ \306\310\311!\\I\210 T\211\202 \312ed#\210\313\314\315\"\210)\202 )\207" [tbl i copy-sequence zone-pgm-whack-chars wc-tbl input-pending-p 48 122 random 75 translate-region sit-for 0 2] 6]) (byte-code "\302\303\304\305\306\307\"\310\306W\203 \211I\210T\211\202 *#\207" [i tbl put zone-pgm-whack-chars wc-tbl make-string 128 120 0] 7) (defalias 'zone-remove-text #[nil "\302\205B \303\212eb\210m\2049 \304\305!\2033 \306\307!\211\310U\204( \302\311u\210\202/ \312\311!\210\313c\210)\202\f \311u\210\202\f )\314\310\315\"\210\202 )\207" [working n t nil looking-at "[^(){}\n ]" random 5 0 1 delete-char " " sit-for 2] 4]) (defalias 'zone-pgm-dissolve #[nil "\300 \210\301 \207" [zone-remove-text zone-pgm-jitter] 1]) (defalias 'zone-exploding-remove #[nil "\302\303W\2039 \212eb\210m\204- \304\305!\203'