commit | author | age
|
76bbd0
|
1 |
;ELC |
C |
2 |
;;; Compiled |
|
3 |
;;; in Emacs version 26.1 |
|
4 |
;;; with all optimizations. |
|
5 |
|
|
6 |
;;; This file contains utf-8 non-ASCII characters, |
|
7 |
;;; and so cannot be loaded into Emacs 22 or earlier. |
|
8 |
(and (boundp 'emacs-version) |
|
9 |
(< (aref emacs-version (1- (length emacs-version))) ?A) |
|
10 |
(string-lessp emacs-version "23") |
|
11 |
(error "`%s' was compiled for Emacs 23 or later" #$)) |
|
12 |
|
|
13 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
14 |
|
|
15 |
|
|
16 |
(byte-code "\300\301!\210\300\302!\210\300\303!\210\304\305\306\307\310\311\312\313\314&\210\315\316\317\320\321\322\323\324&\210\325\326\327\330\331DD\332\323\316\333\334\335\336\337\340&\210\325\341\327\330\342DD\343\323\316\333\334\335\344\337\340&\210\325\345\327\330\346DD\347\323\316\333\334\335\350\337\340&\210\325\351\327\330\352DD\353\323\316\333\334\335\354\337\340&\210\325\355\327\330\356DD\357\323\316\333\360\335\361\337\340&\210\325\362\327\330\363DD\364\323\316\333\334\335\365\337\340&\210\325\366\327\330\367DD\370\323\316\333\334\335\371\337\372&\210\325\373\327\330\374DD\375\323\316\333\334\335\376\337\377&\210\325\201@ \327\330\201A DD\201B \323\316\333\334\335\201C \337\201D &\210\325\201E \327\330\201F DD\201G \323\316\333\334\335\201H \337\201I &\210\325\201J \327\330\201K DD\201L \323\316\333\334\335\201M \337\201N &\210\325\201O \327\330\201P DD\201Q \323\316\333\334\335\201R \337\201S &\210\325\201T \327\330\201U DD\201V \323\316\333\334\335\201W \337\201X &\210\325\201Y \327\330\201Z DD\201[ \323\316\333\334\335\201\\ \337\201X &\210\325\201] \327\330\201^ DD\201_ \323\316\333\334\335\201` \337\201X &\210\325\201a \327\330\201b DD\201c \323\316\333\334\335\201d \337\201X &\210\325\201e \327\330\201f DD\201g \323\316\333\334\335\201h \337\201X &\210\325\201i \327\330\201j DD\201k \323\316\333\334\335\201l \337\201m &\210\325\201n \327\330\201o DD\201p \323\316\333\334\335\201q \337\330&\210\325\201r \327\330\201s DD\201t \323\316\333\360\335\201u \337\330&\207" [require ox ox-publish cl-lib org-export-define-backend ascii ((bold . org-ascii-bold) (center-block . org-ascii-center-block) (clock . org-ascii-clock) (code . org-ascii-code) (drawer . org-ascii-drawer) (dynamic-block . org-ascii-dynamic-block) (entity . org-ascii-entity) (example-block . org-ascii-example-block) (export-block . org-ascii-export-block) (export-snippet . org-ascii-export-snippet) (fixed-width . org-ascii-fixed-width) (footnote-reference . org-ascii-footnote-reference) (headline . org-ascii-headline) (horizontal-rule . org-ascii-horizontal-rule) (inline-src-block . org-ascii-inline-src-block) (inlinetask . org-ascii-inlinetask) (inner-template . org-ascii-inner-template) (italic . org-ascii-italic) (item . org-ascii-item) (keyword . org-ascii-keyword) (latex-environment . org-ascii-latex-environment) (latex-fragment . org-ascii-latex-fragment) (line-break . org-ascii-line-break) (link . org-ascii-link) (node-property . org-ascii-node-property) (paragraph . org-ascii-paragraph) (plain-list . org-ascii-plain-list) (plain-text . org-ascii-plain-text) (planning . org-ascii-planning) (property-drawer . org-ascii-property-drawer) (quote-block . org-ascii-quote-block) (radio-target . org-ascii-radio-target) (section . org-ascii-section) (special-block . org-ascii-special-block) (src-block . org-ascii-src-block) (statistics-cookie . org-ascii-statistics-cookie) (strike-through . org-ascii-strike-through) (subscript . org-ascii-subscript) (superscript . org-ascii-superscript) (table . org-ascii-table) (table-cell . org-ascii-table-cell) (table-row . org-ascii-table-row) (target . org-ascii-target) (template . org-ascii-template) (timestamp . org-ascii-timestamp) (underline . org-ascii-underline) (verbatim . org-ascii-verbatim) (verse-block . org-ascii-verse-block)) :menu-entry (116 "Export to Plain Text" ((65 "As ASCII buffer" (lambda (a s v b) (org-ascii-export-as-ascii a s v b '(:ascii-charset ascii)))) (97 "As ASCII file" (lambda (a s v b) (org-ascii-export-to-ascii a s v b '(:ascii-charset ascii)))) (76 "As Latin1 buffer" (lambda (a s v b) (org-ascii-export-as-ascii a s v b '(:ascii-charset latin1)))) (108 "As Latin1 file" (lambda (a s v b) (org-ascii-export-to-ascii a s v b '(:ascii-charset latin1)))) (85 "As UTF-8 buffer" (lambda (a s v b) (org-ascii-export-as-ascii a s v b '(:ascii-charset utf-8)))) (117 "As UTF-8 file" (lambda (a s v b) (org-ascii-export-to-ascii a s v b '(:ascii-charset utf-8)))))) :filters-alist ((:filter-headline . org-ascii-filter-headline-blank-lines) (:filter-parse-tree org-ascii-filter-paragraph-spacing org-ascii-filter-comment-spacing) (:filter-section . org-ascii-filter-headline-blank-lines)) :options-alist ((:subtitle "SUBTITLE" nil nil parse) (:ascii-bullets nil nil org-ascii-bullets) (:ascii-caption-above nil nil org-ascii-caption-above) (:ascii-charset nil nil org-ascii-charset) (:ascii-global-margin nil nil org-ascii-global-margin) (:ascii-format-drawer-function nil nil org-ascii-format-drawer-function) (:ascii-format-inlinetask-function nil nil org-ascii-format-inlinetask-function) (:ascii-headline-spacing nil nil org-ascii-headline-spacing) (:ascii-indented-line-width nil nil org-ascii-indented-line-width) (:ascii-inlinetask-width nil nil org-ascii-inlinetask-width) (:ascii-inner-margin nil nil org-ascii-inner-margin) (:ascii-links-to-notes nil nil org-ascii-links-to-notes) (:ascii-list-margin nil nil org-ascii-list-margin) (:ascii-paragraph-spacing nil nil org-ascii-paragraph-spacing) (:ascii-quote-margin nil nil org-ascii-quote-margin) (:ascii-table-keep-all-vertical-lines nil nil org-ascii-table-keep-all-vertical-lines) (:ascii-table-use-ascii-art nil nil org-ascii-table-use-ascii-art) (:ascii-table-widen-columns nil nil org-ascii-table-widen-columns) (:ascii-text-width nil nil org-ascii-text-width) (:ascii-underline nil nil org-ascii-underline) (:ascii-verbatim-format nil nil org-ascii-verbatim-format)) custom-declare-group org-export-ascii nil "Options for exporting Org mode files to ASCII." :tag "Org Export ASCII" :group org-export custom-declare-variable org-ascii-text-width funcall function #[0 "\300\207" [72] 1] "Maximum width of exported text.\nThis number includes margin size, as set in\n`org-ascii-global-margin'." :version "24.4" :package-version (Org . "8.0") :type integer org-ascii-global-margin #[0 "\300\207" [0] 1] "Width of the left margin, in number of characters." (Org . "8.0") org-ascii-inner-margin #[0 "\300\207" [2] 1] "Width of the inner margin, in number of characters.\nInner margin is applied between each headline." (Org . "8.0") org-ascii-quote-margin #[0 "\300\207" [6] 1] "Width of margin used for quoting text, in characters.\nThis margin is applied on both sides of the text. It is also\napplied on the left side of contents in descriptive lists." (Org . "8.0") org-ascii-list-margin #[0 "\300\207" [0] 1] "Width of margin used for plain lists, in characters.\nThis margin applies to top level list only, not to its\nsub-lists." "26.1" (Org . "8.3") org-ascii-inlinetask-width #[0 "\300\207" [30] 1] "Width of inline tasks, in number of characters.\nThis number ignores any margin." (Org . "8.0") org-ascii-headline-spacing #[0 "\300\207" [(1 . 2)] 1] "Number of blank lines inserted around headlines.\n\nThis variable can be set to a cons cell. In that case, its car\nrepresents the number of blank lines present before headline\ncontents whereas its cdr reflects the number of blank lines after\ncontents.\n\nA nil value replicates the number of blank lines found in the\noriginal Org buffer at the same place." (Org . "8.0") (choice (const :tag "Replicate original spacing" nil) (cons :tag "Set a uniform spacing" (integer :tag "Number of blank lines before contents") (integer :tag "Number of blank lines after contents"))) org-ascii-indented-line-width #[0 "\300\207" [auto] 1] "Additional indentation width for the first line in a paragraph.\nIf the value is an integer, indent the first line of each\nparagraph by this width, unless it is located at the beginning of\na section, in which case indentation is removed from that line.\nIf it is the symbol `auto' preserve indentation from original\ndocument." (Org . "8.0") (choice (integer :tag "Number of white spaces characters") (const :tag "Preserve original width" auto)) org-ascii-paragraph-spacing #[0 "\300\207" [auto] 1] "Number of white lines between paragraphs.\nIf the value is an integer, add this number of blank lines\nbetween contiguous paragraphs. If is it the symbol `auto', keep\nthe same number of blank lines as in the original document." (Org . "8.0") (choice (integer :tag "Number of blank lines") (const :tag "Preserve original spacing" auto)) org-ascii-charset #[0 "\300\207" [ascii] 1] "The charset allowed to represent various elements and objects.\nPossible values are:\n`ascii' Only use plain ASCII characters\n`latin1' Include Latin-1 characters\n`utf-8' Use all UTF-8 characters" (Org . "8.0") (choice (const :tag "ASCII" ascii) (const :tag "Latin-1" latin1) (const :tag "UTF-8" utf-8)) org-ascii-underline #[0 "\300\207" [((ascii 61 126 45) (latin1 61 126 45) (utf-8 9552 9472 9548 9476 9480))] 1] "Characters for underlining headings in ASCII export.\n\nAlist whose key is a symbol among `ascii', `latin1' and `utf-8'\nand whose value is a list of characters.\n\nFor each supported charset, this variable associates a sequence\nof underline characters. In a sequence, the characters will be\nused in order for headlines level 1, 2, ... If no character is\navailable for a given level, the headline won't be underlined." (Org . "8.0") (list (cons :tag "Underline characters sequence" (const :tag "ASCII charset" ascii) (repeat character)) (cons :tag "Underline characters sequence" (const :tag "Latin-1 charset" latin1) (repeat character)) (cons :tag "Underline characters sequence" (const :tag "UTF-8 charset" utf-8) (repeat character))) org-ascii-bullets #[0 "\300\207" [((ascii 42 43 45) (latin1 167 182) (utf-8 9674))] 1] "Bullet characters for headlines converted to lists in ASCII export.\n\nAlist whose key is a symbol among `ascii', `latin1' and `utf-8'\nand whose value is a list of characters.\n\nThe first character is used for the first level considered as low\nlevel, and so on. If there are more levels than characters given\nhere, the list will be repeated.\n\nNote that this variable doesn't affect plain lists\nrepresentation." (Org . "8.0") (list (cons :tag "Bullet characters for low level headlines" (const :tag "ASCII charset" ascii) (repeat character)) (cons :tag "Bullet characters for low level headlines" (const :tag "Latin-1 charset" latin1) (repeat character)) (cons :tag "Bullet characters for low level headlines" (const :tag "UTF-8 charset" utf-8) (repeat character))) org-ascii-links-to-notes #[0 "\300\207" [t] 1] "Non-nil means convert links to notes before the next headline.\nWhen nil, the link will be exported in place. If the line\nbecomes long in this way, it will be wrapped." (Org . "8.0") boolean org-ascii-table-keep-all-vertical-lines #[0 "\300\207" [nil] 1] "Non-nil means keep all vertical lines in ASCII tables.\nWhen nil, vertical lines will be removed except for those needed\nfor column grouping." (Org . "8.0") org-ascii-table-widen-columns #[0 "\300\207" [t] 1] "Non-nil means widen narrowed columns for export.\nWhen nil, narrowed columns will look in ASCII export just like in\nOrg mode, i.e. with \"=>\" as ellipsis." (Org . "8.0") org-ascii-table-use-ascii-art #[0 "\300\207" [nil] 1] "Non-nil means \"table.el\" tables are turned into ASCII art.\nIt only makes sense when export charset is `utf-8'. It is nil by\ndefault since it requires \"ascii-art-to-unicode.el\" package,\navailable through, e.g., GNU ELPA." (Org . "8.0") org-ascii-caption-above #[0 "\300\207" [nil] 1] "When non-nil, place caption string before the element.\nOtherwise, place it right after it." (Org . "8.0") org-ascii-verbatim-format #[0 "\300\207" [#1="`%s'"] 1 #1#] "Format string used for verbatim text and inline code." (Org . "8.0") string org-ascii-format-drawer-function #[0 "\300\207" [#[771 "\207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"]] 1] "Function called to format a drawer in ASCII.\n\nThe function must accept three parameters:\n NAME the drawer name, like \"LOGBOOK\"\n CONTENTS the contents of the drawer.\n WIDTH the text width within the drawer.\n\nThe function should return either the string to be exported or\nnil to ignore the drawer.\n\nThe default value simply returns the value of CONTENTS." (Org . "8.0") org-ascii-format-inlinetask-function #[0 "\300\207" [org-ascii-format-inlinetask-default] 1] "Function called to format an inlinetask in ASCII.\n\nThe function must accept nine parameters:\n TODO the todo keyword, as a string\n TODO-TYPE the todo type, a symbol among `todo', `done' and nil.\n PRIORITY the inlinetask priority, as a string\n NAME the inlinetask name, as a string.\n TAGS the inlinetask tags, as a list of strings.\n CONTENTS the contents of the inlinetask, as a string.\n WIDTH the width of the inlinetask, as a number.\n INLINETASK the inlinetask itself.\n INFO the info channel.\n\nThe function should return either the string to be exported or\nnil to ignore the inline task." (Org . "8.3")] 12) |
|
17 |
#@538 Fill a string with specified text-width and return it. |
|
18 |
|
|
19 |
S is the string being filled. TEXT-WIDTH is an integer |
|
20 |
specifying maximum length of a line. INFO is the plist used as |
|
21 |
a communication channel. |
|
22 |
|
|
23 |
Optional argument JUSTIFY can specify any type of justification |
|
24 |
among `left', `center', `right' or `full'. A nil value is |
|
25 |
equivalent to `left'. For a justification that doesn't also fill |
|
26 |
string, see `org-ascii--justify-lines' and |
|
27 |
`org-ascii--justify-block'. |
|
28 |
|
|
29 |
Return nil if S isn't a string. |
|
30 |
|
|
31 |
(fn S TEXT-WIDTH INFO &optional JUSTIFY) |
|
32 |
(defalias 'org-ascii--fill-string #[1027 ";\205@ \304\305!r\211q\210\306\307\310\311\312!\313\"\314$\216\315\316\317\"\203/ \320\321#\2020 c\210\322ed#\210+\323 *\262\262\207" [sentence-end-double-space use-hard-newlines fill-column hard-newline generate-new-buffer " *temp*" make-byte-code 0 "\301\300!\205 |