]> 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 --combined 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://"
 -      prefix instead of "file:" so that when FILE-NAME begins with "//"
 -      (as it does when the target file is on a network share),
 -      url-handler isn't confused.
 +      prefix instead of "file:" so that when FILE-NAME begins with "//",
 +      as it does when the target file is on a network share, url-handler
 +      isn't confused.
 +
 +2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
 +      a preactivated advice from an old advice.el; they're not compatible!
 +
 +2012-11-15  Katsumi Yamaoka  <yamaoka@jpl.org>
 +
 +      * emacs-lisp/nadvice.el (advice--make-interactive-form):
 +      Fix string-spec case.
 +
 +      * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
 +
 +2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
 +      (advice--buffer-local-function-sample): New var.
 +      (advice--set-buffer-local, advice--buffer-local): New functions.
 +      (add-function, remove-function): Use them.
 +
 +2012-11-15  Drew Adams  <drew.adams@oracle.com>
 +
 +      * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
 +
 +2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
 +      potential binding of print-gensym to t, and prettify (back)quotes in
 +      case they appear in args's default values (bug#12884).
 +
 +2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/nadvice.el: Add around advice for interactive specs.
 +      (advice-eval-interactive-spec): New function.
 +      (advice--make-interactive-form): Support around advice (bug#12844).
 +
 +2012-11-14  Dmitry Gutov  <dgutov@yandex.ru>
 +
 +      * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
 +      more strict.  Add docstring.
 +      (ruby-expression-expansion-re): Extract from
 +      `ruby-match-expression-expansion'.
 +      (ruby-syntax-propertize-function): After everything else, search
 +      for expansions in string literals, mark their insides as
 +      whitespace syntax and save match data for font-lock.
 +      (ruby-font-lock-keywords): Use the 2nd group from expression
 +      expansion matches.
 +      (ruby-match-expression-expansion): Use the match data saved to the
 +      text property in ruby-syntax-propertize-function.
 +
 +2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
 +      (bug#12879).
 +
 +2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
 +
 +      * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
 +      start/end keyword a bit harder.  Works with different values of N.
 +      Add more comments.
 +      (ruby-end-of-block): Update accordingly.
 +
 +2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * woman.el (woman-file-name): Don't mess with unread-command-events
 +      (bug#12861).
 +
 +      * emacs-lisp/advice.el: Layer on top of nadvice.el.
 +      Remove out of date self-require hack.
 +      (ad-do-advised-functions): Use simple `dolist'.
 +      (ad-advice-name, ad-advice-protected, ad-advice-enabled)
 +      (ad-advice-definition): Redefine as functions.
 +      (ad-advice-classes): Move before first use.
 +      (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
 +      (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
 +      (ad--defalias-fset): Remove functions.
 +      (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
 +      (ad-get-orig-definition): Rewrite.
 +      (ad-make-advised-definition-docstring): Change base docstring.
 +      (ad-real-orig-definition): Rewrite.
 +      (ad-map-arglists): Change name of called function.
 +      (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
 +      (ad-make-advised-definition): Simplify.
 +      (ad-assemble-advised-definition): Tweak for new calling context.
 +      (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
 +      (ad--defalias-fset): Rename from ad-handle-definition.  Make it set the
 +      function and call ad-activate if needed.
 +      (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
 +      (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
 +      (ad-compile-function): Compile ad-Advice-*.
 +      (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
 +      (ad-start-advice, ad-stop-advice): Remove.
 +
 +2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
 +
 +      * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
 +      period before class method names, not after.  Remove handling of
 +      one impossible case.  Add comments.
 +
 +2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/advice.el: Remove support for freezing.
 +      (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
 +      (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
 +      Remove support for `freeze'.
 +
 +      * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
 +      override the default.
 +      * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
 +      cl--dotimes/dolist.
 +      * subr.el (dolist, dotimes, declare): Redefine them normally, even when
 +      `cl' is loaded.
 +
 +      * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
 +      from add-advice.
 +      (advice--strip-macro): New function.
 +      (advice--defalias-fset): Use them to handle macros.
 +      (advice-add): Use them.
 +      (advice-member-p): Correctly handle macros.
 +
 +2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
 +
 +      * progmodes/ruby-mode.el (ruby-font-lock-keywords):
 +      Never font-lock the beginning of singleton class as heredoc.
 +
 +2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
 +
 +2012-11-13  Wolfgang Jenkner  <wjenkner@inode.at>
 +
 +      * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
 +      39 and 49 (bug#12792).  Also, treat unimplemented parameters as 0,
 +      thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
 +
 +2012-11-13  Fabián Ezequiel Gallina  <fgallina@cuca>
 +
 +      Fix end-of-defun misbehavior.
 +      * progmodes/python.el (python-nav-beginning-of-defun): Rename from
 +      python-beginning-of-defun-function.  Handle nested defuns
 +      correctly.
 +      (python-nav-end-of-defun): Rename from
 +      python-end-of-defun-function.  Ensure forward movement.
 +      (python-info-current-defun): Reimplement to work as intended
 +      with new fixed python-nav-{end,beginning}-of-defun.  Stop scanning
 +      parent defuns as soon as possible.
 +
 +2012-11-13  Glenn Morris  <rgm@gnu.org>
 +
 +      * progmodes/flymake.el (flymake-error-bitmap)
 +      (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
 +      (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
 +
 +2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
 +
 +      * progmodes/ruby-mode.el (ruby-move-to-block): When moving
 +      backward, always stop at indentation.  Reverts the change from
 +      2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
 +
 +2012-11-13  Glenn Morris  <rgm@gnu.org>
 +
 +      * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
 +      Add ibuffer-filter-by-derived-mode.
 +
 +      * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
 +      the same name shadowing each other.
 +
 +      * window.el (with-temp-buffer-window): Doc tweak.
 +
 +      * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
 +
 +      * help.el (temp-buffer-max-height):
 +      * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
 +      * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
 +
 +2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/nadvice.el: New package.
 +      * subr.el (special-form-p): New function.
 +      * emacs-lisp/elp.el: Use lexical-binding and advice-add.
 +      (elp-all-instrumented-list): Remove var.
 +      (elp-not-profilable): Remove elp-wrapper.
 +      (elp-profilable-p): Use autoloadp and special-form-p.
 +      (elp--advice-name): New const.
 +      (elp-instrument-function): Use advice-add.
 +      (elp--instrumented-p): New predicate.
 +      (elp-restore-function): Use advice-remove.
 +      (elp-restore-all, elp-reset-all): Use mapatoms.
 +      (elp-set-master): Use elp--instrumented-p.
 +      (elp--make-wrapper): Rename from elp-wrapper, return a function
 +      suitable for advice-add.  Use cl-inf.
 +      (elp-results): Use mapatoms+elp--instrumented-p.
 +      * emacs-lisp/debug.el: Use lexical-binding and advice-add.
 +      (debug-function-list): Remove var.
 +      (debug): Rename arg, and then let-bind it explicitly inside.
 +      (debugger-setup-buffer): Rename arg.
 +      (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
 +      (debugger-frame-number): Adjust to new debug-on-entry setup.
 +      (debug--implement-debug-on-entry): Rename from
 +      implement-debug-on-entry, add argument.
 +      (debugger-special-form-p): Remove, use special-form-p instead.
 +      (debug-on-entry): Use advice-add.
 +      (debug--function-list): New function.
 +      (cancel-debug-on-entry): Use it, along with advice-remove.
 +      (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
 +      (debugger-list-functions): Use debug--function-list instead of
 +      debug-function-list.
 +      * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
 +      (ad-special-form-p): Remove, use special-form-p instead.
 +      (ad-set-advice-info): Use add-function and remove-function.
 +      (ad--defalias-fset): Adjust accordingly.
 +
 +2012-11-10  Glenn Morris  <rgm@gnu.org>
 +
 +      * mail/emacsbug.el (report-emacs-bug-tracker-url)
 +      (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
 +      (report-emacs-bug-create-existing-bugs-buffer)
 +      (report-emacs-bug-parse-query-results)
 +      (report-emacs-bug-query-existing-bugs): Remove.  (Bug#7449)
 +
 +      * term.el (term-default-fg-color, term-default-bg-color):
 +      Make obsolete, rather than just saying "deprecated" in the doc.
 +
 +      * term.el (term): Rename from `term-face'.
 +      (term-current-face, ansi-term-color-vector)
 +      (term-default-fg-color, term-default-bg-color, term-ansi-reset):
 +      Update all users.
 +
 +2012-11-10  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * server.el (server-create-window-system-frame): Handle Nextstep
 +      specially (Bug#12780).
 +
 +2012-11-10  Glenn Morris  <rgm@gnu.org>
 +
 +      * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
 +      Unautoload, and make obsolete.  (Bug#7449)
 +
 +2012-11-10  Chong Yidong  <cyd@gnu.org>
 +
 +      * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
 +      rename from diff-remove-trailing-whitespace (Bug#12831).
 +
 +2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
 +      miscompilation of trace.el.
 +
 +2012-11-10  Glenn Morris  <rgm@gnu.org>
 +
 +      * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
 +
 +2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
 +      (bug#12812).
 +
 +2012-11-10  Chong Yidong  <cyd@gnu.org>
 +
 +      * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
 +      a defcustom with an appropriate :set function.
 +      (minibuffer-default--in-prompt-regexps): New function.
 +
 +2012-11-10  Glenn Morris  <rgm@gnu.org>
 +
 +      * emacs-lisp/cl.el (define-setf-expander, defsetf)
 +      (define-modify-macro): Doc fixes.
 +
 +      * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
 +      (gv-define-simple-setter): Update doc of `fix-return'.
 +
 +2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
 +      twice when `fix-return' is set (bug#12813).
 +
 +      * emacs-lisp/cl.el (defsetf): Pass the third arg to
 +      gv-define-simple-setter (bug#12812).
 +
 +      * woman.el (woman-decode-region): Disable adaptive-fill when rendering
 +      (bug#12756).
 +
 +2012-11-10  Glenn Morris  <rgm@gnu.org>
 +
 +      * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
 +
 +      * emacs-lisp/cl-extra.el (cl-prettyexpand):
 +      * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
 +      * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
 +      (cl-the, cl-compiler-macroexpand): Add basic doc strings.
 +
 +      * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
 +
 +2012-11-10  Leo Liu  <sdl.web@gmail.com>
 +
 +      * ido.el (ido-set-matches-1): Improve flex matching performance by
 +      removing backtracking in the regexp (suggested by Stefan).  (Bug#12796)
 +
 +2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
 +      (ad--defalias-fset): New function.
 +      (ad-safe-fset): Remove.
 +      (ad-make-freeze-definition): Use cl-letf*.
 +
 +2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * subr.el (dolist): Don't bind VAR in RESULT.
 +
 +      * emacs-lisp/advice.el: Miscellaneous cleanup.  Use lexical-binding.
 +      (fset, documentation): Don't save real def since we don't advise.
 +      (ad-do-advised-functions): Remove problematic `result-form'.
 +      (ad-safe-fset): `ad-real-fset' => `fset'.
 +      (ad-read-advised-function): Don't assume that ad-do-advised-functions
 +      uses CL's dolist internally.
 +      (ad-arglist): Remove unused arg `name'.
 +      (ad-docstring, ad-make-advised-docstring):
 +      `ad-real-documentation' => `documentation'.
 +      (warning-suppress-types): Declare.
 +      (ad-set-arguments): Simple CSE.
 +      (ad-recover-normality): Sanity check.
 +
 +      * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
 +      (funcall '(lambda ..) ..) into ((lambda ..) ..).
 +
 +2012-11-09  Vincent Belaïche  <vincentb1@users.sourceforge.net>
 +
 +      * ses.el: symbol to coordinate mapping is made by symbol property
 +      `ses-cell'.  This means that the same mapping is done for all SES
 +      sheets.  That is good enough for cells with standard A1 names, but
 +      not for named cell.  So a hash map is added for the latter.
 +      (defconst ses-localvars): Add local variable ses--named-cell-hashmap
 +      (ses-sym-rowcol): Use hashmap for named cell.
 +      (ses-is-cell-sym-p): New defun.
 +      (ses-decode-cell-symbol): New defun.
 +      (ses-create-cell-variable): Add cell to hashmap when name is not
 +      A1-like.
 +      (ses-rename-cell): Check that cell new name is not already in
 +      spreadsheet with the use of ses-is-cell-sym-p
 +      (ses-rename-cell): Use hash map for named cells, but accept also
 +      renaming back to A1-like.
 +
 +2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * 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.
 +      * progmodes/sql.el (sql--make-help-docstring): New function, extracted
 +      from sql-help.
 +      (sql-help): Use it with dynamic-docstring-function.
 +
 +      * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
 +
 +2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * files.el (hack-one-local-variable--obsolete): New function.
 +      (hack-one-local-variable): Use it for obsolete settings.
 +
 +      * subr.el (locate-user-emacs-file): If both old and new name exist, use
 +      the new name.
 +
 +      * progmodes/js.el (js--filling-paragraph): New var.
 +      (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
 +      (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
 +      less sneaky.
 +
 +2012-11-08  Julien Danjou  <julien@danjou.info>
 +
 +      * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
 +      `auto-mode-alist' (Bug#12835).
 +
 +2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
 +      (perl--prettify-symbols-alist): New const.
 +      (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
 +      New functions.
 +      (perl-font-lock-keywords-2): Use them.
 +      (perl-electric-noindent-p): New function.
 +      (perl-mode): Use it to set up electric-indent-mode.
 +      (perl-electric-terminator, perl-indent-command): Mark obsolete.
 +      (perl-mode-map): Remove bindings for them.
 +      (perl-imenu-generic-expression, perl-outline-level):
 +      Match functions&packages in column>0.
 +
 +      * env.el (env--substitute-vars-regexp): New const.
 +      (substitute-env-vars): Use it.  Add `only-defined' arg.
 +      * net/tramp.el (tramp-replace-environment-variables): Use it.
 +
 +      * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
 +      Byte-compile *before* eval in eval-and-compile.
 +      (byte-compile-log-warning): Remove redundant inhibit-read-only.
 +      (byte-compile-file-form-autoload): Don't hide actual definition.
 +      (byte-compile-maybe-guarded): Accept `functionp' as well.
 +
 +      * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
 +
 +2012-11-07  Michael Albinus  <michael.albinus@gmx.de>
 +
 +      * notifications.el (notifications-get-server-information-method):
 +      New defconst.
 +      (notifications-get-capabilities): Fix docstring.
 +      (notifications-get-server-information): New defun.
 +
 +2012-11-06  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
 +
 +      * textmodes/ispell.el (ispell-region): Standard re-indent for better
 +      readability.
 +
 +      * textmodes/ispell.el: Experimental support for support debugging.
 +      (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
 +      buffer for ispell.
 +      (ispell-print-if-debug): New function to print stuff to
 +      `ispell-debug-buffer' if debugging is enabled.
 +      (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
 +      show some debugging info.
 +      (ispell-buffer-with-debug): New function that creates a debugging
 +      buffer and calls `ispell-buffer' with debugging enabled.
 +
 +      * textmodes/ispell.el (ispell-region): Do not prefix sent string by
 +      comment in autoconf mode. (Bug#12768)
 +
 +2012-11-06  Dmitry Antipov  <dmantipov@yandex.ru>
 +
 +      * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
 +      frame-first-window, frame-root-window, frame-selected-window,
 +      minibuffer-selected-window, minibuffer-window,
 +      window-absolute-pixel-edges, window-at, window-body-height,
 +      window-body-width, window-display-table, window-combination-limit,
 +      window-frame, window-fringes, window-inside-absolute-pixel-edges,
 +      window-inside-edges, window-inside-pixel-edges, window-left-child,
 +      window-left-column, window-margins, window-next-buffers,
 +      window-next-sibling, window-new-normal, window-new-total,
 +      window-normal-size, window-parameter, window-parameters, window-parent,
 +      window-pixel-edges, window-point, window-prev-buffers,
 +      window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
 +      window-start, window-text-height, window-top-child, window-top-line,
 +      window-total-height, window-total-width and window-use-time to the list
 +      of functions without side-effects.
 +      (toplevel): Add window-valid-p to the list of error-free functions
 +      without side-effects.
 +
 +2012-11-05  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
 +
 +      * textmodes/ispell.el (ispell-program-name):
 +      Update spellchecker parameters when customized.
 +
 +2012-11-04  Glenn Morris  <rgm@gnu.org>
 +
 +      * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn.  (Bug#7850)
 +
 +2012-11-04  Chong Yidong  <cyd@gnu.org>
 +
 +      * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
 +      same-window-* variables.
 +
 +2012-11-04  Juri Linkov  <juri@jurta.org>
 +
 +      * isearch.el (isearch-help-for-help, isearch-describe-bindings)
 +      (isearch-describe-key, isearch-describe-mode): Use a display
 +      action instead of binding same-window-* variables (Bug#10040).
 +
 +2012-11-03  Glenn Morris  <rgm@gnu.org>
 +
 +      * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
 +      Rename handler properties back from cl-- to cl-.  (Bug#12788)
 +
 +      * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
 +
 +2012-11-03  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * term/pc-win.el: Don't load term/internal from here.
 +
 +      * loadup.el: Load term/internal from here.
 +
 +2012-11-03  Fabián Ezequiel Gallina  <fgallina@cuca>
 +
 +      * progmodes/python.el (inferior-python-mode): Fix hang in
 +      jit-lock (Bug#12645).
 +
 +2012-11-03  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (switch-to-visible-buffer)
 +      (switch-to-buffer-preserve-window-point): Fix doc-strings.
 +
 +2012-11-03  Glenn Morris  <rgm@gnu.org>
 +
 +      * emacs-lisp/cl-lib.el (cl--random-time):
 +      Rename from cl-random-time.  (Bug#12773)
 +      (cl--gensym-counter, cl--random-state): Update callers.
 +      * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
 +
 +2012-11-03  Chong Yidong  <cyd@gnu.org>
 +
 +      * cus-start.el: Make cursor-type customizable (Bug#11633).
 +
 +2012-11-02  Glenn Morris  <rgm@gnu.org>
 +
 +      * filecache.el: No need to load find-lisp when compiling.
 +      (find-lisp-find-files): Autoload it.
 +      (file-cache-add-directory-recursively): Don't require find-lisp.
 +
 +      * image.el (image-type-from-file-name): Trivial simplification.
 +
 +      * emacs-lisp/bytecomp.el (byte-compile-eval):
 +      Decouple "noruntime" and "cl-functions" warnings.
 +
 +2012-11-01  Stephen Berman  <stephen.berman@gmx.net>
 +
 +      * play/gomoku.el (gomoku-display-statistics): Update mode line
 +      only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
 +
 +2012-10-31  Martin Rudalics  <rudalics@gmx.at>
 +
 +      * window.el (quit-restore-window): If the window has been
 +      created on an existing frame and ended up as the sole window on
 +      that frame, do not delete it (Bug#12764).
 +
 +2012-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * progmodes/sh-script.el (sh--inside-noncommand-expression):
 +      Rename from sh--inside-arithmetic-expression, handle more cases
 +      (bug#11263).
 +
 +      * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
 +      (sh-font-lock-open-heredoc): Use it (bug#12770).
  
  2012-10-30  Glenn Morris  <rgm@gnu.org>
  
  2012-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
  
        * minibuffer.el (minibuffer-force-complete): Make the next completion use
 -      the same completion-field (bug@12221).
 +      the same completion-field (bug#12221).
  
  2012-10-19  Martin Rudalics  <rudalics@gmx.at>
  
diff --combined lisp/progmodes/sql.el
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))
  
@@@ -2802,12 -2802,8 +2803,12 @@@ each line with INDENT.
      doc))
  
  ;;;###autoload
 -(defun sql-help ()
 -  "Show short help for the SQL modes.
 +(eval
 + ;; FIXME: This dynamic-docstring-function trick doesn't work for byte-compiled
 + ;; functions, because of the lazy-loading of docstrings, which strips away
 + ;; text properties.
 + '(defun sql-help ()
 +  #("Show short help for the SQL modes.
  
  Use an entry function to open an interactive SQL buffer.  This buffer is
  usually named `*SQL*'.  The name of the major mode is SQLi.
@@@ -2838,23 -2834,32 +2839,23 @@@ anything.  The name of the major mode i
  In this SQL buffer (SQL mode), you can send the region or the entire
  buffer to the interactive SQL buffer (SQLi mode).  The results are
  appended to the SQLi buffer without disturbing your SQL buffer."
 +    0 1 (dynamic-docstring-function sql--make-help-docstring))
    (interactive)
 +  (describe-function 'sql-help)))
  
 -  ;; Insert references to loaded products into the help buffer string
 -  (let ((doc (documentation 'sql-help t))
 -      changedp)
 -    (setq changedp nil)
 -
 -    ;; Insert FREE software list
 -    (when (string-match "^\\(\\s-*\\)[\\\\][\\\\]FREE\\s-*\n" doc 0)
 -      (setq doc (replace-match (sql-help-list-products (match-string 1 doc) t)
 -                             t t doc 0)
 -          changedp t))
 -
 -    ;; Insert non-FREE software list
 -    (when (string-match "^\\(\\s-*\\)[\\\\][\\\\]NONFREE\\s-*\n" doc 0)
 -      (setq doc (replace-match (sql-help-list-products (match-string 1 doc) nil)
 -                             t t doc 0)
 -          changedp t))
 -
 -    ;; If we changed the help text, save the change so that the help
 -    ;; sub-system will see it
 -    (when changedp
 -      (put 'sql-help 'function-documentation doc)))
 -
 -  ;; Call help on this function
 -  (describe-function 'sql-help))
 +(defun sql--make-help-docstring (doc _fun)
 +  "Insert references to loaded products into the help buffer string."
 +
 +  ;; Insert FREE software list
 +  (when (string-match "^\\(\\s-*\\)[\\\\][\\\\]FREE\\s-*\n" doc 0)
 +    (setq doc (replace-match (sql-help-list-products (match-string 1 doc) t)
 +                             t t doc 0)))
 +
 +  ;; Insert non-FREE software list
 +  (when (string-match "^\\(\\s-*\\)[\\\\][\\\\]NONFREE\\s-*\n" doc 0)
 +    (setq doc (replace-match (sql-help-list-products (match-string 1 doc) nil)
 +                             t t doc 0)))
 +  doc)
  
  (defun sql-read-passwd (prompt &optional default)
    "Read a password using PROMPT.  Optional DEFAULT is password to start with."