home *** CD-ROM | disk | FTP | other *** search
- ;;; compiled by jraja@lk-hp-11 on Fri Nov 12 08:40:32 1993
- ;;; from file /u/opi/86/jraja/ohtatcp/amitcp/src/appl/EmacsTcp/src/forms.el
- ;;; emacs version 18.58.6.
- ;;; bytecomp version 2.07; 15-jul-92.
- ;;; optimization is on; compiled with emacs18 compatibility.
-
- (byte-code "ÀÁ!ÀÂ!" [provide forms forms-mode] 2)
- (defconst forms-version "1.2.9" "\
- Version of forms-mode implementation")
- (defvar forms-forms-scrolls t "\
- If non-null: redefine scroll-up/down to be used with forms-mode.")
- (defvar forms-forms-jumps t "\
- If non-null: redefine beginning/end-of-buffer to be used with forms-mode.")
- (defvar forms-mode-hooks nil "\
- Hook functions to be run upon entering forms mode.")
- (defvar forms-file nil "\
- Name of the file holding the data.")
- (defvar forms-format-list nil "\
- List of formatting specifications.")
- (defvar forms-number-of-fields nil "\
- Number of fields per record.")
- (defvar forms-field-sep " " "\
- Field separator character (default TAB)")
- (defvar forms-read-only nil "\
- Read-only mode (defaults to the write access on the data file).")
- (defvar forms-multi-line "" "\
- Character to separate multi-line fields (default ^K)")
- (defvar forms-forms-scroll t "\
- Redefine scroll-up/down to perform forms-next/prev-record when in
- forms mode.")
- (defvar forms-forms-jump t "\
- Redefine beginning/end-of-buffer to perform forms-first/last-record
- when in forms mode.")
- (defvar forms--file-buffer nil "\
- Buffer which holds the file data")
- (defvar forms--total-records 0 "\
- Total number of records in the data file.")
- (defvar forms--current-record 0 "\
- Number of the record currently on the screen.")
- (defvar forms-mode-map nil "\
- Keymap for form buffer.")
- (defvar forms--markers nil "\
- Field markers in the screen.")
- (defvar forms--number-of-markers 0 "\
- Number of fields on screen.")
- (defvar forms--the-record-list nil "\
- List of strings of the current record, as parsed from the file.")
- (defvar forms--search-regexp nil "\
- Last regexp used by forms-search.")
- (defvar forms--format nil "\
- Formatting routine.")
- (defvar forms--parser nil "\
- Forms parser routine.")
- (defvar forms--mode-setup nil "\
- Internal - keeps track of forms-mode being set-up.")
- (make-variable-buffer-local (quote forms--mode-setup))
- (defvar forms--new-record-filter nil "\
- Internal - set if a new record filter has been defined.")
- (defvar forms--modified-record-filter nil "\
- Internal - set if a modified record filter has been defined.")
- (defvar forms--dynamic-text nil "\
- Internal - holds dynamic text to insert between fields.")
- (defvar forms-fields nil "\
- List with fields of the current forms. First field has number 1.")
- (defun forms-mode (&optional primary) "\
- Major mode to visit files in a field-structured manner using a form.
-
- Commands (prefix with C-c if not in read-only mode):
- \\{forms-mode-map}" (interactive) (byte-code " õ Â ÃÄ!ÃÅ!ÃÆ!ÃÇ!ÃÈ!ÃÉ!ÃÊ!ÃË!ÌÍ!Î : ÏÐ!
- B ÏÑ!
- ÒVX ÏÓ!X ;X ÏÔ! ;{ GÕ={ Ö \" Ï×! ÏØ!ÃÙ!ÃÚ!Û ÃÜ!Ý ÃÞ!ß Ãà!áÍ!§ ÍK¶ âÍ!
¶ á
- !
¶
- ÌÍ!Ãã!áä!Ë äKÚ âä!
Ú á$!
Ú $#Ìä!Ãå!Ãæ!ç(ç)êç!ë Ãì!Ãí!Ãî!Ãï!Ãð!1ò 1ó1!ô õ!,ç6,q÷p!(6øed\")-6>ù)ú;ü=Ãþ!ÿ @ A ç!ÃB !C B.ÕWlÕ.D .!E F !G ù" [primary forms--mode-setup 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 fmakunbound forms-new-record-filter eval-current-buffer error "'forms-file' has not been set" "'forms-number-of-fields' has not been set" 0 "'forms-number-of-fields' must be > 0" "'forms-field-sep' is not a string" 1 string= "'forms-multi-line' is equal to 'forms-field-sep'" "'forms-multi-line' must be nil or a one-character string" forms--number-of-markers forms--markers forms--process-format-list forms--format forms--make-format forms--parser forms--make-parser forms--new-record-filter fboundp boundp forms--modified-record-filter forms-modified-record-filter forms--dynamic-text forms-fields nil buffer-read-only buffer-file-name auto-save-mode erase-buffer forms--file-buffer forms--total-records forms--current-record forms--the-record-list forms--search-rexexp forms-mode-map make-keymap forms--mode-commands forms--change-commands find-file-noselect ro bury-buffer count-lines t forms-mode major-mode "Forms" mode-name minor-mode-alist forms--set-minor-mode forms--set-keymaps set-buffer-modified-p revert-buffer-function forms-revert-buffer forms-jump-record run-hooks forms-mode-hooks forms--help] 3))
- (defun forms--process-format-list nil "\
- Validate forms-format-list and set some global variables." (byte-code "ÀÁÂ\"\n