summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMichael Mauger <mmaug@yahoo.com>2010-09-10 23:17:02 -0400
committerMichael Mauger <mmaug@yahoo.com>2010-09-10 23:17:02 -0400
commit9250002f81163aafc433425f5aed990839e3588a (patch)
tree74985b92731f55f237434e1f30ab8bfd41dc90c9 /etc
parentac1e75b396f8670af5b5e7e6ea8217207c96197d (diff)
downloademacs-9250002f81163aafc433425f5aed990839e3588a.tar.gz
SQL Mode, Version 2.6
* progmodes/sql.el: Version 2.6 (sql-dialect): Synonym for "sql-product". (sql-find-sqli-buffer, sql-set-sqli-buffer-generally) (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode): Set "sql-buffer" to buffer name not buffer object so multiple sql interactive buffers work properly. Reverts misguided changes in earlier work. (sql-comint): Make sure different buffer name is used if "*SQL*" buffer is for a different product. (sql-make-alternate-buffer-name): Fix bug with "sql-database" login param. (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql) (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase) (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer): Accept new buffer name or prompt for one. (sql-port): Default to zero. (sql-comint-mysql): Handle "sql-port" as a numeric. (sql-port-history): Delete unused variable. (sql-get-login): Default "sql-port" to a number. (sql-product-alist): Correct Postgres prompt and terminator regexp. (sql-sqlite-program): Dynamically detect presence of "sqlite" or "sqlite3" executables. (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern. (sql-buffer-live-p): New function. (sql-mode-menu, sql-send-string): Use it. (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK syntax pattern. (sql-mode-postgres-font-lock-keywords): Support Postgres V9. (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS14
1 files changed, 14 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 4b454e39dbf..1d420172834 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -317,10 +317,24 @@ For example, adding "(diff-mode . ((mode . whitespace)))" to your
variables `sql-product', `sql-user', `sql-server', `sql-database' and
`sql-port' can now be safely used as local variables.
+*** `sql-dialect' is a synonym for `sql-product'.
+
*** Added ability to login with a port on MySQL.
The custom variable `sql-port' can be specified for connection to
MySQL servers.
+*** Dynamic selection of product in an SQL interactive session.
+If you use `sql-product-interactive' to start an SQL interactive
+session it uses the current value of `sql-product'. Preceding the
+invocation with C-u will force it to ask for the product before
+creating the session.
+
+*** Renaming a SQL interactive buffer when it is created.
+Prefixing the SQL interactive commands (`sql-sqlite', `sql-postgres',
+`sql-mysql', etc.) with C-u will force a new interactive session to be
+started and will prompt for the new name. This will reduce the need
+for `sql-rename-buffer' is most common use cases.
+
*** Command continuation prompts in SQL interactive mode are suppressed.
Multiple line commands in SQL interactive mode, generate command
continuation prompts which needlessly confuse the output. These