?
Current Path : /usr/share/emacs/24.3/lisp/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/emacs/24.3/lisp/forms.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:19 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/forms.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\302\303\304\305%\210\306\301!\210\306\307!\210\310\311\302\312\304\301\313\314&\207" [custom-declare-group forms nil "Edit a file as a form to fill in." :group data provide forms-mode custom-declare-variable forms-mode-hook "Hook run upon entering Forms mode." :type hook] 8) #@36 Name of the file holding the data. (defvar forms-file nil (#$ . 846)) #@36 List of formatting specifications. (defvar forms-format-list nil (#$ . 922)) #@30 Number of fields per record. (defvar forms-number-of-fields nil (#$ . 1005)) #@61 If non-nil, warn about records with wrong number of fields. (custom-declare-variable 'forms-check-number-of-fields t '(#$ . 1088) :group 'forms :type 'boolean) #@42 Field separator character (default TAB). (defvar forms-field-sep " " (#$ . 1254)) #@131 Non-nil means: visit the file in view (read-only) mode. This is set automatically if the file permissions don't let you write it. (defvar forms-read-only nil (#$ . 1343)) #@77 If not nil: use this character to separate multi-line fields (default C-k). (defvar forms-multi-line "" (#$ . 1520)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\302\311\304\305\306\307&\207" [custom-declare-variable forms-forms-scroll nil "Non-nil means replace scroll-up/down commands in Forms mode.\nThe replacement commands performs forms-next/prev-record." :group forms :type boolean forms-forms-jump "Non-nil means redefine beginning/end-of-buffer in Forms mode.\nThe replacement commands performs forms-first/last-record."] 8) #@169 The name of a function that is called after reading the data file. This can be used to change the contents of the file to something more suitable for forms processing. (defvar forms-read-file-filter nil (#$ . 2077)) #@132 The name of a function that is called before writing the data file. This can be used to undo the effects of `form-read-file-hook'. (defvar forms-write-file-filter nil (#$ . 2300)) #@69 The name of a function that is called when a new record is created. (defvar forms-new-record-filter nil (#$ . 2486)) #@72 The name of a function that is called when a record has been modified. (defvar forms-modified-record-filter nil (#$ . 2609)) #@155 List with fields of the current forms. First field has number 1. This variable is for use by the filter routines only. The contents may NOT be modified. (defvar forms-fields nil (#$ . 2741)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\305\306\307&\210\300\313\314\315\304\305\306\316&\210\300\317\320\321\304\305\306\316&\207" [custom-declare-variable forms-use-text-properties t "Non-nil means: use text properties.\nDefaults to t if this Emacs is capable of handling text properties." :group forms :type boolean forms-insert-after nil "Non-nil means: inserts of new records go after current record.\nAlso, initial position is at last record." forms-ro-face 'default "The face (a symbol) that is used to display read-only text on the screen." face forms-rw-face 'region "The face (a symbol) that is used to display read-write text on the screen."] 8) #@34 Buffer which holds the file data (defvar forms--file-buffer nil (#$ . 3630)) #@43 Total number of records in the data file. (defvar forms--total-records 0 (#$ . 3713)) #@47 Number of the record currently on the screen. (defvar forms--current-record 0 (#$ . 3805)) #@25 Keymap for form buffer. (defvar forms-mode-map nil (#$ . 3902)) #@38 Keymap for form buffer in view mode. (defvar forms-mode-ro-map nil (#$ . 3972)) #@38 Keymap for form buffer in edit mode. (defvar forms-mode-edit-map nil (#$ . 4058)) #@30 Field markers in the screen. (defvar forms--markers nil (#$ . 4146)) #@62 Dynamic texts (resulting from function calls) on the screen. (defvar forms--dyntexts nil (#$ . 4221)) #@65 List of strings of the current record, as parsed from the file. (defvar forms--the-record-list nil (#$ . 4329)) #@45 Last regexp used by forms-search functions. (defvar forms--search-regexp nil (#$ . 4447)) #@21 Formatting routine. (defvar forms--format nil (#$ . 4543)) #@23 Forms parser routine. (defvar forms--parser nil (#$ . 4608)) #@43 To keep track of forms-mode being set-up. (defvar forms--mode-setup nil (#$ . 4675)) (make-variable-buffer-local 'forms--mode-setup) #@58 Array that holds dynamic texts to insert between fields. (defvar forms--dynamic-text nil (#$ . 4814)) #@57 Array with the order in which the fields are displayed. (defvar forms--elements nil (#$ . 4922)) #@54 Face used to represent read-only data on the screen. (defvar forms--ro-face nil (#$ . 5025)) #@55 Face used to represent read-write data on the screen. (defvar forms--rw-face nil (#$ . 5124)) #@741 Major mode to visit files in a field-structured manner using a form. Commands: Equivalent keys in read-only mode: TAB forms-next-field TAB C-c TAB forms-next-field C-c < forms-first-record < C-c > forms-last-record > C-c ? describe-mode ? C-c C-k forms-delete-record C-c C-q forms-toggle-read-only q C-c C-o forms-insert-record C-c C-l forms-jump-record l C-c C-n forms-next-record n C-c C-p forms-prev-record p C-c C-r forms-search-reverse r C-c C-s forms-search-forward s C-c C-x forms-exit x (defalias 'forms-mode #[(&optional primary) "\204 \204+\306 \210\307\310!\210\307\311!\210\307\312!\210\307\313!\210\307\314!\210\307\315!\210\307\316!\210\307\317!\210\307\320!\210\307\321!\210\307\302!\210\307\303!\210\307\304!\210\307\305!\210\322\211\322\211\323\324!\203Y \307\325!\210\307\326!\210@\327=\204j \330\331\332 \333Q!\203p \334 \210\202t \335\336!\210\204} \335\337!\210;\204\207 \335\340!\210 \203\240 \247\203\231 \341V\204\251 \335\342!\210\202\251 \n\203\251 \335\343!\210\n\204\261 \344 \210 \203\327 ;\203\323 G\345=\203\323 \230\203\327 \335\346!\210\202\327 \335\347!\210\323\350!\204\340 \322\307\351!\210\352 \210\307\353!\210\307\354!\210\307\355!\210\356 \210\307\357!\210\360 \210\f\203\323\f!\204\335\361!\210 \203\323 !\204\335\362!\210\307\363!\210\307\364!\210\365\322!\210\322A\366 \210\327\323\324!\203S\307\367!\210\307\370!\210\f\203K78\202S78\307\371!\210\307\372!\210\307\373!\210\307\374!\210\307\375!\210B\204o\376 \210\377C\201K D\201L !9\nE\211F\203\300r9q\210\327\201M GH\201N \201F !\210G\204\252\201O \322!\210*E\203\274\201P \201Q E\322\327$\210)\202\327E\203\327r9q\210\201P \201Q E\322\327$\210)*\322Ir9q\210\201R p!\210AI\201S ed\"):I\203\373\327\f)\307\201J !\210\314\201T DCJ\201U \210\201V \210\201O \322!\210:\341U\203r\201W \201X !\2039\201Y \201Z Q\202S\201[ \201\\ \211\345U\203O\201] \202R\201^ $\201_ \201` \201a !\201b \261\210\345;\327A\201O \322!\210\202\225;\345W\203|\345;\201c ;!\210\203\220\201d \210\202\225\201e \210\201f \201g \201h \"\210\201i \207" [primary forms--mode-setup forms-read-file-filter forms-write-file-filter forms-new-record-filter forms-modified-record-filter kill-all-local-variables make-local-variable forms-file forms-number-of-fields forms-format-list forms-field-sep forms-read-only forms-multi-line forms-forms-scroll forms-forms-jump forms-insert-after forms-use-text-properties nil fboundp make-face forms-ro-face forms-rw-face t yes-or-no-p "Evaluate lisp code in buffer " buffer-name " to display forms? " eval-buffer error "`enable-local-eval' inhibits buffer evaluation" "Forms control file error: `forms-file' has not been set" "Forms control file error: `forms-field-sep' is not a string" 0 "Forms control file error: `forms-number-of-fields' must be a number > 0" "Forms control file error: `forms-number-of-fields' has not been set" forms--intuit-from-file 1 "Forms control file error: `forms-multi-line' is equal to `forms-field-sep'" "Forms control file error: `forms-multi-line' must be nil or a one-character string" set-text-properties forms--elements forms--process-format-list forms--format forms--markers forms--dyntexts forms--make-format forms--parser forms--make-parser "Forms control file error: `forms-new-record-filter' is not a function" "Forms control file error: `forms-modified-record-filter' is not a function" forms-fields forms--dynamic-text set-visited-file-name erase-buffer forms--ro-face forms--rw-face forms--file-buffer forms--total-records forms--current-record forms--the-record-list forms--search-regexp forms--mode-commands forms-mode enable-local-eval buffer-read-only forms-mode-map major-mode mode-name write-file-filter read-file-filter file-modified inhibit-read-only ro minor-mode-alist "Forms" find-file-noselect buffer-modified-p run-hooks set-buffer-modified-p add-hook write-file-functions bury-buffer count-lines " View" forms--set-keymaps forms--change-commands "GNU Emacs Forms Mode\n\n" file-exists-p "No records available in file `" "'\n\n" format "Creating new file `%s'\nwith %d field%s per record\n\n" "" "s" "Use " substitute-command-keys "\\[forms-insert-record]" " to create new records.\n" forms-jump-record forms-last-record forms-first-record run-mode-hooks forms-mode-hook forms-mode-hooks forms--help] 8 (#$ . 5225) nil]) (defalias 'forms--process-format-list #[nil "\204 \306\307!\210<\204 \306\310!\210\311 \312\"\312\313\312 \203\332 \242 \243\2119\203<