1. 22 Sep, 2014 2 commits
  2. 14 Sep, 2014 1 commit
  3. 12 Sep, 2014 1 commit
    • Sam Steingold's avatar
      Add support for Vertica SQL. · 82bb5d8c
      Sam Steingold authored
      * lisp/progmodes/sql.el (sql-product-alist): Add vertica.
      (sql-vertica-program, sql-vertica-options)
      (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
      New functions and variables to support Vertica.
      Inspired by code by Roman Scherer <roman@burningswell.com>.
      82bb5d8c
  4. 09 Sep, 2014 1 commit
  5. 08 Sep, 2014 4 commits
  6. 28 Feb, 2014 1 commit
  7. 15 Feb, 2014 1 commit
    • Michael Mauger's avatar
      * progmodes/sql.el: Version 3.4 · 9b0c01f7
      Michael Mauger authored
      (sql-oracle-options): New default value ("-L").
      (sql-mode-oracle-font-lock-keywords): Added placeholder highlighting.
      (sql-placeholders-filter): Correct placeholder pattern.
      (sql-read-table-name): Bug fix. Detect absence of SQLi process.
      (sql-login-delay): New variable.
      (sql-product-interactive): Use it.
      9b0c01f7
  8. 03 Jan, 2014 1 commit
    • Chong Yidong's avatar
      Remove the dynamic-docstring-function feature. · 0d53f628
      Chong Yidong authored
      * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
      Ignore function-documentation property when getting documentation.
      (ad-activate-advised-definition): Use function-documentation
      generate the docstring.
      (ad-make-advised-definition): Don't call
      ad-make-advised-definition-docstring.
      (ad-make-advised-definition-docstring, ad-advised-definition-p):
      Delete functions.
      
      * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
      (advice--docstring): Delete variable.
      (advice--make-1): Leave the docstring empty.
      (advice-add): Use function-documentation for advised docstring.
      
      * progmodes/sql.el (sql-help): Use function-documentation instead
      of dynamic-docstring-function property.  No need to autoload now.
      (sql--help-docstring): New variable.
      (sql--make-help-docstring): Use it.
      
      * doc.c (Fdocumentation): Remove dynamic-docstring-function.
      0d53f628
  9. 01 Jan, 2014 1 commit
  10. 13 Oct, 2013 1 commit
  11. 24 Jul, 2013 1 commit
    • Michael Mauger's avatar
      * progmodes/sql.el Version 3.3 · 3d012865
      Michael Mauger authored
      (sql-product-alist): Improve oracle :prompt-cont-regexp.
      (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
      (sql-interactive-remove-continuation-prompt): Rewrite, use
      functions above.  Fix continuation prompt and complete output line
      handling.
      (sql-redirect-one, sql-execute): Use `read-only-mode' on
      redirected output buffer.
      (sql-mode): Restore deleted code (Bug#13591).
      3d012865
  12. 11 May, 2013 1 commit
    • Glenn Morris's avatar
      More custom :type fixes · 99fb2756
      Glenn Morris authored
      * lisp/lpr.el (lpr-headers-switches):
      * lisp/emacs-lisp/testcover.el (testcover-compose-functions):
      * lisp/cedet/ede/project-am.el (project-am-compile-project-command): Fix :type.
      
      * lisp/progmodes/sql.el (sql-login-params): Fix and improve :type.
      99fb2756
  13. 11 Mar, 2013 1 commit
    • Michael Mauger's avatar
      * progmodes/sql.el Version 3.2 · e18e61cf
      Michael Mauger authored
      Please note that my address changed to <michael@mauger.com>; the
      <mmaug@yahoo.com> address remains active.
      (sql-connection-alist): Updates documentation to fix bug#13715.
      (sql-connect): Handle missing `sql-connection-alist' correctly.
      (sql-mode-oracle-font-lock-keywords): Add missing keywords.
      (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
      property.
      (sql-default-value): New function.
      (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
      values were not used.
      (sql-rename-buffer): Make sure alternate buffer name has no text
      properties.
      (sql-input-sender, sql-execute-feature): Fetch variable with
      `buffer-local-value' rather than `with-current-buffer'.
      (sql-*): Use #' function syntax consistently.
      (sql-*): Use message/error/user-error consistently.
      e18e61cf
  14. 15 Jan, 2013 2 commits
  15. 01 Jan, 2013 1 commit
  16. 14 Dec, 2012 1 commit
  17. 06 Dec, 2012 1 commit
    • Stefan Monnier's avatar
      * lisp/progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup. · 93852cb0
      Stefan Monnier authored
      (sql-signum): Remove.  Use `cl-signum' instead.
      (sql-read-passwd): Remove; use read-passwd instread.
      (sql-get-login-ext): Use read-string.
      (sql-get-login): Use dolist and pcase.
      (sql--completion-table): Rename from sql-try-completion.
      Use complete-with-action.
      (sql-mode): Don't change abbrev-all-caps globally.
      (sql-connect): Don't rely on dynamic scoping for `new-name'.
      (sql-postgres-completion-object): Initialize vars in their `let'.
      (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
      (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
      (sql-comint-interbase): Use a single append, without setq.
      (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
      93852cb0
  18. 09 Nov, 2012 1 commit
    • Stefan Monnier's avatar
      New property dynamic-docstring-function for docstrings. · 57618ecf
      Stefan Monnier authored
      * src/doc.c (Fdocumentation): Handle new property
      dynamic-docstring-function to replace the old ad-advice-info.
      * lisp/emacs-lisp/advice.el: Use new dynamic docstrings.
      (ad-make-advised-definition-docstring, ad-advised-definition-p):
      Use dynamic-docstring-function instead of ad-advice-info.
      (ad--make-advised-docstring): New function extracted from
      ad-make-advised-docstring.
      (ad-make-advised-docstring): Use it.
      * lisp/progmodes/sql.el (sql--make-help-docstring): New function, extracted
      from sql-help.
      (sql-help): Use it with dynamic-docstring-function.
      57618ecf
  19. 17 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Update docstrings and comments to use "init file" terminology. · 865fe16f
      Chong Yidong authored
      * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
      * comint.el (comint-prompt-read-only):
      * custom.el (defcustom):
      * hi-lock.el (hi-lock-mode):
      * ibuffer.el (ibuffer-formats):
      * ielm.el (ielm-prompt-read-only):
      * novice.el (disable-command):
      * saveplace.el (toggle-save-place):
      * speedbar.el (speedbar-supported-extension-expressions):
      * startup.el (auto-save-list-file-prefix, init-file-user)
      (after-init-hook, inhibit-startup-echo-area-message):
      * strokes.el (strokes-help):
      * time-stamp.el (time-stamp):
      * calendar/calendar.el (calendar, diary-file):
      * calendar/diary-lib.el (diary-mail-entries, diary)
      (diary-list-entries-hook):
      * calendar/holidays.el (holidays, calendar-holidays):
      * calendar/lunar.el (lunar-phases):
      * calendar/solar.el (sunrise-sunset):
      * emulation/edt.el (edt-load-keys):
      * emulation/viper.el (viper-mode):
      * eshell/em-alias.el (eshell-command-aliases-list):
      * eshell/esh-util.el (eshell-convert-numeric-arguments):
      * international/ogonek.el (ogonek-information):
      * net/tramp-cmds.el (tramp-bug):
      * net/quickurl.el (quickurl-reread-hook-postfix):
      * play/decipher.el (decipher-font-lock-keywords):
      * progmodes/cc-styles.el (c-set-style):
      * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
      * progmodes/inf-lisp.el (inferior-lisp-prompt):
      * progmodes/octave-mod.el (octave-mode):
      * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
      * progmodes/verilog-mode.el (verilog-read-defines):
      * textmodes/two-column.el (2C-mode): Likewise.
      865fe16f
  20. 10 Sep, 2012 1 commit
  21. 13 Jul, 2012 1 commit
  22. 01 Mar, 2012 1 commit
    • Michael Mauger's avatar
      2012-03-01 Michael R. Mauger <mmaug@yahoo.com> · f6561e1f
      Michael Mauger authored
      	* progmodes/sql.el: Bug fix
      	(sql-get-login-ext): Save login values in globals.
      	(sql-get-login): Use new version of `sql-get-login-ext'.
      	(sql-interactive-mode): Set global `sql-connection' to nil.
      	(sql-connect): Set global values for connection.
      	(sql-product-interactive): Save global values as buffer local.
      f6561e1f
  23. 11 Feb, 2012 2 commits
    • Glenn Morris's avatar
      Add missing :version tags to new defgroups and defcustoms · 2bed3f04
      Glenn Morris authored
      * window.el (window-sides-slots):
      * tool-bar.el (tool-bar-position):
      * term/xterm.el (xterm-extra-capabilities):
      * ses.el (ses-self-reference-early-detection):
      * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
      (verilog-auto-wire-type)
      (verilog-auto-delete-trailing-whitespace)
      (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
      (verilog-auto-tieoff-declaration):
      * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
      (sql-oracle-statement-starters, sql-oracle-scan-on):
      * progmodes/prolog.el (prolog-align-comments-flag)
      (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
      (prolog-left-indent-regexp, prolog-paren-indent-p)
      (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
      (prolog-types, prolog-mode-specificators)
      (prolog-determinism-specificators, prolog-directives)
      (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
      (prolog-electric-dot-flag)
      (prolog-electric-dot-full-predicate-template)
      (prolog-electric-underscore-flag, prolog-electric-tab-flag)
      (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
      (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
      (prolog-program-switches, prolog-prompt-regexp)
      (prolog-debug-on-string, prolog-debug-off-string)
      (prolog-trace-on-string, prolog-trace-off-string)
      (prolog-zip-on-string, prolog-zip-off-string)
      (prolog-use-standard-consult-compile-method-flag)
      (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
      (prolog-imenu-max-lines, prolog-info-predicate-index)
      (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
      (prolog-char-quote-workaround):
      * progmodes/cc-vars.el (c-defun-tactic):
      * net/tramp.el (tramp-encoding-command-interactive)
      (tramp-local-end-of-line):
      * net/soap-client.el (soap-client):
      * net/netrc.el (netrc-file):
      * net/gnutls.el (gnutls):
      * minibuffer.el (completion-category-overrides)
      (completion-cycle-threshold)
      (completion-pcm-complete-word-inserts-delimiters):
      * man.el (Man-name-local-regexp):
      * mail/feedmail.el (feedmail-display-full-frame):
      * international/characters.el (glyphless-char-display-control):
      * eshell/em-ls.el (eshell-ls-date-format):
      * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
      (lisp-lambda-list-keyword-parameter-indentation)
      (lisp-lambda-list-keyword-parameter-alignment):
      * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
      * dired-x.el (dired-omit-verbose):
      * cus-theme.el (custom-theme-allow-multiple-selections):
      * calc/calc.el (calc-highlight-selections-with-faces)
      (calc-lu-field-reference, calc-lu-power-reference)
      (calc-note-threshold):
      * battery.el (battery-mode-line-limit):
      * arc-mode.el (archive-7z-extract, archive-7z-expunge)
      (archive-7z-update):
      * allout.el (allout-prefixed-keybindings)
      (allout-unprefixed-keybindings)
      (allout-inhibit-auto-fill-on-headline)
      (allout-flattened-numbering-abbreviation):
      * allout-widgets.el (allout-widgets-auto-activation)
      (allout-widgets-icons-dark-subdir)
      (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
      (allout-widgets-theme-dark-background)
      (allout-widgets-theme-light-background)
      (allout-widgets-item-image-properties-emacs)
      (allout-widgets-item-image-properties-xemacs)
      (allout-widgets-run-unit-tests-on-load)
      (allout-widgets-time-decoration-activity)
      (allout-widgets-hook-error-post-time)
      (allout-widgets-track-decoration):
      * gnus/sieve-manage.el (sieve-manage-default-stream):
      * gnus/shr.el (shr):
      * gnus/nnir.el (nnir-ignored-newsgroups, nnir-summary-line-format)
      (nnir-retrieve-headers-override-function)
      (nnir-imap-default-search-key, nnir-notmuch-program)
      (nnir-notmuch-additional-switches, nnir-notmuch-remove-prefix)
      (nnir-method-default-engines):
      * gnus/message.el (message-cite-reply-position):
      * gnus/gssapi.el (gssapi-program):
      * gnus/gravatar.el (gravatar):
      * gnus/gnus-sum.el (gnus-refer-thread-use-nnir):
      * gnus/gnus-registry.el (gnus-registry-unfollowed-addresses)
      (gnus-registry-max-pruned-entries):
      * gnus/gnus-picon.el (gnus-picon-inhibit-top-level-domains):
      * gnus/gnus-int.el (gnus-after-set-mark-hook)
      (gnus-before-update-mark-hook):
      * gnus/gnus-async.el (gnus-async-post-fetch-function):
      * gnus/auth-source.el (auth-source-cache-expiry):
      Add missing :version tags to new defcustoms and defgroups.
      2bed3f04
    • Glenn Morris's avatar
      Add missing custom types to sql.el · 5fec1b8e
      Glenn Morris authored
      * lisp/progmodes/sql.el (sql-ansi-statement-starters)
      (sql-oracle-statement-starters): Add custom type.
      5fec1b8e
  24. 08 Feb, 2012 1 commit
  25. 11 Jan, 2012 1 commit
  26. 05 Jan, 2012 1 commit
    • Michael Mauger's avatar
      2012-01-05 Michael R. Mauger <mmaug@yahoo.com> · bb5aa5d6
      Michael Mauger authored
              * progmodes/sql.el (sql-login-hook): Add hook to respond to the
              first prompt in `sql-interacive-mode'.
              (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
              keywords. 
              (sql-mode-mysql-font-lock-keywords):  Add ELSEIF keyword.
              (sql-product-interactive): Bug fix: Set `sql-buffer' in
              context of original buffer.  Invoke `sql-login-hook'.
      bb5aa5d6
  27. 19 Dec, 2011 1 commit
  28. 27 Nov, 2011 1 commit
  29. 15 Nov, 2011 1 commit
  30. 14 Nov, 2011 1 commit
  31. 22 Sep, 2011 1 commit
  32. 06 Jul, 2011 1 commit
    • Michael Mauger's avatar
      * progmodes/sql.el: Version 3.0 · fbcc67e2
      Michael Mauger authored
      	(sql-product-alist): Added product :completion-object,
      	:completion-column, and :statement attributes.
      	(sql-mode-menu, sql-interactive-mode-map): Fixed List entries.
      	(sql-mode-syntax-table): Mark all punctuation.
      	(sql-font-lock-keywords-builder): Temporarily removed fallback on
      	ansi keywords.
      	(sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
      	(sql-mode-oracle-font-lock-keywords): Improved.
      	(sql-oracle-show-reserved-words): New function for development.
      	(sql-product-font-lock): Simplify for source code buffers.
      	(sql-product-syntax-table, sql-product-font-lock-syntax-alist):
      	New functions.
      	(sql-highlight-product): Set product specific syntax table.
      	(sql-mode-map): Added statement movement functions.
      	(sql-ansi-statement-starters, sql-oracle-statement-starters): New
      	variable.
      	(sql-statement-regexp, sql-beginning-of-statement)
      	(sql-end-of-statement, sql-signum): New functions.
      	(sql-buffer-live-p, sql=find-sqli-buffer): Added CONNECTION
      	parameter.
      	(sql-show-sqli-buffer): Bug fix.
      	(sql-interactive-mode): Store connection data as buffer local.
      	(sql-connect): Added NEW-NAME parameter.  Redesigned interaction
      	with sql-interactive-mode.
      	(sql-save-connection): Save buffer local settings.
      	(sql-connection-menu-filter): Changed menu entry name.
      	(sql-product-interactive): Bug fix.
      	(sql-preoutput-hold): New variable.
      	(sql-interactive-remove-continuation-prompt): Bug fixes.
      	(sql-debug-redirect): New variable.
      	(sql-str-literal): New function.
      	(sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
      	Redesigned.
      	(sql-oracle-save-settings, sql-oracle-restore-settings)
      	(sql-oracle-list-all, sql-oracle-list-table): New functions.
      	(sql-completion-object, sql-completion-column)
      	(sql-completion-sqlbuf): New variables.
      	(sql-build-completions-1, sql-build-completions)
      	(sql-try-completion): New functions.
      	(sql-read-table-name): Use them.
      	(sql-contains-names): New buffer local variable.
      	(sql-list-all, sql-list-table): Use it.
      	(sql-oracle-completion-types): New variable.
      	(sql-oracle-completion-object, sql-sqlite-completion-object)
      	(sql-postgres-completion-object): New functions.
      fbcc67e2
  33. 23 May, 2011 1 commit
  34. 22 Apr, 2011 1 commit