;ELC ;;; Compiled ;;; in Emacs version 27.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 (#$ . 408)) #@80 Seconds to timeout the zoning. If nil, don't interrupt for about 1^26 seconds. (defvar zone-timeout nil (#$ . 510)) (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) "\306!\2030\3072%\310 \206\n\206\311\312\313\"\314\315#\211\fB\316\216 +0\211\307=?\205. )\207<\2059\317\320\"\207" [program timeout zone-timeout -with-timeout-timer- with-timeout-timers -with-timeout-value- functionp #1=#:timeout run-with-timer ash 1 26 nil #[nil "\300\301\211\"\207" [throw #1#] 3] #[nil "\301!\207" [-with-timeout-timer- cancel-timer] 2] mapcar #[(elem) "\301!\203\n\302!\207<\203\"\301@!\203\"A@\247\203\"\303\302\"\207\304\305\"\207" [elem functionp zone-call apply error "bad `zone-call' elem: %S"] 3]] 5 (#$ . 1297)]) #@23 Zone out, completely. (defalias 'zone #[nil "\306 \307\216\310 \311\312!\313 \314\315\316\"{\317 \313 ZT\320\321\322p#\210\323 !\210\324\325 \210\316\21145r\321\322Nq\2106)6r\321\322Nq\2107)7\nc\210\326ed\"\210\327\330 e\"\210\331\330 \"\210\332\333\334\"\2108\3358G!\234\f\205o\336\f\337\"\315\340C9:;<;\203\212\341\f\342\"\210\3439B9\344\315\3459\346\"BB9\3471\333\3501\273\351\352<\"\210\353 \210\354 \203\256\355 \210\356 u\210 iU\205>`\211\205>\n\316 \211 \\\"\230\205> S\\\211)\203~\317\320\315!\210\nc\210 b\210`W\203~\320 !\210c\210\321u\210\f\322_\211`b\210\323!b\210+\204.\207" [c cw-ceil spaces col wait newpos ceiling char-width 0 make-string 32 0.15 nil 1 buffer-substring-no-properties t delete-char -1 0.8 sit-for fall-p wend wbeg seconds pos p] 6]) (defalias 'zone-pgm-drip #[(&optional fret-p pancake-p) "\306 S\307 \310 _\311\211\311\211!\"\312 \"\210\313 \314 !\3152\222\316 ?\205\221\310\314 ! \317! Z!\\b\210\320\321!\203a \nT\211U\203T\322\315\323\"\210\202= \317! Z!\\b\210\202=`#$\203o\324 #\"\210#b\210#\211%\211T{)\"\325\" !#)&\203'\f\203'\326e`\" W\203'\327\330\"\310H!!\211'\331\"\332()*+\333*\206\271+[!\210)\310(I\210+\310,-,-W\205\336)c\210,T\211,\202\313.\210 \334.%`#%b\210\335.!#b\210+\210'\311\"\336()*+\333*\206+[!\210)\310(I\210+\310,-,-W\2054)c\210,T\211,\202!.\210 \337.%`#%b\210\335.!#b\210+\210'\311\"\340()*+\333*\206e+[!\210)\310(I\210+\310,-,-W\205\212)c\210,T\211,\202w.\210)\202'0.\207" [ww wh mc total fall-p wbeg window-width window-height 0 nil zone-fill-out-screen window-start window-end done input-pending-p random looking-at "[ \n\f]" throw sel zone-fret zone-fall-through-ws count-lines ceiling char-width 1 64 delete-char 0.137 sit-for 42 0.137 95 wend c p fret-p pos pancake-p cw new-value char-as-string del-count count i --dotimes-limit-- seconds] 5]) (defalias 'zone-pgm-drip-fretfully #[nil "\300\301!\207" [zone-pgm-drip t] 2]) (defalias 'zone-pgm-five-oclock-swan-dive #[nil "\300\301\302\"\207" [zone-pgm-drip nil t] 3]) (defalias 'zone-pgm-martini-swan-dive #[nil "\300\301\211\"\207" [zone-pgm-drip t] 3]) (defalias 'zone-pgm-rat-race #[nil "\300 ?\205 \301\302!\210\202\207" [input-pending-p zone-call ((zone-pgm-rotate 10) (zone-pgm-drip-fretfully 15) (zone-pgm-drip 10) ((lambda nil (goto-char (point-min)) (while (re-search-forward " +$" nil t) (delete-region (match-beginning 0) (match-end 0)))) 5))] 2]) (defalias 'zone-pgm-paragraph-spaz #[nil "r\305\306Nq\210)\307>\203F \211\211\310 S\311\312!\205D\313\314!\210 \315\316!\317Z\\\211\fW\2031  \nV\2039\n V\203 \202,\207\320\321!\210\322 \207" [major-mode fill-column max-fc fc-max fc-min zone orig-buffer (text-mode texinfo-mode fundamental-mode) frame-width sit-for 0.1 fill-paragraph 1 random 5 2 message "Zoning... (zone-pgm-rotate)" zone-pgm-rotate] 5]) (defalias 'zone-pgm-stress #[nil "eb\210\305\306 \203\"`dW\203\"`\307y\310U\n`{B)\202\311\312!\210\306\313\f\314\230\204@\315\316\f\307\"\211!\210\311\317!\210\202*)\320 ?\205{\321\322\323!W\203fdb\210\324y\210`\325\326!|\210eb\210\322G!8c\210\315\327\322\330 \312Z!\331\"\332P!\210\311\333!\210\202A+\207" [lines ok p mode-line-format msg t nil 1 0 sit-for 5 "Zoning... (zone-pgm-stress)" "" message substring 0.05 input-pending-p 50 random 100 -1 line-beginning-position 2 make-string frame-width 32 "grrr" 0.1] 5]) (defalias 'zone-pgm-stress-destress #[nil "\301\302\303\"\210\304\305\306!\210\307 \210\305\306!\210\310\311!\210\312\313!\210db\210\314\315!\210\305\306!\210e\316 |\210\312\317!\210\301\320!)\207" [mode-line-format zone-call zone-pgm-stress 25 nil sit-for 3 erase-buffer insert-buffer-substring "*Messages*" message "" recenter -1 window-start "hey why stress out anyway?" ((zone-pgm-rotate 30) (zone-pgm-whack-chars 10) zone-pgm-drip)] 3]) #@125 Seconds to wait between successive `life' generations. If nil, `zone-pgm-random-life' chooses a value from 0-3 (inclusive). (defvar zone-pgm-random-life-wait nil (#$ . 13535)) (defalias 'zone-pgm-random-life #[nil "\306\307!\210\310\311 S\312 S\"\210\313 b\210\314y\210`\315 b\210\316y\210`\317 \320Z\313 \315 S\321\211\21145 d|\210\fb\210\322\323!\203\373\f\324 !\\b\210\325 w\210 `U\203b\325\fx\326U\204\373\f`U\204\373\327u\210l\2047m\2047`\2116\211T{)\211\326H\330 !\331\n5`V\204\2304`W\204\230\320i\211V\204\230 W\203\234\332\202\277\333 X\203\256\334 Y\203\256 \335\\\202\277\336 X\203\276\337 Y\203\276\340\202\277\341789:\3429\206\320:[!\2108\3267I\210:\326;<;\206X\324\362!!\210\363\321!. \207" [col c s max min rtc require life zone-fill-out-screen window-width window-height window-start 7 window-end -7 frame-width 11 nil sit-for 0.05 random " @\n" 0 -1 char-width 1 32 97 122 -32 65 90 42 64 delete-char 3 move-to-column 9 -10 vector search-forward "@" t make-string mapconcat identity make-list 15 5 10 4 kill-buffer bot top pos new-value char-as-string del-count count i --dotimes-limit-- life-patterns zone-pgm-random-life-wait] 9]) (provide 'zone)