| Server IP : 217.160.0.212 / Your IP : 216.73.216.250 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 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/org/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\306\307\310\311DD\312\313\314\315\316\317\320& \210\305\321\307\310\322DD\323\313\314\317\324&\210\305\325\307\310\326DD\327\313\330\315\316\317\331& \210\305\332\307\310\333DD\334\313\330\315\316\317\331& \210\305\335\307\310\336DD\337\313\330\315\316\317\331& \210\305\340\307\310\341DD\342\313\330\315\316\317\343& \210\305\344\307\310\345DD\342\313\330\315\316\317\343& \210\305\346\307\310\347DD\350\313\330\317\324&\210\305\351\307\310\352DD\353\313\330\315\316\317\310& \207" [require cl-lib org-src org-macs ol custom-declare-variable org-babel-tangle-lang-exts funcall function #[0 "\300\207" [(("emacs-lisp" . "el") ("elisp" . "el"))] 1 #1=""] "Alist mapping languages to their file extensions.\nThe key is the language name, the value is the string that should\nbe inserted as the extension commonly used to identify files\nwritten in this language. If no entry is found in this list,\nthen the name of the language is used." :group org-babel-tangle :version "24.1" :type (repeat (cons (string "Language name") (string "File Extension"))) org-babel-tangle-use-relative-file-links #[0 "\300\207" [t] 1 #1#] "Use relative path names in links from tangled source back the Org file." boolean org-babel-post-tangle-hook #[0 "\300\207" [nil] 1 #1#] "Hook run in code files tangled by `org-babel-tangle'." org-babel hook org-babel-pre-tangle-hook #[0 "\300\207" [(save-buffer)] 1 #1#] "Hook run at the beginning of `org-babel-tangle'." org-babel-tangle-body-hook #[0 "\300\207" [nil] 1 #1#] "Hook run over the contents of each code block body." org-babel-tangle-comment-format-beg #[0 "\300\207" ["[[%link][%source-name]]"] 1 #1#] "Format of inserted comments in tangled code files.\nThe following format strings can be used to insert special\ninformation into the output using `org-fill-template'.\n%start-line --- the line number at the start of the code block\n%file --------- the file from which the code block was tangled\n%link --------- Org style link to the code block\n%source-name -- name of the code block\n\nUpon insertion the formatted comment will be commented out, and\nfollowed by a newline. To inhibit this post-insertion processing\nset the `org-babel-tangle-uncomment-comments' variable to a\nnon-nil value.\n\nWhether or not comments are inserted during tangling is\ncontrolled by the :comments header argument." string org-babel-tangle-comment-format-end #[0 "\300\207" ["%source-name ends here"] 1 #1#] org-babel-tangle-uncomment-comments #[0 "\300\207" [nil] 1 #1#] "Inhibits automatic commenting and addition of trailing newline\nof tangle comments. Use `org-babel-tangle-comment-format-beg'\nand `org-babel-tangle-comment-format-end' to customize the format\nof tangled comments." org-babel-process-comment-text #[0 "\300\207" [org-remove-indentation] 1 #1#] "Function called to process raw Org text collected to be\ninserted as comments in tangled source-code files. The function\nshould take a single string argument and return a string\nresult. The default value is `org-remove-indentation'."] 10)
#@92 Find file ensuring that the latest changes on disk are
represented in the file.
(fn FILE)
(defalias 'org-babel-find-file-noselect-refresh #[257 "\300\301\"\210r\302!q\210\303\304\211\211#)\207" [find-file-noselect nowarn get-file-buffer revert-buffer t] 5 (#$ . 3190)])
#@157 Open FILE into a temporary buffer execute BODY there like
`progn', then kill the FILE buffer returning the result of
evaluating BODY.
(fn FILE &rest BODY)
(defalias 'org-babel-with-temp-filebuffer '(macro . #[385 "\300\301!\300\302!\300\303!\300\304!\305D\306DDF\307D\310\306 DE\311\310 \312
BEE\313\314 DE\257\207" [make-symbol "temp-path" "temp-result" "temp-file" "visited-p" let* get-file-buffer org-babel-find-file-noselect-refresh setf with-current-buffer progn unless kill-buffer] 16 (#$ . 3470)]))
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put org-babel-with-temp-filebuffer lisp-indent-function 1 put edebug-form-spec t] 5)
#@424 Extract the bodies of source code blocks in FILE.
Source code blocks are extracted with `org-babel-tangle'.
Optional argument TARGET-FILE can be used to specify a default
export file for all source blocks.
Optional argument LANG-RE can be used to limit the exported
source code blocks by languages matching a regular expression.
Return a list whose CAR is the tangled file name.
(fn FILE &optional TARGET-FILE LANG-RE)
(defalias 'org-babel-tangle-file #[769 "\300!\211\206\n \301!r\211q\210\212\214~\210\302\303\304\305#\"+\204% \306!\210\207" [find-buffer-visiting find-file-noselect mapcar expand-file-name org-babel-tangle nil kill-buffer] 11 (#$ . 4153) "fFile to tangle: \nP"])
#@76 Tangle FILENAME and place the results in PUB-DIR.
(fn _ FILENAME PUB-DIR)
(defalias 'org-babel-tangle-publish #[771 "\211C\300\242!\204 \301\242\302\"\210\211\303\242!\240\210\304\305\306\"\307!\"\207" [file-exists-p make-directory t file-name-as-directory mapc make-closure #[257 "\301\300\242\302#\207" [V0 copy-file t] 5 "\n\n(fn EL)"] org-babel-tangle-file] 8 (#$ . 4854)])
#@579 Write code blocks to source-specific files.
Extract the bodies of all source code blocks from the current
file into their own source-specific files.
With one universal prefix argument, only tangle the block at point.
When two universal prefix arguments, only tangle blocks for the
tangle file of the block at point.
Optional argument TARGET-FILE can be used to specify a default
export file for all source blocks. Optional argument LANG-RE can
be used to limit the exported source code blocks by languages
matching a regular expression.
(fn &optional ARG TARGET-FILE LANG-RE)
(defalias 'org-babel-tangle #[768 "\302\303!\210\214\212\304\232\203 \305 \211\203 \211b\266\202 \306\307!\266\310C\203. \311\312BC\"\202/ \313\232\205C \312\314\315\316!8\236A\206C \306\307!\317C\320\321\322#\323\232\203\\ \324\325\326\"\202a \327\"\"\210\330\331\242\242\325U\203s \332\202t \333\334\335\336 \206\206 p\206\206 \337 \205\206 \340 !!$\210 \203\224 \320\341\242\"\210\211\242)\266\204*\207" [org-babel-default-header-args org-babel-post-tangle-hook run-hooks org-babel-pre-tangle-hook (4) org-babel-where-is-src-block-head user-error "Point is not in a source code block" 0 org-babel-merge-params :tangle (16) 2 org-babel-get-src-block-info light nil mapc make-closure #[257 "\211@\211\205i A\302!\303C\303C\303C\303C\304\305\306\"r\211q\210\307\310\"\216\311\307\312\300 &\"\210\242\203? \313\314\"\210\315!\203K \316!\210\317\303\211\n#\210\311\307\320\n\"\242\"\210\301\301\242B\240*\262\266\206\207" [V0 V1 file-name-directory nil generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \302\300!\207" [V0 buffer-name kill-buffer] 2] mapc #[257 "\211@A\306\211\307\"\211G\310V\205 \211\262\311\"\305\242\230\204: \305\240\210\312\305\242!\313!\2039 \31418 \211 0\266\202: \210\210\203E \211\204E \315\262\211\203W \211\302\242\235\204W \302\302\242B\240\210\316\"\211\203m \301\203m \211\317\230\204m \303\320\240\210\210\321\"\317\230\204\200 `eU\204\200 \322c\210\203\222 \304\242\204\222 \322Pc\210\304\320\240\210\323!\210\300\211\242T\240\207" [V0 V1 V2 V3 V4 V5 #[514 "\211\3008\236A\207" [4] 5 "\n\n(fn SPEC NAME)"] :shebang 0 :tangle-mode org-src-get-lang-mode fboundp (error) 493 :mkdirp "no" t :padline "\n" org-babel-spec-to-string] 9 "\n\n(fn LSPEC)"] make-directory parents file-exists-p delete-file write-region #[257 "\301\300\"\207" [V0 set-file-modes] 4 "\n\n(fn MODE)"]] 18 "\n\n(fn BY-FN)"] (4) org-babel-tangle-single-block 1 t org-babel-tangle-collect-blocks message "Tangled %d code block%s from %s" "" "s" file-name-nondirectory buffer-file-name buffer-base-buffer org-src-edit-buffer-p org-src-source-buffer #[257 "\300!\301\211\302!\210\300!\262r\211q\210\303\304!\262)\204 \305!\210\207" [get-file-buffer nil org-babel-find-file-noselect-refresh run-hooks org-babel-post-tangle-hook kill-buffer] 6 "\n\n(fn FILE)"]] 14 (#$ . 5247) "P"])
#@312 Remove comments inserted by `org-babel-tangle'.
Call this function inside of a source-code file generated by
`org-babel-tangle' to remove all comments inserted automatically
by `org-babel-tangle'. Warning, this comment removes any lines
containing constructs which resemble Org file links or noweb
references.
(defalias 'org-babel-tangle-clean #[0 "eb\210\300\301\302\303#\204 \300\304 \302\303#\205) \212\305\306!\210`)\212\306\210\306u\210`)|\210\202 \207" [re-search-forward "\\[\\[file:.*\\]\\[.*\\]\\]" nil t org-babel-noweb-wrap beginning-of-line 1] 4 (#$ . 8209) nil])
#@293 Insert SPEC into the current file.
Insert the source-code specified by SPEC into the current source
code file. This function uses `comment-region' which assumes
that the appropriate major-mode is set. SPEC has the form:
(start-line file link source-name params body comment)
(fn SPEC)
(defalias 'org-babel-spec-to-string #[257 "\211\242\243\211\242\243\211\242\243\211\242\243\211\242\243\211\242\243\211\242\243\302\236A\211\303\230\2066 \211\304\230\2066 \211\305\230\2066 \211\306\230\307\310!B\311B\304B\312
BF\313\203T \211\"\210\203` \211\314\"\"\210\315\261\210\205q \211\314 \"\"\207" [org-babel-tangle-comment-format-beg org-babel-tangle-comment-format-end :comments "both" "link" "yes" "noweb" "start-line" number-to-string "file" "source-name" #[514 "\205@ \302\230?\205@ \303!\205@ \203 \211c\207\304`\305\211\203+ \306\307G $\210\2023 \310\307G\305$\210\266\202c\210`\"\210\305\210\311c\207" [org-babel-tangle-uncomment-comments org-rm-props "no" org-string-nw-p comment-region nil remove-text-properties 0 set-text-properties "\n"] 11 "\n\n(fn COMMENTS TEXT)"] org-fill-template "\n"] 24 (#$ . 8796)])
#@273 Return effective tangled filename of a source-code block.
BUFFER-FN is the name of the buffer, SRC-LANG the language of the
block and SRC-TFILE is the value of the :tangle header argument,
as computed by `org-babel-tangle-single-block'.
(fn BUFFER-FN SRC-LANG SRC-TFILE)
(defalias 'org-babel-effective-tangled-filename #[771 "\211\301\230\203\f \302!\202 \211\303\230\203 \304\202 \211G\305V\205 \211\306\"A\206'