403Webshell
Server IP : 217.160.0.212  /  Your IP : 216.73.217.153
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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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



(byte-code "\300\301\302\303#\210\300\304\302\303#\207" [put buffer-file-format permanent-local t buffer-auto-save-file-format] 4)
#@2186 List of information about understood file formats.
Elements are of the form
(NAME DOC-STR REGEXP FROM-FN TO-FN MODIFY MODE-FN PRESERVE).

NAME    is a symbol, which is stored in `buffer-file-format'.

DOC-STR should be a single line providing more information about the
        format.  It is currently unused, but in the future will be shown to
        the user if they ask for more information.

REGEXP  is a regular expression to match against the beginning of the file;
        it should match only files in that format.  REGEXP may be nil, in
        which case the format will never be applied automatically to a file.
        Use this for formats that you only ever want to apply manually.

FROM-FN is called to decode files in that format; it takes two args, BEGIN
        and END, and can make any modifications it likes, returning the new
        end.  It must make sure that the beginning of the file no longer
        matches REGEXP, or else it will get called again.
	Alternatively, FROM-FN can be a string, which specifies a shell command
	(including options) to be used as a filter to perform the conversion.

TO-FN   is called to encode a region into that format; it takes three
        arguments: BEGIN, END, and BUFFER.  BUFFER is the original buffer that
        the data being written came from, which the function could use, for
        example, to find the values of local variables.  TO-FN should either
        return a list of annotations like `write-region-annotate-functions',
        or modify the region and return the new end.
	Alternatively, TO-FN can be a string, which specifies a shell command
	(including options) to be used as a filter to perform the conversion.

MODIFY, if non-nil, means the TO-FN wants to modify the region.  If nil,
        TO-FN will not make any changes but will instead return a list of
        annotations.

MODE-FN, if specified, is called when visiting a file with that format.
         It is called with a single positive argument, on the assumption
         that this would turn on some minor mode.

PRESERVE, if non-nil, means that `format-write-file' should not remove
          this format from `buffer-file-format'.
(defvar format-alist (byte-code "\300\301\302!\301\303!\304BBB\305\301\306!\307BB\310\301\311!\312BB\313\301\314!\315BB\316\301\317!\320BB\321\301\322!\323BB\324\301\325!\326\301\327!\330BBBB\331\301\332!\326\301\333!\301\334!\335BBBBB\336\301\337!\340BB\341\301\342!\343BB\257\n\207" [text/enriched purecopy "Extended MIME text/enriched format." "Content-[Tt]ype:[ 	]*text/enriched" (enriched-decode enriched-encode t enriched-mode) plain "ISO 8859-1 standard format, no text properties." (nil nil nil nil nil) TeX "TeX (encoding)" (nil iso-tex2iso iso-iso2tex t nil) gtex "German TeX (encoding)" (nil iso-gtex2iso iso-iso2gtex t nil) html "HTML/SGML \"ISO 8879:1986//ENTITIES Added Latin 1//EN\" (encoding)" (nil iso-sgml2iso iso-iso2sgml t nil) rot13 "rot13" (nil rot13-region rot13-region t nil) duden "Duden Ersatzdarstellung" nil "diac" (iso-iso2duden t nil) de646 "German ASCII (ISO 646)" "recode -f iso646-ge:latin1" "recode -f latin1:iso646-ge" (t nil) denet "net German" (nil iso-german iso-cvt-read-only t nil) esnet "net Spanish" (nil iso-spanish iso-cvt-read-only t nil)] 13) (#$ . 217))
(put 'format-alist 'risky-local-variable t)
#@261 Translate using METHOD the text from FROM to TO.
If METHOD is a string, it is a shell command (including options);
otherwise, it should be a Lisp function.
BUFFER should be the buffer that the output originally came from.

(fn METHOD FROM TO &optional BUFFER)
(defalias 'format-encode-run-method #[1027 ";\203K\302\303!\304\305r\211q\210~\210\306 \210)\307 \310\311\"\216\312\313\211&)\262\314U\203Br\211q\210\315 )\314U\203B\316!\202I\317!\210\320\321!*\207#\207" [format-alist coding-system-for-read get-buffer-create "*Format Errors*" no-conversion nil erase-buffer current-window-configuration make-closure #[0 "\301\300!\207" [V0 set-window-configuration] 2] shell-command-on-region t 0 buffer-size bury-buffer switch-to-buffer-other-window error "Format encoding failed"] 13 (#$ . 3554)])
#@222 Decode using METHOD the text from FROM to TO.
If METHOD is a string, it is a shell command (including options); otherwise,
it should be a Lisp function.  BUFFER is currently ignored.

(fn METHOD FROM TO &optional BUFFER)
(defalias 'format-decode-run-method #[1027 ";\203N\302\303!\304\305r\211q\210~\210\306 \210)\307 \310\311\"\216\312\313\314&)\262\315U\203Cr\211q\210\316 )\315U\203C\317!\210\202K\320!\210\321\322!\210`*\207\"\207" [format-alist coding-system-for-write get-buffer-create "*Format Errors*" no-conversion nil erase-buffer current-window-configuration make-closure #[0 "\301\300!\207" [V0 set-window-configuration] 2] shell-command-on-region t no-mark 0 buffer-size bury-buffer switch-to-buffer-other-window error "Format decoding failed"] 13 (#$ . 4378)])
#@802 Return annotations for writing region as FORMAT.
FORMAT is a symbol naming one of the formats defined in `format-alist'.
It must be a single symbol, not a list like `buffer-file-format'.
FROM and TO delimit the region to be operated on in the current buffer.
ORIG-BUF is the original buffer that the data came from.

FORMAT-COUNT is an integer specifying how many times this function has
been called in the process of decoding ORIG-BUF.

This function works like a function in `write-region-annotate-functions':
it either returns a list of annotations, or returns with a different buffer
current, which contains the modified text to write.  In the latter case,
this function's value is nil.

For most purposes, consider using `format-encode-region' instead.

(fn FORMAT FROM TO ORIG-BUF FORMAT-COUNT)
(defalias 'format-annotate-function #[1285 "\236\3068\3078\205c\211\203[\310\311\312\"!	\nrq\210\313!\210\211)\314\315\f\f#\210q\210\316
\f\"\210\317ed\f$\210)\320!\203Wrq\210\321\322!\210\323)\266\324\207#\207" [format-alist selective-display enable-multibyte-characters buffer-file-coding-system inhibit-read-only write-region-annotations-so-far 4 5 get-buffer-create format " *Format Temp %d*" set-buffer-multibyte t copy-to-buffer format-insert-annotations format-encode-run-method buffer-live-p make-local-variable write-region-post-annotation-function kill-buffer nil] 17 (#$ . 5181)])
#@753 Decode text from any known FORMAT.
FORMAT is a symbol appearing in `format-alist' or a list of such symbols,
or nil, in which case this function tries to guess the format of the data by
matching against the regular expressions in `format-alist'.  After a match is
found and the region decoded, the alist is searched again from the beginning
for another match.

Second arg LENGTH is the number of characters following point to operate on.
If optional third arg VISIT-FLAG is true, set `buffer-file-format'
to the reverted list of formats used, and call any mode functions defined
for those formats.

Return the new length of the decoded region.

For most purposes, consider using `format-decode-region' instead.

(fn FORMAT LENGTH &optional VISIT-FLAG)
(defalias 'format-decode #[770 "\302 ``\\\303\304\"\216\204l\211\203h\211@\3058`\203a\306!\203a\307\225\n\\W\203a@\nB\262\n\3108\203G\311\3108#\262\203X\3128\203X\3128\313!\210\211b\210\266\204\202A\266\204\202\210\202\271<\204uC\262\314\203\261@\236\211\262\204\213\315\316@\"\210\3108\203\232\311\3108#\262\203\252\3128\203\252\3128\313!\210A\262\202w\266\317!\262\203\277)\211Z\207" [format-alist buffer-file-format buffer-modified-p make-closure #[0 "\301\300!\207" [V0 set-buffer-modified-p] 2] 2 looking-at 0 3 format-decode-run-method 6 1 nil error "Unknown format %s" reverse] 14 (#$ . 6618)])
#@215 Translate the buffer from some FORMAT.
If the format is not specified, attempt a regexp-based guess.
Set `buffer-file-format' to the format used, and call any
format-specific mode functions.

(fn &optional FORMAT)
(defalias 'format-decode-buffer #[256 "\212eb\210\300\301 \302#)\207" [format-decode buffer-size t] 5 (#$ . 8052) (byte-code "\300\301!C\207" [format-read "Translate buffer from format (default guess): "] 2)])
#@212 Decode the region from some format.
Arg FORMAT is optional; if omitted the format will be determined by looking
for identifying regular expressions at the beginning of the region.

(fn FROM TO &optional FORMAT)
(defalias 'format-decode-region #[770 "\212b\210\300Z\301#)\207" [format-decode nil] 7 (#$ . 8484) (byte-code "\300 \301 \302\303!E\207" [region-beginning region-end format-read "Translate region from format (default guess): "] 4)])
#@195 Translate the buffer into FORMAT.
FORMAT defaults to `buffer-file-format'.  It is a symbol naming one of the
formats defined in `format-alist', or a list of such symbols.

(fn &optional FORMAT)
(defalias 'format-encode-buffer #[256 "\300ed#\207" [format-encode-region] 5 (#$ . 8939) (byte-code "\301\302\303\"!C\207" [buffer-file-format format-read format-prompt "Translate buffer to format"] 4)])
#@208 Translate the region into some FORMAT.
FORMAT defaults to `buffer-file-format'.  It is a symbol naming
one of the formats defined in `format-alist', or a list of such symbols.

(fn BEG END &optional FORMAT)
(defalias 'format-encode-region #[770 "\211\204\262\2119\203\211C\262\212b\210\302 \205L@	\236\3038\3048\203C\211\2039\305p$\262\202C\306p#!\210A\262\266\202\262)\207" [buffer-file-format format-alist point-marker 4 5 format-encode-run-method format-insert-annotations] 12 (#$ . 9346) (byte-code "\301 \302 \303\304\305\"!E\207" [buffer-file-format region-beginning region-end format-read format-prompt "Translate region to format"] 6)])
#@762 Write current buffer into FILENAME, using a format based on FORMAT.
Constructs the actual format starting from FORMAT, then appending
any elements from the value of `buffer-file-format' with a non-nil
`preserve' flag (see the documentation of `format-alist'), if they
are not already present in FORMAT.  It then updates `buffer-file-format'
with this format, making it the default for future saves.

If the buffer is already visiting a file, you can specify a
directory name as FILENAME, to write a file of the same old name
in that directory.

If optional third arg CONFIRM is non-nil, asks for confirmation before
overwriting an existing file.  Interactively, requires confirmation
unless you supply a prefix argument.

(fn FILENAME FORMAT &optional CONFIRM)
(defalias 'format-write-file #[770 "\302\211\203\211@\211	\236\3038\203B\262\210A\266\202\202\210\211\211\203<\211@\211>\2045\304C\"A\266\202\202#\266\305\"\207" [buffer-file-format format-alist nil 7 append write-file] 10 (#$ . 10033) (byte-code "\203\302\303\304\211\211\211%\202\302\303\305\306 \236A\304\211\307 %\310\311\312\313!\"!	?E\207" [buffer-file-name current-prefix-arg read-file-name "Write file: " nil default-directory buffer-local-variables buffer-name format-read format-message "Write file `%s' in format: " file-name-nondirectory] 6)])
#@127 Find the file FILENAME using data format FORMAT.
If FORMAT is nil then do not do any format conversion.

(fn FILENAME FORMAT)
(defalias 'format-find-file #[514 "\301\302!\210)\211\205\303!\207" [format-alist nil find-file format-decode-buffer] 4 (#$ . 11391) (byte-code "\300\301!\302\303\304\305!\"!D\207" [read-file-name "Find file: " format-read format-message "Read file `%s' in format: " file-name-nondirectory] 6)])
#@357 Insert the contents of file FILENAME using data format FORMAT.
If FORMAT is nil then do not do any format conversion.
The optional third and fourth arguments BEG and END specify
the part (in bytes) of the file to read.

The return value is like the value of `insert-file-contents':
a list (ABSOLUTE-FILE-NAME SIZE).

(fn FILENAME FORMAT &optional BEG END)
(defalias 'format-insert-file #[1026 "\304\211\211\305\211\304\306\304$\262A@\262):\203;@\211:\203:\211@`\232\203:\211A`\\\232\203:A\262\210\203]\305\307\"\262@D\262)\305=\204]``\\BB*\204k\310\311``\\\312$\210\207" [inhibit-modification-hooks inhibit-point-motion-hooks format-alist buffer-undo-list nil t insert-file-contents format-decode run-hook-with-args after-change-functions 0] 12 (#$ . 11828) (byte-code "\300\301!\302\303\304\305!\"!D\207" [read-file-name "Find file: " format-read format-message "Read file `%s' in format: " file-name-nondirectory] 6)])
#@203 Read and return the name of a format.
Return value is a list, like `buffer-file-format'; it may be nil.
Formats are defined in `format-alist'.  Optional arg is the PROMPT to use.

(fn &optional PROMPT)
(defalias 'format-read #[256 "\301\302\"\303\206\n\304\305\306$\211\307\232?\205\310!C\207" [format-alist mapcar #[257 "\300@!C\207" [symbol-name] 3 "\n\n(fn X)"] completing-read "Format: " nil t "" intern] 7 (#$ . 12799)])
#@447 Do multiple replacements on the buffer.
ALIST is a list of (FROM . TO) pairs, which should be proper arguments to
`search-forward' and `replace-match', respectively.
Optional second arg REVERSE, if non-nil, means the pairs are (TO . FROM),
so that you can use the same list in both directions if it contains only
literal strings.
Optional args BEG and END specify a region of the buffer on which to operate.

(fn ALIST &optional REVERSE BEG END)
(defalias 'format-replace-strings #[1025 "\212\214\204	e\262\211\203e}\210\205b\203@A\202\"@@\203,@@\202/@Ab\210\300\301\302#\203Y\303\224b\210\211c\210\304`GZ`\305`!#\210``\303\225\303\224Z\\|\210\2022A\262\266\202*\207" [search-forward nil t 0 set-text-properties text-properties-at] 11 (#$ . 13240)])
#@227 Remove the given CONS from LIST by side effect and return the new LIST.
Since CONS could be the first element of LIST, write
(setq foo (format-delq-cons element foo)) to be sure of changing
the value of `foo'.

(fn CONS LIST)
(defalias 'format-delq-cons #[514 "=\203	\211A\207\211\211A=\204 \211\204\300\301!\210\211A\262\202\n\211A\241\210\207" [error "format-delq-cons: Not an element"] 5 (#$ . 14026)])
#@91 Delete common elements of lists A and B, return as pair.
Compare using `equal'.

(fn A B)
(defalias 'format-make-relatively-unique #[514 "\300!\300!\211\203'\211@\235A\203\"\301\"\262\301\"\262\266\202\202B\207" [copy-sequence format-delq-cons] 10 (#$ . 14449)])
(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias format-proper-list-p proper-list-p nil make-obsolete "27.1"] 4)
#@174 Arrange ITEMS to follow partial ORDER.
Elements of ITEMS equal to elements of ORDER will be rearranged
to follow the ORDER.  Unmatched items will go last.

(fn ITEMS ORDER)
(defalias 'format-reorder #[514 "\211\203\211@\235\211\203\211@\300\301\"A\"B\207\300A\"\207\207" [format-reorder format-delq-cons] 8 (#$ . 14868)])
(byte-code "\300\301\302\303#\210\300\304\302\303#\210\300\305\306\303#\207" [put face format-list-valued t unknown display format-list-atomic-p] 4)
#@2661 Translate annotations in the region into text properties.
This sets text properties between FROM to TO as directed by the
TRANSLATIONS and NEXT-FN arguments.

NEXT-FN is a function that searches forward from point for an annotation.
It should return a list of 4 elements: (BEGIN END NAME POSITIVE).  BEGIN and
END are buffer positions bounding the annotation, NAME is the name searched
for in TRANSLATIONS, and POSITIVE should be non-nil if this annotation marks
the beginning of a region with some property, or nil if it ends the region.
NEXT-FN should return nil if there are no annotations after point.

The basic format of the TRANSLATIONS argument is described in the
documentation for the `format-annotate-region' function.  There are some
additional things to keep in mind for decoding, though:

When an annotation is found, the TRANSLATIONS list is searched for a
text-property name and value that corresponds to that annotation.  If the
text-property has several annotations associated with it, it will be used only
if the other annotations are also in effect at that point.  The first match
found whose annotations are all present is used.

The text property thus determined is set to the value over the region between
the opening and closing annotations.  However, if the text-property name has a
non-nil `format-list-valued' property, then the value will be consed onto the
surrounding value of the property, rather than replacing that value.

There are some special symbols that can be used in the "property" slot of
the TRANSLATIONS list: PARAMETER and FUNCTION (spelled in uppercase).
Annotations listed under the pseudo-property PARAMETER are considered to be
arguments of the immediately surrounding annotation; the text between the
opening and closing parameter annotations is deleted from the buffer but saved
as a string.

The surrounding annotation should be listed under the pseudo-property
FUNCTION.  Instead of inserting a text-property for this annotation,
the function listed in the VALUE slot is called to make whatever
changes are appropriate.  It can also return a list of the form
(START LOC PROP VALUE) which specifies a property to put on.  The
function's first two arguments are the START and END locations, and
the rest of the arguments are any PARAMETERs found in that region.

Any annotations that are found by NEXT-FN but not defined by TRANSLATIONS
are saved as values of the `unknown' text-property (which is list-valued).
The TRANSLATIONS list should usually contain an entry of the form
    (unknown (nil format-annotate-value))
to write these unknown annotations back into the file.

(fn FROM TO TRANSLATIONS NEXT-FN)
(defalias 'format-deannotate-region #[1028 "\212\214e}\210b\210\300\211C\300\211 \211\262\203\245@A@\3018\3028\300|\210\203>CCD	\242B\240\266\202\303	\242\"\204P\304\305\"\266\202\211\204\240\242@\211@A@AA\300\232\203p\306\262\202t\304\307!\210\203[@@@A\211\203R\211@@@A\235\203I\300\310\311\312\"\">\204I@\241\210\211\300\211\203\317\303@\242\"\262A@\262
=\204\310A\313
\"\240\210A\262\202\246\266\300\262\300\262\306\262\211\242A\240\210\211@@	@A\203G\314\267\202*\242\203\315\242@{C\"\242AB\240\210|\210\2026\316
$\211\203&\211B\262\210\2026FB\262A\262@@\262@A\262\202\352\266\266\211A\262\202~\266A\262\202t\211\204\233\211@@@A\206k\f\203\231\211\242A\240\210\317\nFB\262B\262A\262@@\262@A\262\202k\266\266\202P\266\202\203\373@\211@A@\3018\3028\211\247\203\307\320\321%\266\202\364X\203\362\322\211\323N\203\357\324\"<\203\347\202\351CB\262\202\360$\210\266A\262\202\245\211\205\304\325\"\266\204*\207" [nil 2 3 assoc message "Extra closing annotation (%s) in file" t "Improper nesting in file." mapcar make-closure #[257 "\301\300\242\"\207" [V0 assoc] 4 "\n\n(fn R)"] format-subtract-regions #s(hash-table size 2 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (PARAMETER 245 FUNCTION 277)) append apply unknown format-property-increment-region 0 put-text-property format-list-valued get-text-property "Unknown annotations: %s"] 31 (#$ . 15359)])
#@436 Remove from the regions in MINUEND the regions in SUBTRAHEND.
A region is a dotted pair (FROM . TO).  Both parameters are lists of
regions.  Each list must contain nonoverlapping, noncontiguous
regions, in descending order.  The result is also nonoverlapping,
noncontiguous, and in descending order.  The first element of MINUEND
can have a cdr of nil, indicating that the end of that region is not
yet known.

(fn MINUEND SUBTRAHEND)
(defalias 'format-subtract-regions #[514 "\300!\300!@@\301\203\201\203\201@AV\203+B\262A\262@\262\202A\2038AAV\203JATABB\262A\241\210\202A@W\203]A\262@\262\202@@Y\203pA\262@\262\202@S\241\210A\262@\262\202\211\237\244\207" [copy-alist nil] 9 (#$ . 19611)])
#@218 In the region from FROM to TO increment property PROP by amount DELTA.
DELTA may be negative.  If property PROP is nil anywhere
in the region, it is treated as though it were DEFAULT.

(fn FROM TO PROP DELTA DEFAULT)
(defalias 'format-property-increment-region #[1285 "\300\211\211\2057\301\"\262\206\\\262\302		$\262\303\206,		$\210\211\262\202\207" [nil get-text-property text-property-not-all put-text-property] 14 (#$ . 20370)])
#@418 Apply list of annotations to buffer as `write-region' would.
Insert each element of the given LIST of buffer annotations at its
appropriate place.  Use second arg OFFSET if the annotations' locations are
not relative to the beginning of the buffer: annotations will be inserted
at their location-OFFSET+1 (i.e., the offset is treated as the position of
the first character in the buffer).

(fn LIST &optional OFFSET)
(defalias 'format-insert-annotations #[513 "\211\204\n\300\262\202\211S\262\301!\211\205(\211@@Zb\210\211@Ac\210\211A\262\202\207" [0 reverse] 5 (#$ . 20839)])
#@253 Return OLD and NEW as a (CLOSE . OPEN) annotation pair.
Useful as a default function for TRANSLATIONS alist when the value of the text
property is the name of the annotation that you want to use, as it is for the
`unknown' text property.

(fn OLD NEW)
(defalias 'format-annotate-value #[514 "\205C\205\fCB\207" [] 4 (#$ . 21434)])
#@1748 Generate annotations for text properties in the region.
Search for changes between FROM and TO, and describe them with a list of
annotations as defined by alist TRANSLATIONS and FORMAT-FN.  IGNORE lists text
properties not to consider; any text properties that are neither ignored nor
listed in TRANSLATIONS are warned about.
If you actually want to modify the region, give the return value of this
function to `format-insert-annotations'.

Format of the TRANSLATIONS argument:

Each element is a list whose car is a PROPERTY, and the following
elements have the form (VALUE ANNOTATIONS...).
Whenever the property takes on the value VALUE, the annotations
(as formatted by FORMAT-FN) are inserted into the file.
When the property stops having that value, the matching negated annotation
will be inserted (it may actually be closed earlier and reopened, if
necessary, to keep proper nesting).

If VALUE is a list, then each element of the list is dealt with
separately.

If a VALUE is numeric, then it is assumed that there is a single annotation
and each occurrence of it increments the value of the property by that number.
Thus, given the entry (left-margin (4 "indent")), if the left margin
changes from 4 to 12, two <indent> annotations will be generated.

If the VALUE is nil, then instead of annotations, a function should be
specified.  This function is used as a default: it is called for all
transitions not explicitly listed in the table.  The function is called with
two arguments, the OLD and NEW values of the property.  It should return
a cons cell (CLOSE . OPEN) as `format-annotate-single-property-change' does.

The same TRANSLATIONS structure can be used in reverse for reading files.

(fn FROM TO TRANSLATIONS FORMAT-FN IGNORE)
(defalias 'format-annotate-region #[1285 "\300\211\211\211\203\301\300\n#\211\262\203\300W\203\300\204#\262\302\211U\n$\303\304H\"\305H\306H\307\"\262\307\n\"\262	\203\234@\235\204]\310\311@\"\210\202\225@@\232\204\203@B\262\n@\300\"BB\262A\262\202]A\262\n@\300\"BB\262A\262\202H\203\273@B\262\n@\312\"BB\262A\262\202\234\266\202\203\330@\300\"BB\262A\262\202\300\211\203\341\310\313\"\210\237\207" [nil next-property-change format-annotate-location format-reorder 0 1 2 append message "Can't close %s: not open." t "These text properties could not be saved:\n    %s"] 17 (#$ . 21780)])
#@792 Return annotation(s) needed at location LOC.
This includes any properties that change between LOC - 1 and LOC.
If ALL is true, don't look at previous location, but generate annotations for
all non-nil properties.
Third argument IGNORE is a list of text-properties not to consider.
Use the TRANSLATIONS alist (see `format-annotate-region' for doc).

Return value is a vector of 3 elements:
1. List of annotations to close
2. List of annotations to open.
3. List of properties that were ignored or couldn't be annotated.

The annotations in lists 1 and 2 need not be strings.
They can be whatever the FORMAT-FN in `format-annotate-region'
can handle.  If that is `enriched-make-annotation', they can be
either strings, or lists of the form (PARAMETER VALUE).

(fn LOC ALL IGNORE TRANSLATIONS)
(defalias 'format-annotate-location #[1028 "S?\205\n\300!\300!\301\211\211\211\211\211\262\2031@>\204)@B\262AA\262\202\262\203N@>\204F@B\262AA\262\2025\203\240\211A\262\242\262>\204N?\205m>A@>A@\232\204\233\302$\211\204\214B\266\204\202N@\244\262A\244\262\210\266\202N\303#\207" [text-properties-at nil format-annotate-single-property-change vector] 20 (#$ . 24225)])
#@669 Return annotations for property PROP changing from OLD to NEW.
These are searched for in the translations alist TRANSLATIONS
 (see `format-annotate-region' for the format).
If NEW does not appear in the list, but there is a default function,
then call that function.
Return a cons of the form (CLOSE . OPEN)
where CLOSE is a list of annotations to close
and OPEN is a list of annotations to open.

The annotations in CLOSE and OPEN need not be strings.
They can be whatever the FORMAT-FN in `format-annotate-region'
can handle.  If that is `enriched-make-annotation', they can be
either strings, or lists of the form (PARAMETER VALUE).

(fn PROP OLD NEW TRANSLATIONS)
(defalias 'format-annotate-single-property-change #[1028 "\300\"A\211\205w<\204<\203r\301N\204r\302!\203%\302!\204+\303#\207\304\211\203E\305\303@\304#@\"\262A\262\202-<\203U\306@!\203UC\262\203m\305\303\304@#A\"\262A\262\202U\307\"\207\303#\207" [assoc format-list-atomic-p proper-list-p format-annotate-atomic-property-change nil append keywordp format-make-relatively-unique] 12 (#$ . 25469)])
#@169 Internal function to annotate a single property change.
PROP-ALIST is the relevant element of a TRANSLATIONS list.
OLD and NEW are the values.

(fn PROP-ALIST OLD NEW)
(defalias 'format-annotate-atomic-property-change #[771 "\300\203\n\247\203(\203\247\203(\262\211\203(\211@@\247\204(\211A\262\202\211\203n\247\203;\204;\301\262\202G\247\203G\204G\301\262\211@\211@\302\303Z!\303!\245!A@\301V\203g\300\304\"B\207\304[\"C\207\205w\305\"A\205\201\305\"A\204\211\211\203\216\306\"\207\300\236\211\205\236\211A@\"\207" [nil 0 ceiling float make-list assoc format-make-relatively-unique] 12 (#$ . 26589)])
(provide 'format)

Youez - 2016 - github.com/yon3zu
LinuXploit