Variable: array-mode-abbrev-table

array-mode-abbrev-table is a variable defined in array.el.gz.

Value

#<obarray n=1>

Documentation

Abbrev table for array-mode.

Source Code

;; Defined in /usr/src/emacs/lisp/array.el.gz
;;;###autoload
(define-derived-mode array-mode fundamental-mode "Array"
  "Major mode for editing arrays.

  Array mode is a specialized mode for editing arrays.  An array is
considered to be a two-dimensional set of strings.  The strings are
NOT recognized as integers or real numbers.

  The array MUST reside at the top of the buffer.

  TABs are not respected, and may be converted into spaces at any time.
Setting the variable `array-respect-tabs' to non-nil will prevent
TAB conversion, but will cause many functions to give errors if
they encounter one.

  Upon entering array mode, you will be prompted for the values of
several variables.  Others will be calculated based on the values you
supply.  These variables are all local to the buffer.  Other buffer
in array mode may have different values assigned to the variables.
The variables are:

Variables you assign:
     `array-max-row':          The number of rows in the array.
     `array-max-column':       The number of columns in the array.
     `array-columns-per-line': The number of columns in the array
                             per line of buffer.
     `array-field-width':      The width of each field, in characters.
     `array-rows-numbered':    A logical variable describing whether to ignore
                             row numbers in the buffer.

Variables which are calculated:
     `array-line-length':      The number of characters in a buffer line.
     `array-lines-per-row':    The number of buffer lines used to
                             display each row.

  The following commands are available (an asterisk indicates it may
take a numeric prefix argument):

    *   \\<array-mode-map>\\[array-forward-column]	  Move forward one column.
    *   \\[array-backward-column]	  Move backward one column.
    *   \\[array-next-row]	  Move down one row.
    *   \\[array-previous-row]	  Move up one row.

    *   \\[array-copy-forward]	  Copy current field into the column to the right.
    *   \\[array-copy-backward]	  Copy current field into the column to the left.
    *   \\[array-copy-down]	  Copy current field into the row below.
    *   \\[array-copy-up]	  Copy current field into the row above.

    *   \\[array-copy-column-forward]   Copy current column into the column to the right.
    *   \\[array-copy-column-backward]   Copy current column into the column to the left.
    *   \\[array-copy-row-down]   Copy the current row into the row below.
    *   \\[array-copy-row-up]   Copy the current row into the row above.

        \\[array-fill-rectangle]   Copy field at mark into every cell with row and column
                  between that of point and mark.

	\\[array-what-position]	  Display the current array row and column.
	\\[array-goto-cell]	  Go to a particular array cell.

	\\[array-make-template]	  Make a template for a new array.
	\\[array-reconfigure-rows]	  Reconfigure the array.
        \\[array-expand-rows]   Expand the array (remove row numbers and
                  newlines inside rows)

        \\[array-display-local-variables]   Display current values of local variables.

Entering array mode calls the function `array-mode-hook'."
  (make-local-variable 'array-buffer-line)
  (make-local-variable 'array-buffer-column)
  (make-local-variable 'array-row)
  (make-local-variable 'array-column)
  (make-local-variable 'array-copy-string)
  (setq-local array-respect-tabs nil)
  (setq-local array-max-row
              (read-number "Number of array rows: "))
  (setq-local array-max-column
              (read-number "Number of array columns: "))
  (setq-local array-columns-per-line
              (read-number "Array columns per line: "))
  (setq-local array-field-width
              (read-number "Field width: "))
  (setq-local array-rows-numbered
              (y-or-n-p "Rows numbered? "))
  (setq-local array-line-length
              (* array-field-width array-columns-per-line))
  (setq-local array-lines-per-row
              (+ (floor (1- array-max-column) array-columns-per-line)
                 (if array-rows-numbered 2 1)))
  (message "")
  (force-mode-line-update)
  (setq-local truncate-lines t)
  (setq overwrite-mode 'overwrite-mode-textual))