Server IP : 111.118.215.189 / Your IP : 18.117.158.174 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/org/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:08:03 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/org/org-src.el ;;; in Emacs version 24.3.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\306\307\310\311\312\313\314&\210\305\315\316\317\311\312\313\320&\210\305\321\322\323\311\312\313\324&\210\305\325\307\326\311\312\313\327&\210\305\330\331\332\311\312\313\333&\207" [require org-macs org-compat ob-keys ob-comint custom-declare-variable org-edit-src-region-extra nil "Additional regexps to identify regions for editing with `org-edit-src-code'.\nFor examples see the function `org-edit-src-find-region-and-lang'.\nThe regular expression identifying the begin marker should end with a newline,\nand the regexp marking the end line should start with a newline, to make sure\nthere are kept outside the narrowed region." :group org-edit-structure :type (repeat (list (regexp :tag "begin regexp") (regexp :tag "end regexp") (choice :tag "language" (string :tag "specify") (integer :tag "from match group") (const :tag "from `lang' element") (const :tag "from `style' element")))) org-coderef-label-format "(ref:%s)" "The default coderef format.\nThis format string will be used to search for coderef labels in literal\nexamples (EXAMPLE and SRC blocks). The format can be overwritten in\nan individual literal example with the -l option, like\n\n#+BEGIN_SRC pascal +n -r -l \"((%s))\"\n...\n#+END_SRC\n\nIf you want to use this for HTML export, make sure that the format does\nnot introduce special font-locking, and avoid the HTML special\ncharacters `<', `>', and `&'. The reason for this restriction is that\nthe labels are searched for only after htmlize has done its job." string org-edit-fixed-width-region-mode 'artist-mode "The mode that should be used to edit fixed-width regions.\nThese are the regions where each line starts with a colon." (choice (const artist-mode) (const picture-mode) (const fundamental-mode) (function :tag "Other (specify)")) org-src-preserve-indentation "If non-nil preserve leading whitespace characters on export.\nIf non-nil leading whitespace characters in source code blocks\nare preserved on export, and when switching between the org\nbuffer and the language mode edit buffer. If this variable is nil\nthen, after editing with \\[org-edit-src-code], the\nminimum (across-lines) number of leading whitespace characters\nare removed from all lines, and the code block is uniformly\nindented according to the value of `org-edit-src-content-indentation'." boolean org-edit-src-content-indentation 2 "Indentation for the content of a source code block.\nThis should be the number of spaces added to the indentation of the #+begin\nline in order to compute the indentation of the block content after\nediting it with \\[org-edit-src-code]. Has no effect if\n`org-src-preserve-indentation' is non-nil." integer] 8) #@72 If non-nil, blank lines are removed when exiting the code edit buffer. (defvar org-src-strip-leading-and-trailing-blank-lines nil (#$ . 3294)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\305\306\313&\207" [custom-declare-variable org-edit-src-persistent-message t "Non-nil means show persistent exit help message while editing src examples.\nThe message is shown in the header-line, which will be created in the\nfirst line of the window showing the editing buffer." :group org-edit-structure :type boolean org-src-window-setup 'reorganize-frame "How the source code edit buffer should be displayed.\nPossible values for this option are:\n\ncurrent-window Show edit buffer in the current window, keeping all other\n windows.\nother-window Use `switch-to-buffer-other-window' to display edit buffer.\nreorganize-frame Show only two windows on the current frame, the current\n window and the edit buffer. When exiting the edit buffer,\n return to one window.\nother-frame Use `switch-to-buffer-other-frame' to display edit buffer.\n Also, when exiting the edit buffer, kill that frame." (choice (const current-window) (const other-frame) (const other-window) (const reorganize-frame))] 8) #@423 Hook run after Org switched a source code snippet to its Emacs mode. This hook will run - when editing a source code snippet with "C-c '". - When formatting a source code snippet for export with htmlize. You may want to use this hook for example to turn off `outline-minor-mode' or similar things which you want to have when editing a source code file, but which mess up the display of a snippet in Org exported files. (defvar org-src-mode-hook nil (#$ . 4600)) #@386 Alist mapping languages to their major mode. The key is the language name, the value is the string that should be inserted as the name of the major mode. For many languages this is simple, but for language where this is not the case, this variable provides a way to simplify things on the user side. For example, there is no ocaml-mode in Emacs, but the mode to use is `tuareg-mode'. (custom-declare-variable 'org-src-lang-modes ''(("ocaml" . tuareg) ("elisp" . emacs-lisp) ("ditaa" . artist) ("asymptote" . asy) ("dot" . fundamental) ("sqlite" . sql) ("calc" . fundamental) ("C" . c) ("cpp" . c++) ("screen" . shell-script)) '(#$ . 5072) :group 'org-edit-structure :type '(repeat (cons (string "Language name") (symbol "Major mode")))) (defvar org-src-mode-map (make-sparse-keymap)) (byte-code "\301\302\303#\210\301\304\305#\207" [org-src-mode-map define-key "'" org-edit-src-exit "" org-edit-src-save] 4) (defvar org-edit-src-force-single-line nil) (defvar org-edit-src-from-org-mode nil) (defvar org-edit-src-allow-write-back-p t) (defvar org-edit-src-picture nil) (defvar org-edit-src-beg-marker nil) (defvar org-edit-src-end-marker nil) (defvar org-edit-src-overlay nil) (defvar org-edit-src-block-indentation nil) (defvar org-edit-src-saved-temp-window-config nil) #@217 If nil, when org-edit-src code is used on a block that already has an active edit buffer, it will switch to that edit buffer immediately; otherwise it will ask whether you want to return to the existing edit buffer. (defvar org-src-ask-before-returning-to-edit-buffer t (#$ . 6357)) (defvar org-src-babel-info nil) #@93 Non-nil if Org-Src mode is enabled. Use the command `org-src-mode' to change this variable. (defvar org-src-mode nil (#$ . 6678)) (make-variable-buffer-local 'org-src-mode) #@312 Minor mode for language major mode buffers generated by org. This minor mode is turned on in two situations: - when editing a source code snippet with "C-c '". - When formatting a source code snippet for export with htmlize. There is a mode hook, and keybindings for `org-edit-src-exit' and `org-edit-src-save' (defalias 'org-src-mode #[(&optional arg) "\303 \304=\203 \n?\202 \305 !\306V\307\310\n\203 \311\202 \312\"\210\313\314!\203@ \303 \2033 \303 \232\203@ \315\316\n\203= \317\202>