| 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 : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301\302\303\304\305%\210\306\307\310\311\312DD\313\314\315%\210\316\307\317\320#\210\306\321\310\311\322DD\323\314\315%\210\306\324\310\311\325DD\326\314\315%\210\327\330\331\332#\207" [custom-declare-group expand nil "Make abbreviations more usable." :group abbrev custom-declare-variable expand-load-hook funcall function #[0 "\300\207" [nil] 1 #1=""] "Hooks run when `expand.el' is loaded." :type hook make-obsolete-variable "use `with-eval-after-load' instead." "28.1" expand-expand-hook #[0 "\300\207" [nil] 1 #1#] "Hooks run when an abbrev made by `expand-add-abbrevs' is expanded." expand-jump-hook #[0 "\300\207" [nil] 1 #1#] "Hooks run by `expand-jump-to-previous-slot' and `expand-jump-to-next-slot'." put expand-c-for-skeleton no-self-insert t] 6)
#@547 For loop skeleton.
This is a skeleton command (see `skeleton-insert').
Normally the skeleton text is inserted at point, with nothing "inside".
If there is a highlighted region, the skeleton text is wrapped
around the region text.
A prefix argument ARG says to wrap the skeleton around the next ARG words.
A prefix argument of -1 says to wrap around region, even if not highlighted.
A prefix argument of zero says to wrap around zero words---that is, nothing.
This is a way of overriding the use of a highlighted region.
(fn &optional STR ARG)
(defalias 'expand-c-for-skeleton #[512 "\304 \305\211\305C\306\307#\216\310!\210\311\312#\313\240\210,\207" [most-positive-fixnum undo-strong-limit undo-limit undo-outer-limit prepare-change-group nil make-closure #[0 "\301\242\203 \302\300!\207\303\300!\207" [V0 V1 accept-change-group cancel-change-group] 2] activate-change-group skeleton-proxy-new ("Loop var: " "for(" str _ @ "=0; " str @ "; " str @ ") {" n @ _ n "}" > n) t] 11 (#$ . 861) "*P\nP"])
#@51 Expansions for C mode. See `expand-add-abbrevs'.
(defconst expand-c-sample-expand-list '(("if" "if () {\n \n} else {\n \n}" (5 10 21)) ("ifn" "if () {}" (5 8)) ("uns" "unsigned ") ("for" expand-c-for-skeleton) ("switch" "switch () {\n\n}" (9 13)) ("case" "case :\n\nbreak;\n" (6 8 16)) ("do" "do {\n\n} while ();" (6 16)) ("while" "while () {\n\n}" (8 12)) ("default" "default:\n\nbreak;" 10) ("main" "int\nmain(int argc, char * argv[])\n{\n\n}\n" 37)) (#$ . 1885))
#@54 Expansions for Lisp mode. See `expand-add-abbrevs'.
(defconst expand-sample-lisp-mode-expand-list (byte-code "\300\301\302\303\304\305\306\307\257E\310\311\303\312\313\314\315\257E\316\317\303\320\321\322FE\323\324\325\326\305\327FE\330\331\303\320\332EE\333\334\335\303\321EE\336\337\302\320DE\340\341\321CE\342\343\325\312DE\257 \207" ["defu" "(defun ()\n \"\"\n (interactive)\n (let* (\n )\n \n ))" 8 11 16 32 43 59 "defs" "(defsubst ()\n \"\"\n (interactive)\n )" 14 19 23 39 "defm" "(defmacro ()\n \"\"\n `( \n ))" 13 18 25 "defa" "(defadvice (around act)\n \"\"\n \n )" 12 22 36 "defc" "(defconst nil\n \"\")\n" 20 "defv" "(defvar nil\n \"\")\n" 9 "let" "(let* (\n)\n " "sav" "(save-excursion\n \n)" "aut" "(autoload ' \"\" t t)\n"] 12) (#$ . 2358))
#@54 Expansions for Perl mode. See `expand-add-abbrevs'.
(defconst expand-sample-perl-mode-expand-list (byte-code "\300\301\302\303\304\"\305Q\306\307\310\311\312\313\257E\314\315\316\317DE\320\321\322\323DE\324\325\326\317DE\327\330\322CE\331\332\326CE\333\334\326\335\336EE\337\340\316E\341\342\322CE\343\344\316CE\345\346\316E\347\350\335E\351\352\335\353DE\354\355\316\322DE\356\357\316\353DE\360\361\335CE\257\207" ["sub" "#" make-string 70 45 "\nsub {\n # DESCRIPTION\n # \n # \n # INPUT\n # \n # \n # RETURN\n # \n\n local( $f ) = \"$lib.\";\n local() = @_;\n \n \n}\n" 77 88 120 146 159 176 "for" "for ( )\n{\n\n}" 7 12 "whi" "while ( )\n{\n\n}" 9 15 "iff" "if ( )\n{\n\n}" 6 "loc" "local( $ );" "my" "my( $ );" "ope" "open(,\"\") || die \"$f: Can't open [$]\";" 8 36 "clo" "close ;" "def" "defined " "und" "undef ;" "pr" "print " "pf" "printf " "gre" "grep( //, );" 11 "pus" "push( , );" "joi" "join( '', );" "rtu" "return ;"] 18) (#$ . 3169))
#@851 Add a list of abbreviations to abbrev table TABLE.
ABBREVS is a list of abbrev definitions; each abbrev description entry
has the form (ABBREV EXPANSION ARG).
ABBREV is the abbreviation to replace.
EXPANSION is the replacement string or a function which will make the
expansion. For example, you could use the DMacros or skeleton packages
to generate such functions.
ARG is an optional argument which can be a number or a list of
numbers. If ARG is a number, point is placed ARG chars from the
beginning of the expanded text.
If ARG is a list of numbers, point is placed according to the first
member of the list, but you can visit the other specified positions
cyclically with the functions `expand-jump-to-previous-slot' and
`expand-jump-to-next-slot'.
If ARG is omitted, point is placed at the end of the expanded text.
(fn TABLE ABBREVS)
(defalias 'expand-add-abbrevs #[514 "\211\204 \207\300@@@A@\301@8$\210\302A\"\207" [expand-add-abbrev 2 expand-add-abbrevs] 8 (#$ . 4179)])
#@48 Temporary variable used by the Expand package.
(defvar expand-list nil (#$ . 5183))
#@81 If non-nil, store a vector with position markers defined by the last expansion.
(defvar expand-pos nil (#$ . 5273))
(make-variable-buffer-local 'expand-pos)
#@48 Index of the last marker used in `expand-pos'.
(defvar expand-index 0 (#$ . 5436))
(make-variable-buffer-local 'expand-index)
#@29 End of the expanded region.
(defvar expand-point nil (#$ . 5568))
(make-variable-buffer-local 'expand-point)
#@112 Add one abbreviation and provide the hook to move to the specified positions.
(fn TABLE ABBREV EXPANSION ARG)
(defalias 'expand-add-abbrev #[1028 "9\205 \300!?\205
\203+ \211\203+ <\203# G@SZ\202, GSZ\202, \301\302\303<\205G ??\205G G B\n9\205V \300!\205V \n$\304$\207" [fboundp 0 define-abbrev vector expand-abbrev-hook] 15 (#$ . 5684)])
(put 'expand-abbrev-hook 'no-self-insert t)
#@128 Abbrev hook used to do the expansion job of expand abbrevs.
See `expand-add-abbrevs'. Value is non-nil if expansion was done.
(defalias 'expand-abbrev-hook #[0 "l\205D \304 ?\205D `\305hz\306=\205B \307 \205B \2030 \310 !\203'