]> code.delx.au - gnu-emacs/commitdiff
Support IF NOT EXISTS in SQL declarations
authorDaniel Colascione <dancol@dancol.org>
Wed, 21 Nov 2012 21:38:56 +0000 (13:38 -0800)
committerDaniel Colascione <dancol@dancol.org>
Wed, 21 Nov 2012 21:38:56 +0000 (13:38 -0800)
1  2 
lisp/ChangeLog
lisp/progmodes/sql.el

diff --cc lisp/ChangeLog
index 192de015ea6ff8ca9f2ebea0a4ffd1682c3edfa9,3273baad872a0f776a269ede970311544b0e5e35..a0c6a8671f26f569b6f7cf2b519296778d4ad589
++2012-11-21  Daniel Colascione  <dancol@dancol.org>
++
++      * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
++      in SQL declarations.
++
 +2012-11-21  Glenn Morris  <rgm@gnu.org>
 +
 +      * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
 +      (face-italic-p): Add optional argument "inherit".
 +
 +      * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
 +      Remove -p suffix from names, for consistency with other set-face-*.
 +      (set-face-inverse-video): Fix interactive spec.
 +      * play/gamegrid.el (gamegrid-make-mono-tty-face):
 +      * textmodes/table.el (table--update-cell-face):
 +      Use set-face-inverse-video rather than now obsolete alias.
 +
 +2012-11-21  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * simple.el (line-move): Don't call line-move-partial if
 +      scroll-conservatively is in effect.  (Bug#12927)
 +
 +2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
 +      Fallback on completion-at-point rather than
 +      pcomplete-expand-and-complete, and only if pcomplete actually failed.
 +      (eshell-cmpl-initialize): Setup completion-at-point.
 +
 +      * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
 +
 +      * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
 +
 +2012-11-21  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
 +      are remote, check out-of-band property for both.
 +
 +2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * window.el (switch-to-buffer): Re-add the warning that was lost in the
 +      code rewrite.
 +
 +2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      More minor time fixes.
 +      * calendar/time-date.el: Commentary fix.
 +      * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
 +      too much other code depends on (0 0) time stamps.
 +      * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
 +      Add a couple of FIXME comments.
 +
 +      Minor cleanup for times as lists of four integers.
 +      * files.el (dir-locals-directory-cache):
 +      * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
 +      Doc fixes.
 +      * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
 +      * ps-bdf.el (bdf-file-newer-than-time):
 +      Process four-integers time stamps, not two.  Doc fixes.
 +
 +2012-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * uniquify.el (uniquify-managed): Use defvar-local.
 +      (rename-buffer, create-file-buffer): Advise with advice-add.
 +      (uniquify-unload-function): Unadvise accordingly.
 +
 +      * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
 +      (trace-buffer): Don't purecopy.
 +      (trace-entry-message, trace-exit-message): Add `context' arg.
 +      (trace--timer): New var.
 +      (trace-make-advice): Adjust for use in nadvice.
 +      Add `context' argument.  Delay `display-buffer' via a timer.
 +      (trace-function-internal): Use advice-add.
 +      (trace--read-args): New function.
 +      (trace-function-foreground, trace-function-background): Use it.
 +      (trace-function): Rename to trace-function-foreground and redefine as
 +      an alias to that new name.
 +      (untrace-function, untrace-all): Adjust to the use of nadvice.
 +
 +      * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
 +
 +      * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
 +
 +      * subr.el (called-interactively-p-functions): New var.
 +      (internal--called-interactively-p--get-frame): New macro.
 +      (called-interactively-p, interactive-p): Rewrite in Lisp.
 +      * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
 +      (called-interactively-p-functions): Use it.
 +      * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
 +      (called-interactively-p-functions): Use it.
 +      * allout.el (allout-called-interactively-p): Don't assume
 +      called-interactively-p is a subr.
 +
 +2012-11-20  Glenn Morris  <rgm@gnu.org>
 +
 +      * profiler.el (profiler-report-mode-map): Add a menu.
 +      No need to bind `q' because we derive from special-mode.
 +      (profiler-report-find-entry): Handle calls from the menu-bar.
 +
 +2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/byte-run.el (defun-declarations-alist):
 +      Allow a compiler-macro to be a lambda expression.
 +
 +      * progmodes/python.el: Use cl-lib.  Move var declarations outside of
 +      eval-when-compile.
 +      (python-syntax-context): Add compiler-macro.
 +      (python-font-lock-keywords): Simplify with De Morgan.
 +
 +      * vc/diff-mode.el (diff-hunk): Don't make useless timers.
 +
 +      * files.el (load-file): Require match in minibuffer selection, as was
 +      the case in Emacs-20 before we changed the spec to allow .elc files
 +      (bug#12935).
 +
 +      * json.el: Don't require cl since we don't use it.
 +      * color.el: Don't require cl.
 +      (color-complement): `caddr' -> `nth 2'.
 +
 +      * calendar/time-date.el (time-to-seconds): De-obsolete.
 +
 +2012-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
 +
 +      * calc/calc-forms.el (math-leap-year-p):  Fix formula for negative
 +      year numbers.
 +      (math-date-to-julian-dt): Adjust the initial approximation for the
 +      year to deal with the new definition of the DATE.
 +
 +2012-11-19  Daniel Colascione  <dancol@dancol.org>
 +
 +      * term/w32-win.el (cygwin-convert-path-from-windows):
 +      Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
 +
 +2012-11-18  Chong Yidong  <cyd@gnu.org>
 +
 +      * filecache.el (file-cache--read-list): New function.
 +      (file-cache-add-directory-list, file-cache-add-file-list)
 +      (file-cache-delete-file-list, file-cache-delete-directory-list):
 +      Use it to read a list of files or directories (Bug#12846).
 +      (file-cache-add-file, file-cache-add-directory)
 +      (file-cache-delete-file-list, file-cache-delete-file-regexp)
 +      (file-cache-delete-directory): Print an message.
 +
 +2012-11-18  Jay Belanger  <jay.p.belanger@gmail.com>
 +
 +      * calc/calc-forms.el (math-date-to-dt): Use integer date when
 +      calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
 +
 +2012-11-18  Glenn Morris  <rgm@gnu.org>
 +
 +      * image.el (insert-image, insert-sliced-image): Doc fix.
 +
 +2012-11-18  Chong Yidong  <cyd@gnu.org>
 +
 +      * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
 +      (Bug#12810).
 +
 +2012-11-18  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
 +
 +      * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
 +      response when the target file is in a subdirectory (Bug#12757).
 +
 +2012-11-18  Chong Yidong  <cyd@gnu.org>
 +
 +      * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
 +
 +2012-11-18  Glenn Morris  <rgm@gnu.org>
 +
 +      * emacs-lisp/cl-lib.el (face-underline-p):
 +      Use set-face-underline rather than the alias set-face-underline-p.
 +
 +      * window.el (with-temp-buffer-window): Doc fix.
 +      * subr.el (with-output-to-temp-buffer):
 +      Add doc xref to with-temp-buffer-window.
 +
 +2012-11-18  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * woman.el (woman-non-underline-faces): Use `set-face-underline'.
 +      * calc/calc.el (math-format-date-cache): Declare.
 +
 +2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
 +
 +      * calc/calc-forms.el (math-julian-date-beginning)
 +      (math-julian-date-beginning-int): Implement [new date numbering].
 +
 +2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * descr-text.el (quail-find-key):
 +      * dired.el (desktop-file-name):
 +      * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
 +      * generic-x.el (comint-mode, comint-exec):
 +      * image-dired.el (widget-forward):
 +      * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
 +      (speedbar-change-expand-button-char)
 +      (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
 +      (speedbar-make-specialized-keymap, speedbar-make-tag-line):
 +      * printing.el (easy-menu-add-item, easy-menu-remove-item)
 +      (widget-field-action, widget-value-set):
 +      * speedbar.el (imenu--make-index-alist):
 +      * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
 +      (ring-length, ring-insert):
 +      * vcursor.el (compare-windows-skip-whitespace):
 +      * woman.el (dired-get-filename):
 +      Declare functions.
 +
 +      * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
 +
 +2012-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
 +
 +      * calc/calc.el (calc-gregorian-switch): New variable.
 +
 +      * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
 +      (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
 +      (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
 +      (math-leap-year-p): Add option to distinguish between Julian
 +      and Gregorian calendars.
 +      (math-day-number): Use `math-day-in-year' to do the computations.
 +      (math-absolute-from-dt): Rename from `math-absolute-from-date'.
 +      Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
 +      to do the computations.
 +      (math-date-to-dt): Use `math-date-to-julian-dt' and
 +      `math-date-to-gregorian-dt' to do the computations.
 +      (calcFunc-weekday, math-format-date-part): Use the new version of
 +      the DATE to determine the weekday.
 +      (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
 +      when necessary.
 +
 +2012-11-17  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
 +      Cygwin; otherwise use 'file:'.  (Bug#12914)
 +      (cygwin-convert-path-from-windows): Declare, to avoid
 +      byte-compiler warnings.
 +
 +2012-11-17  Andreas Politz  <politza@fh-trier.de>
 +
 +      * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
 +      (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
 +      prefix and negative numeric prefix args (Bug#12795).
 +
 +2012-11-17  Stephen Berman  <stephen.berman@gmx.net>
 +
 +      * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
 +      Don't signal an error with a score that is too low to add to the
 +      list of top scores. (Bug#12779)
 +
 +2012-11-17  Chong Yidong  <cyd@gnu.org>
 +
 +      * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
 +
 +      * filecache.el (file-cache-add-file): Handle relative file name in
 +      the argument (Bug#12694).
 +
 +2012-11-16  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
 +
 +      * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
 +
 +2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
 +
 +      * emacs-lisp/cl-lib.el: Set more meaningful version number.
 +
 +2012-11-16  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (enlarge-window, shrink-window): Don't mention return
 +      value in doc-string (Bug#12896).
 +      (window--display-buffer): Don't resize frames - it won't work
 +      with all window managers and defeat pop-up-frame-alist.
 +      (display-buffer-alist): In doc-string explain that CONDITION can
 +      be a function and which arguments are passed to it (Bug#12854).
 +      (display-buffer-assq-regexp): New argument ACTION.  Handle lambda
 +      expressions (Bug#12854).
 +      (display-buffer): Pass ACTION argument to
 +      display-buffer-assq-regexp.
 +
 +2012-11-16  Glenn Morris  <rgm@gnu.org>
 +
 +      * window.el (fit-frame-to-buffer-bottom-margin)
 +      (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
 +
 +      * faces.el (face-underline-p): Use face-attribute-specified-or.
 +
 +2012-11-16  Juanma Barranquero  <lekktu@gmail.com>
 +
 +      * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
 +
 +2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
 +
 +2012-11-16  Glenn Morris  <rgm@gnu.org>
 +
 +      * eshell/em-cmpl.el (eshell-pcomplete): New command.  (Bug#12838)
 +      (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
 +
 +      * faces.el (face-underline-p): Doc fix.  Handle :underline being
 +      things other than `t' (a string, a list).
 +      (face-inverse-video-p): Doc fix.
 +      (set-face-underline): Rename it back from set-face-underline-p.
 +      Doc fix.  Allow interactive input of values other than t.
 +      (read-face-attribute): Apply formatting to :underline,
 +      since like :box and :stipple it can take list values.
 +
 +      * term.el (ansi-term): Don't let C-x escape-char binding
 +      clobber the more standard C-c binding.  (Bug#12842)
 +
 +      * subr.el (set-temporary-overlay-map): Doc fix.
 +
 +2012-11-16  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (record-window-buffer)
 +      (display-buffer-record-window): When copying the markers to
 +      window-point preserve window-point-insertion-type. (Bug#12588)
 +
 +2012-11-16  Glenn Morris  <rgm@gnu.org>
 +
 +      * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
 +      * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
 +      Use new names for hooks rather than obsolete aliases.
 +
  2012-11-15  Daniel Colascione  <dancol@dancol.org>
  
        * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
index 64b87d9e436ad178e46f13ad468e335cab79bac6,3d5abc4df62a38396a194f5990376be8ff59f352..8a5b9f107aea496b87ece3c23d7720224846247f
@@@ -1339,6 -1339,6 +1339,7 @@@ Based on `comint-mode-map'."
                  "\\(?:\\w+\\s-+\\)*"  ;; optional intervening keywords
                  "\\(?:table\\|view\\|\\(?:package\\|type\\)\\(?:\\s-+body\\)?\\|proc\\(?:edure\\)?"
                  "\\|function\\|trigger\\|sequence\\|rule\\|default\\)\\s-+"
++                  "\\(?:if\\s-+not\\s-+exists\\s-+\\)?" ;; IF NOT EXISTS
                  "\\(\\w+\\)")
          1 'font-lock-function-name-face))