[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This package provides a sql-mode
and a sql-interactive-mode
.
The goals were two simple modes providing syntactic highlighting. The
interactive mode had to provide a command-line history; the other mode had to
provide "send region/buffer to SQL interpreter" functions. "simple" in this
context means easy to use, easy to maintain and little or no bells and
whistles.
sql-interactive-mode
is used to interact with a SQL interpreter
process in a SQLi buffer (usually called `*SQL*'). The SQLi buffer
is created by calling a SQL interpreter-specific entry function. Do
not call sql-interactive-mode
by itself.
The list of currently supported interpreters and the corresponding entry function used to create the SQLi buffers is shown with M-x sql-help.
Since sql-interactive-mode
is built on top of the general
command-interpreter-in-a-buffer mode (comint mode), it shares a common base
functionality, and a common set of bindings, with all modes derived from
comint mode. This makes these modes easier to use.
sql-mode
can be used to keep editing SQL statements. The SQL
statements can be sent to the SQL process in the SQLi buffer.
For documentation on the functionality provided by comint mode, and the hooks available for customizing it, see the file `comint.el'.
Hint for newbies: take a look at dabbrev-expand
, abbrev-mode
,
and imenu-add-menubar-index
.
To configure this package, type:
M-x customize-group RET SQL RET |
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated by XEmacs shared group account on December, 19 2009
using texi2html 1.65.