Variable: table-cell-bindings

table-cell-bindings is a variable defined in table.el.gz.

Value

Large value
(([(control 105)]
  . table-forward-cell)
 ([(control 73)]
  . table-backward-cell)
 ([tab]
  . table-forward-cell)
 ([(shift backtab)]
  . table-backward-cell)
 ([(shift iso-lefttab)]
  . table-backward-cell)
 ([(shift tab)]
  . table-backward-cell)
 ([backtab]
  . table-backward-cell)
 ([return]
  . *table--cell-newline)
 ([(control 109)]
  . *table--cell-newline)
 ([(control 106)]
  . *table--cell-newline-and-indent)
 ([mouse-3]
  . *table--present-cell-popup-menu)
 ([(control 62)]
  . table-widen-cell)
 ([(control 60)]
  . table-narrow-cell)
 ([(control 125)]
  . table-heighten-cell)
 ([(control 123)]
  . table-shorten-cell)
 ([(control 45)]
  . table-split-cell-vertically)
 ([(control 124)]
  . table-split-cell-horizontally)
 ([(control 42)]
  . table-span-cell)
 ([(control 43)]
  . table-insert-row-column)
 ([(control 33)]
  . table-fixed-width-mode)
 ([(control 35)]
  . table-query-dimension)
 ([(control 94)]
  . table-generate-source)
 ([(control 58)]
  . table-justify))

Documentation

Bindings for table cell commands.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/table.el.gz
;; Some entries in `table-cell-bindings' are duplicated in
;; `table-command-remap-alist'.  There is a good reason for
;; this.  Common key like return key may be taken by some other
;; function than normal `newline' function.  Thus binding return key
;; directly for `*table--cell-newline' ensures that the correct enter
;; operation in a table cell.  However
;; `table-command-remap-alist' has an additional role than
;; replacing commands.  It is also used to construct a table command
;; list.  This list is very important because it is used to check if
;; the previous command was one of them in this list or not.  If the
;; previous command is found in the list the current command will not
;; refill the table cache.  If the command were not listed fast
;; typing can cause unwanted cache refill.
(defconst table-cell-bindings
  '(([(control ?i)]	. table-forward-cell)
    ([(control ?I)]	. table-backward-cell)
    ([tab]		. table-forward-cell)
    ([(shift backtab)]	. table-backward-cell) ; for HPUX console keyboard
    ([(shift iso-lefttab)]    . table-backward-cell) ; shift-tab on a microsoft natural keyboard and redhat linux
    ([(shift tab)]	. table-backward-cell)
    ([backtab]          . table-backward-cell) ; for terminals (e.g., xterm)
    ([return]		. *table--cell-newline)
    ([(control ?m)]	. *table--cell-newline)
    ([(control ?j)]	. *table--cell-newline-and-indent)
    ([mouse-3]		. *table--present-cell-popup-menu)
    ([(control ?>)]	. table-widen-cell)
    ([(control ?<)]	. table-narrow-cell)
    ([(control ?})]	. table-heighten-cell)
    ([(control ?{)]	. table-shorten-cell)
    ([(control ?-)]	. table-split-cell-vertically)
    ([(control ?|)]	. table-split-cell-horizontally)
    ([(control ?*)]	. table-span-cell)
    ([(control ?+)]	. table-insert-row-column)
    ([(control ?!)]	. table-fixed-width-mode)
    ([(control ?#)]	. table-query-dimension)
    ([(control ?^)]	. table-generate-source)
    ([(control ?:)]	. table-justify)
    )
  "Bindings for table cell commands.")