Table E-18. SQL mode commands
Table E-18. SQL mode commands (Chapter 9)
Keystrokes | Command name | Action |
---|---|---|
C-c C-c | sql-send-paragraph | Send the paragraph the cursor is on. A paragraph is defined by the particular database client. For the sql-mysql process, for example, a paragraph begins with a statement like select or update and ends with a semicolon. Any number of lines can intervene. |
C-c C-r | sql-send-region | Send the marked region. |
C-c C-b | sql-send-buffer | Send the entire buffer. |
Table E-19. Lisp commands
Table E-19. Lisp commands (Chapter 9)
Keystrokes | Command name | Action |
---|---|---|
C-M-b | backward-sexp | Move backward by one S-expression. |
C-M-f | forward-sexp | Move forward by one S-expression. |
C-M-t | transpose-sexps | Transpose the two S-expressions around the cursor. |
C-M-@ | mark-sexp | Set mark to the end of the current S-expression; set the cursor to the beginning. |
C-M-k | kill-sexp | Delete the S-expression following the cursor. |
(none) | backward-kill-sexp | Delete the S-expression preceding the cursor. |
C-M-n | forward-list | Move forward by one list. |
C-M-p | backward-list | Move backward by one list. |
C-M-d | down-list | Move forward and down one parenthesis level. |
(none) | up-list | Move forward out of one parenthesis level. |
C-M-u | backward-up-list | Move backward out of one parenthesis level. |
C-M-a | beginning-of-defun | Move to the beginning of the current function. |
C-M-e | end-of-defun | Move to the end of the current function. |
C-M-h | mark-defun | Put the cursor at the beginning of the function, put the mark at the end. |