1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-18 18:05:07 +00:00
emacs/lisp/progmodes
Juanma Barranquero 9c7bda2fc1 Version 1.8.0 of sql-mode.
Simplify selection of SQL products to define highlighting and
interactive mode.  Includes detailed instructions on adding support
for new products.

(sql-product): New variable.  Identifies SQL product for use in highlighting and
interactive mode.
(sql-interactive-product): New variable.  SQL product for sql-interactive-mode.
(sql-product-support): New variable.  Specifies product-specific parameters to
drive highlighting and interactive mode.
(sql-imenu-generic-expression): Add more object types.
(sql-sqlite-options): Correct comment.
(sql-ms-program): Use "osql" rather than "isql".
(sql-prompt-regexp, sql-prompt-length): Update comment.
(sql-mode-menu): Add "Start SQLi session" entry.  Replace Highlighting submenu
with Product menu.  Fix Send Region entry.
(sql-mode-abbrev-table): Add abbreviations.  Support of SYSTEM-FLAG on
define-abbrev.  Support was removed with last check-in; it now handles older
Emacsen without the SYSTEM-FLAG.
(sql-mode-font-lock-object-name): Add font-lock pattern for object names.
(sql-mode-ansi-font-lock-keywords): Set as default value.
(sql-mode-oracle-font-lock-keywords): Set as default value.  Support Oracle 9i
keywords.
(sql-mode-postgres-font-lock-keywords): Set as default value.
(sql-mode-linter-font-lock-keywords): Set as default value.
(sql-mode-ms-font-lock-keywords): New variable.  Support Microsoft SQLServer
2000.
(sql-mode-sybase-font-lock-keywords)
(sql-mode-interbase-font-lock-keywords)
(sql-mode-sqlite-font-lock-keywords)
(sql-mode-strong-font-lock-keywords)
(sql-mode-mysql-font-lock-keywords)
(sql-mode-db2-font-lock-keywords): New variables.  Default to ANSI keywords.
(sql-mode-font-lock-defaults): Update comment.
(sql-product-feature): New function.  Returns feature associated with a product
from `sql-product-support' alist.
(sql-product-font-lock): New function.  Set font-lock support based on
`sql-product'.
(sql-add-product-keywords): New function.  Add font-lock rules to
product-specific keyword variables.
(sql-set-product): New function.  Set `sql-product' and apply appropriate
font-lock highlighting.
(sql-highlight-product): New function.  Set font-lock support based on a
product.  Also set mode name to include product name.
(sql-highlight-ansi-keywords, sql-highlight-oracle-keywords)
(sql-highlight-postgres-keywords, sql-highlight-linter-keywords):
Use `sql-set-product'.
(sql-highlight-ms-keywords)
(sql-highlight-sybase-keywords)
(sql-highlight-interbase-keywords)
(sql-highlight-strong-keywords)
(sql-highlight-mysql-keywords)
(sql-highlight-sqlite-keywords)
(sql-highlight-db2-keywords): New functions.  Use `sql-set-product'.
(sql-get-login): Prompt in the same order as the tokens.
(sql-mode): Uses `sql-product-highlight' and `sql-product-font-lock'.
(sql-product-interactive): New function.  Common portions of product-specific
interactive mode wrappers.
(sql-interactive-mode): Rewritten to use product features.
(sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
(sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
(sql-db2, sql-linter): Use `sql-product-interactive'.
(sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
(sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
(sql-connect-ingres, sql-connect-postgres)
(sql-connect-interbase, sql-connect-db2, sql-connect-linter): New functions.
Format command line parameters and invoke comint on the appropriate interpreter.
Code was in the corresponding `sql-xyz' function before.
(sql-connect-ms): New function.  Support -E argument to use operating system
credentials for authentication.
2003-07-13 17:19:18 +00:00
..
.gitignore
ada-mode.el (ada-in-comment-p, ada-in-string-p) 2003-05-13 20:48:15 +00:00
ada-prj.el (ada-xemacs): Variable removed, since it's better to use (featurep 'xemacs). 2003-05-04 19:55:38 +00:00
ada-stmt.el (ada-xemacs): Variable removed, since it's better to use (featurep 'xemacs). 2003-05-04 19:55:38 +00:00
ada-xref.el (ada-xref-update-project-menu): Use easymenu. 2003-05-13 21:15:44 +00:00
antlr-mode.el Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
asm-mode.el * progmodes/asm-mode.el (asm-font-lock-keywords): Support 2003-06-25 06:52:04 +00:00
autoconf.el (autoconf-current-defun-function): Copy the syntax table before modifying it. 2003-05-13 20:59:15 +00:00
awk-mode.el
cc-align.el Updated CC Mode to version 5.30. 2003-07-03 12:30:59 +00:00
cc-awk.el Updated CC Mode to version 5.30. 2003-07-03 12:30:59 +00:00
cc-bytecomp.el Updated CC Mode to version 5.30. 2003-07-03 12:30:59 +00:00
cc-cmds.el Updated CC Mode to version 5.30. 2003-07-03 12:30:59 +00:00
cc-compat.el Updated CC Mode to version 5.30. 2003-07-03 12:30:59 +00:00
cc-defs.el (c-make-keywords-re): Don't use delete-duplicates. 2003-07-13 00:19:56 +00:00
cc-engine.el (c-declare-lang-variables): Don't use mapcan. 2003-07-13 00:20:39 +00:00
cc-fonts.el 2003-07-08 Martin Stjernholm <bug-cc-mode@gnu.org> 2003-07-08 23:24:44 +00:00
cc-langs.el (c-style-alist, c-lang-variable-inits, c-lang-variable-inits-tail): The 2003-07-05 19:54:33 +00:00
cc-menus.el Updated CC Mode to version 5.30. 2003-07-03 12:30:59 +00:00
cc-mode.el Fixed some autoload problems: Try to ensure that the entry for ".c" 2003-07-05 19:53:33 +00:00
cc-styles.el (c-style-alist, c-lang-variable-inits, c-lang-variable-inits-tail): The 2003-07-05 19:54:33 +00:00
cc-vars.el Updated CC Mode to version 5.30. 2003-07-03 12:30:59 +00:00
cmacexp.el
compile.el (compile-auto-highlight): Default now t. 2003-07-07 20:53:19 +00:00
cperl-mode.el (cperl-lineup): Don't quote nil and t in docstrings. 2003-05-06 17:43:22 +00:00
cpp.el (cpp-make-overlay-hidden): Don't make intangible. 2003-05-13 21:43:08 +00:00
cwarn.el (global-cwarn-mode): Use define-minor-mode. 2002-04-08 22:45:13 +00:00
dcl-mode.el (dcl-font-lock-keywords, dcl-font-lock-defaults): New vars. 2003-03-06 23:14:23 +00:00
delphi.el (large-file-warning-threshold): Add type, groups. 2003-05-31 07:59:33 +00:00
ebnf2ps.el (ebnf2ps): Fix typo. 2003-02-10 09:59:35 +00:00
ebnf-bnf.el Fix typo in comment. 2003-02-10 09:56:14 +00:00
ebnf-iso.el Fix typo in comment. 2003-02-10 09:56:14 +00:00
ebnf-otz.el (ebnf-optimize, ebnf-optimize1): Fix typo. 2003-02-10 09:55:17 +00:00
ebnf-yac.el Fix typo in comment. 2003-02-10 09:56:14 +00:00
ebrowse.el (ebrowse-show-file-name-at-point): Remove useless check. 2003-02-20 17:07:32 +00:00
etags.el (visit-tags-table-buffer): Add autoload cookie; 2003-07-10 16:31:43 +00:00
executable.el (executable-set-magic): Remove unused vars point' and buffer-modified-p'. 2003-05-18 21:37:23 +00:00
f90.el (f90-font-lock-keywords-2): Use override for 2003-04-20 13:01:32 +00:00
fortran.el (fortran-gud-find-expr): Move from gud.el (was gud-find-fortran-expr). 2003-06-18 23:25:39 +00:00
glasses.el
gud.el (gud-find-expr-function): Rename from gud-find-expr. 2003-06-18 23:26:28 +00:00
hideif.el Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
hideshow.el (hs-adjust-block-beginning): Fix typo. 2002-05-16 12:01:17 +00:00
icon.el Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
idlw-rinfo.el Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
idlw-shell.el (idlwave-shell-set-bp): Fix typo. 2002-10-17 15:41:01 +00:00
idlw-toolbar.el Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
idlwave.el (idlwave-complete-special): Don't quote nil and t in docstrings. 2003-05-06 17:40:52 +00:00
inf-lisp.el Fix spacing (garbled by previous patch). 2002-07-03 11:32:20 +00:00
m4-mode.el Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
make-mode.el (makefile-font-lock-syntactic-keywords): New variable. 2003-03-19 22:25:11 +00:00
mantemp.el
meta-mode.el (meta-fill-paragraph): Remove. 2003-02-11 21:24:35 +00:00
mixal-mode.el New file. 2003-06-16 21:33:54 +00:00
modula2.el Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
octave-hlp.el Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
octave-inf.el Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
octave-mod.el Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
pascal.el Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
perl-mode.el (perl-font-lock-syntactic-keywords): Match more cases of /.../ patterns. 2003-05-23 15:49:16 +00:00
prolog.el (prolog-mode-syntax-table): Add flags to ?/ and ?* entries 2002-06-01 00:55:41 +00:00
ps-mode.el (ps-mode): Use autoload cookie in the standard way. 2003-06-03 04:15:06 +00:00
scheme.el (scheme-mode-syntax-table): Use prefix syntax for ', `, comma, @ and #. 2003-04-24 01:41:45 +00:00
sh-script.el (sh-font-lock-paren): Add [ and ] to the 2003-07-04 20:37:49 +00:00
simula.el Move abbrev loading to after the fun it uses. 2003-02-25 01:45:55 +00:00
sql.el Version 1.8.0 of sql-mode. 2003-07-13 17:19:18 +00:00
tcl.el (tcl-mode): Set imenu-generic-expression to the value of 2003-06-05 19:47:26 +00:00
vhdl-mode.el Version 3.32.12 released. Major revision. 2003-03-05 07:51:51 +00:00
which-func.el Moved from lisp/. 2003-05-30 23:31:15 +00:00
xscheme.el Moved from lisp. 2003-04-16 09:52:55 +00:00