| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 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/textmodes/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301\302\303\304\305\306\307&\210\310\311\312\313\314DD\315\316\317%\210\310\320\312\313\321DD\322\316\317%\210\310\323\312\313\324DD\325\316\317%\210\310\326\312\313\327DD\330\316\317%\210\310\331\312\313\332DD\333\316\317%\210\310\334\312\313\335DD\336\316\317%\207" [custom-declare-group picture nil "Editing text-based pictures (\"ASCII art\")." :prefix "picture-" :group text custom-declare-variable picture-rectangle-ctl funcall function #[0 "\300\207" [43] 1 #1=""] "Character `picture-draw-rectangle' uses for top left corners." :type character picture-rectangle-ctr #[0 "\300\207" [43] 1 #1#] "Character `picture-draw-rectangle' uses for top right corners." picture-rectangle-cbr #[0 "\300\207" [43] 1 #1#] "Character `picture-draw-rectangle' uses for bottom right corners." picture-rectangle-cbl #[0 "\300\207" [43] 1 #1#] "Character `picture-draw-rectangle' uses for bottom left corners." picture-rectangle-v #[0 "\300\207" [124] 1 #1#] "Character `picture-draw-rectangle' uses for vertical lines." picture-rectangle-h #[0 "\300\207" [45] 1 #1#] "Character `picture-draw-rectangle' uses for horizontal lines."] 8)
#@165 Desired current column for Picture mode.
When a cursor is on a wide-column character (e.g. Chinese,
Japanese, Korean), this may be different from `current-column'.
(defvar picture-desired-column 0 (#$ . 1227))
#@257 Maybe update `picture-desired-column'.
If the value of `picture-desired-column' is more than one column
from `current-column', or if the argument ADJUST-TO-CURRENT is
non-nil, set it to the current column. Return `current-column'.
(fn ADJUST-TO-CURRENT)
(defalias 'picture-update-desired-column #[257 "i\204 SW\204 TV\203 \211\207" [picture-desired-column] 4 (#$ . 1444)])
#@175 Position point at the beginning of the line.
With ARG not nil, move forward ARG - 1 lines first.
If scan reaches end of buffer, stop there without error.
(fn &optional ARG)
(defalias 'picture-beginning-of-line #[256 "\211\203\n \301!Sy\210\302 \210\303\211\207" [picture-desired-column prefix-numeric-value beginning-of-line 0] 3 (#$ . 1835) "^P"])
#@193 Position point after last non-blank character on current line.
With ARG not nil, move forward ARG - 1 lines first.
If scan reaches end of buffer, stop there without error.
(fn &optional ARG)
(defalias 'picture-end-of-line #[256 "\211\203\n \301!Sy\210\302 \210\303`\304\210x\210i\211\207" [picture-desired-column prefix-numeric-value beginning-of-line " " nil] 4 (#$ . 2194) "^P"])
#@123 Move cursor right, making whitespace if necessary.
With argument, move that many columns.
(fn ARG &optional INTERACTIVE)
(defalias 'picture-forward-column #[513 "\302\303!\210\304 \\]\305 \306\"\211 V\205 \304W\205 \307u\262)\207" [deactivate-mark picture-desired-column nil picture-update-desired-column 0 move-to-column t -1] 5 (#$ . 2588) "^p\nd"])
#@122 Move cursor left, making whitespace if necessary.
With argument, move that many columns.
(fn ARG &optional INTERACTIVE)
(defalias 'picture-backward-column #[513 "\300!\210\301[!\207" [picture-update-desired-column picture-forward-column] 4 (#$ . 2956) "^p\nd"])
#@102 Move vertically down, making whitespace if necessary.
With argument, move that many lines.
(fn ARG)
(defalias 'picture-move-down #[257 "\302\303\302!\210\304!\210\305 \306\"\211 V\205 \307u\262)\207" [deactivate-mark picture-desired-column nil picture-update-desired-column picture-newline move-to-column t -1] 4 (#$ . 3228) "^p"])
#@65 Amount to move vertically after text character in Picture mode.
(defvar picture-vertical-step 0 (#$ . 3571))
#@67 Amount to move horizontally after text character in Picture mode.
(defvar picture-horizontal-step 1 (#$ . 3686))
#@100 Move vertically up, making whitespace if necessary.
With argument, move that many lines.
(fn ARG)
(defalias 'picture-move-up #[257 "\300\301!\210\302[!\207" [picture-update-desired-column nil picture-move-down] 3 (#$ . 3806) "^p"])
#@60 Move right after self-inserting character in Picture mode.
(defalias 'picture-movement-right #[0 "\300\301\302\"\207" [picture-set-motion 0 1] 3 (#$ . 4046) nil])
#@59 Move left after self-inserting character in Picture mode.
(defalias 'picture-movement-left #[0 "\300\301\302\"\207" [picture-set-motion 0 -1] 3 (#$ . 4215) nil])
#@57 Move up after self-inserting character in Picture mode.
(defalias 'picture-movement-up #[0 "\300\301\302\"\207" [picture-set-motion -1 0] 3 (#$ . 4383) nil])
#@59 Move down after self-inserting character in Picture mode.
(defalias 'picture-movement-down #[0 "\300\301\302\"\207" [picture-set-motion 1 0] 3 (#$ . 4547) nil])
#@137 Move up and left after self-inserting character in Picture mode.
With prefix argument, move up and two-column left.
(fn &optional ARG)
(defalias 'picture-movement-nw #[256 "\300\301\203\n \302\202 \301\"\207" [picture-set-motion -1 -2] 4 (#$ . 4715) "P"])
#@139 Move up and right after self-inserting character in Picture mode.
With prefix argument, move up and two-column right.
(fn &optional ARG)
(defalias 'picture-movement-ne #[256 "\300\301\203\n \302\202 \303\"\207" [picture-set-motion -1 2 1] 4 (#$ . 4981) "P"])
#@141 Move down and left after self-inserting character in Picture mode.
With prefix argument, move down and two-column left.
(fn &optional ARG)
(defalias 'picture-movement-sw #[256 "\300\301\203\n \302\202 \303\"\207" [picture-set-motion 1 -2 -1] 4 (#$ . 5250) "P"])
#@143 Move down and right after self-inserting character in Picture mode.
With prefix argument, move down and two-column right.
(fn &optional ARG)
(defalias 'picture-movement-se #[256 "\300\301\203\n \302\202 \301\"\207" [picture-set-motion 1 2] 4 (#$ . 5522) "P"])
#@146 Set VERTICAL and HORIZONTAL increments for movement in Picture mode.
The mode line is updated to reflect the current direction.
(fn VERT HORIZ)
(defalias 'picture-set-motion #[514 "\211\303\304\305\306\246\\\307\305\246T_\\\3108\"\311 \210\312\313!\207" [picture-vertical-step picture-horizontal-step mode-name format "Picture:%s" 2 3 5 (wnw nw up ne ene Left left none right Right wsw sw down se ese) force-mode-line-update message ""] 8 (#$ . 5792)])
#@77 Move in direction of `picture-vertical-step' and `picture-horizontal-step'.
(defalias 'picture-move #[0 "\302U\204\n \303!\210 \302U?\205 \304 !\207" [picture-vertical-step picture-horizontal-step 0 picture-move-down picture-forward-column] 2 (#$ . 6258)])
#@270 Move point in direction of current picture motion in Picture mode.
With ARG do it that many times. Useful for delineating rectangles in
conjunction with diagonal picture motion.
Use "\[command-apropos] picture-movement" to see commands which control motion.
(fn ARG)
(defalias 'picture-motion #[257 "\302_!\210\303 _!\207" [picture-vertical-step picture-horizontal-step picture-move-down picture-forward-column] 4 (#$ . 6525) "^p"])
#@279 Move point in direction opposite of current picture motion in Picture mode.
With ARG do it that many times. Useful for delineating rectangles in
conjunction with diagonal picture motion.
Use "\[command-apropos] picture-movement" to see commands which control motion.
(fn ARG)
(defalias 'picture-motion-reverse #[257 "\300[!\207" [picture-motion] 3 (#$ . 6970) "^p"])
#@82 Move point to the position of EVENT, making whitespace if necessary.
(fn EVENT)
(defalias 'picture-mouse-set-point #[257 "\301!\211\211A@:\203 \211A@@\202 \211A@\2119\205 \211\266\202?\205\226 \211\211@\262\302!\2030 \211\2023 \303!\3048\262\305!\306!\3048\262@@ZAAZ\307!\310!\205j r\311!q\210)\206j \312\300\"\313!\203z \314_!\262\202\201 \211\204\201 \315\262b\210\316\\\245!\210\317\320\n!\245!\266\211\207" [line-spacing event-start framep window-frame 2 window-start posn-at-point frame-char-height display-graphic-p window-buffer frame-parameter floatp truncate 0 picture-move-down picture-forward-column frame-char-width] 15 (#$ . 7346) "e"])
#@15
(fn CH ARG)
(defalias 'picture-insert #[514 "\303!\304U\203 \211\305V\203 \306 !\307W\203 \307_\202 \304V\205j S\262\niU\2044 \310\n\311\"\210\n\\l\204] `\310\311\"\210\312`{!`|\210\211V\203[ \313\314Z\"\210b\210\266\210c\210\315u\210\316 \210\202 )\207" [picture-vertical-step picture-horizontal-step picture-desired-column char-width 0 1 abs 2 move-to-column t string-width insert-char 32 -1 picture-move] 10 (#$ . 8041)])
#@282 Insert this character in place of character previously at the cursor.
The cursor then moves in the direction you previously specified
with the commands `picture-movement-right', `picture-movement-up', etc.
Use "\[command-apropos] picture-movement" to see those commands.
(fn ARG)
(defalias 'picture-self-insert #[257 "\303 =?!\210\304\n\"\207" [this-command last-command last-command-event picture-update-desired-column picture-insert] 4 (#$ . 8499) "p"])
#@61 Clear out ARG columns after point without moving.
(fn ARG)
(defalias 'picture-clear-column #[257 "i\301\\]\302\303\304\"\210`\262\303!\210\211`|\210\212]j\210)\266i\211\207" [picture-desired-column 0 nil move-to-column t] 7 (#$ . 8964) "p"])
#@70 Clear out ARG columns before point, moving back over them.
(fn ARG)
(defalias 'picture-backward-clear-column #[257 "\300[!\207" [picture-clear-column] 3 (#$ . 9222) "p"])
#@229 Clear out rest of line; if at end of line, advance to next line.
Cleared-out line text goes into the kill ring, as do newlines that are
advanced over. With argument, clear out (and save in kill ring) that
many lines.
(fn ARG)
(defalias 'picture-clear-line #[257 "\211\203 \300!\262\301!\210\302\303V\203 \202 [!\207\304\305!\203* \306`\307y\210`\"\207\310`\311\210`\"\207" [prefix-numeric-value kill-line newline 0 looking-at "[ ]*$" kill-ring-save 1 kill-region nil] 4 (#$ . 9402) "P"])
#@162 Move to the beginning of the following line.
With argument, moves that many lines (up, if negative argument);
always moves to the beginning of a line.
(fn ARG)
(defalias 'picture-newline #[257 "`ym\203 `V\203 \300 \210\211\301V\205 \300!\207" [newline 0] 5 (#$ . 9910) "^p"])
#@143 Insert ARG empty lines after the current line.
ARG must be positive.
Interactively, ARG is the numeric argument, and defaults to 1.
(fn ARG)
(defalias 'picture-open-line #[257 "\212\300\210\301!)\207" [nil open-line] 3 (#$ . 10200) "p"])
#@51 Insert a duplicate of the current line, below it.
(defalias 'picture-duplicate-line #[0 "\212\300 \210`\301\302!\210`{\303y\210\211c\262)\207" [beginning-of-line picture-newline 1 -1] 3 (#$ . 10447) nil])
#@34
(fn NEWTEXT FIXEDCASE LITERAL)
(defalias 'picture-replace-match #[771 "\301\211\211\302\225\211\262b\210i\262\301\211\303#\210iZ\262\262\211\203/ \304\305\"\262\202\"