89 |
|
|
90 |
* Changes in Emacs 21.4 |
* Changes in Emacs 21.4 |
91 |
|
|
92 |
|
** sql changes. |
93 |
|
|
94 |
|
*** The variable `sql-product' controls the highlightng of different |
95 |
|
SQL dialects. This variable can be set globally via Customize, on a |
96 |
|
buffer-specific basis via local variable settings, or for the current |
97 |
|
session using the new SQL->Product submenu. (This menu replaces the |
98 |
|
SQL->Highlighting submenu.) |
99 |
|
|
100 |
|
The following values are supported: |
101 |
|
|
102 |
|
ansi ANSI Standard (default) |
103 |
|
db2 DB2 |
104 |
|
informix Informix |
105 |
|
ingres Ingres |
106 |
|
interbase Interbase |
107 |
|
linter Linter |
108 |
|
ms Microsoft |
109 |
|
mysql MySQL |
110 |
|
oracle Oracle |
111 |
|
postgres Postgres |
112 |
|
solid Solid |
113 |
|
sqlite SQLite |
114 |
|
sybase Sybase |
115 |
|
|
116 |
|
The current product name will be shown on the mode line following the |
117 |
|
SQL mode indicator. |
118 |
|
|
119 |
|
The technique of setting `sql-mode-font-lock-defaults' directly in |
120 |
|
your .emacs will no longer establish the default highlighting -- Use |
121 |
|
`sql-product' to accomplish this. |
122 |
|
|
123 |
|
*** The function `sql-add-product-keywords' can be used to add |
124 |
|
font-lock rules to the product specific rules. For example, to have |
125 |
|
all identifiers ending in "_t" under MS SQLServer treated as a type, |
126 |
|
you would use the following line in your .emacs file: |
127 |
|
|
128 |
|
(sql-add-product-keywords 'ms |
129 |
|
'("\\<\\w+_t\\>" . font-lock-type-face)) |
130 |
|
|
131 |
|
*** Oracle support includes keyword highlighting for Oracle 9i. Most |
132 |
|
SQL and PL/SQL keywords are implemented. SQL*Plus commands are |
133 |
|
highlighted in `font-lock-doc-face'. |
134 |
|
|
135 |
|
*** Microsoft SQLServer support has been significantly improved. |
136 |
|
Keyword highlighting for SqlServer 2000 is implemented. |
137 |
|
sql-interactive-mode defaults to use osql, rather than isql, because |
138 |
|
osql flushes it's error stream more frequently. Thus error messages |
139 |
|
are displayed when they occur rather than when the session is |
140 |
|
terminated. |
141 |
|
|
142 |
|
If the username and password are not provided to `sql-ms', osql is |
143 |
|
called with the -E command line argument to use the operating system |
144 |
|
credentials to authenticate the user. |
145 |
|
|
146 |
|
*** Imenu support has been enhanced to locate tables, views, indexes, |
147 |
|
packages, procedures, functions, triggers, sequences, rules, and |
148 |
|
defaults. |
149 |
|
|
150 |
|
*** Added SQL->Start SQLi Session menu entry which calls the |
151 |
|
appropriate sql-interactive-mode wrapper for the current setting of |
152 |
|
`sql-product'. |
153 |
|
|
154 |
** M-x view-file and commands that use it now avoid interfering |
** M-x view-file and commands that use it now avoid interfering |
155 |
with special modes such as Tar mode. |
with special modes such as Tar mode. |
156 |
|
|
164 |
|
|
165 |
** New minor mode, Visible mode, toggles invisibility in the current buffer. |
** New minor mode, Visible mode, toggles invisibility in the current buffer. |
166 |
When enabled, it makes all invisible text visible. When disabled, it |
When enabled, it makes all invisible text visible. When disabled, it |
167 |
restores the previous value of `buffer-invisibility-spec'. |
restores the previous value of `buffer-invisibility-spec'. |
168 |
|
|
169 |
** New command `kill-whole-line' kills an entire line at once. |
** New command `kill-whole-line' kills an entire line at once. |
170 |
By default, it is bound to C-S-<backspace>. |
By default, it is bound to C-S-<backspace>. |