* image.c (gif_load): Check that subimages fit.
[bpt/emacs.git] / lisp / ChangeLog
index f18d856..5a2d5c9 100644 (file)
@@ -1,3 +1,361 @@
+2013-05-12  Leo Liu  <sdl.web@gmail.com>
+
+       * progmodes/octave.el (inferior-octave-startup): Store the value
+       of __octave_srcdir__ for octave-source-directories.
+       (inferior-octave-check-process): New function refactored out of
+       inferior-octave-send-list-and-digest.
+       (octave-source-directories)
+       (octave-find-definition-filename-function): New variables.
+       (octave-source-directories)
+       (octave-find-definition-default-filename): New functions.
+       (octave-find-definition): Improve to find functions implemented in C++.
+
+2013-05-12  Glenn Morris  <rgm@gnu.org>
+
+       * calendar/diary-lib.el (diary-outlook-format-1):
+       Don't include dayname in the output.  (Bug#14349)
+
+2013-05-11  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
+
+       * cus-dep.el (custom-make-dependencies): Only use safe local variables.
+       Treat cc-provide like provide.
+
+2013-05-11  Kevin Ryde  <user42@zip.com.au>
+
+       * cus-dep.el (custom-make-dependencies):
+       Use generated-autoload-load-name for the sake of files such
+       such cedet/semantic/bovine/c.el, where the base file name
+       is not in load-path.  (Bug#5277)
+
+2013-05-11  Glenn Morris  <rgm@gnu.org>
+
+       * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
+       Provide features.
+
+2013-05-11  Leo Liu  <sdl.web@gmail.com>
+
+       * progmodes/octave.el (octave-indent-comment): Improve.
+       (octave-eldoc-message-style, octave-eldoc-cache): New variables.
+       (octave-eldoc-function-signatures, octave-eldoc-function): New
+       functions.
+       (octave-mode, inferior-octave-mode): Add eldoc support.
+
+2013-05-11  Richard Stallman  <rms@gnu.org>
+
+       * epa.el (epa-decrypt-file): Take output file name as argument
+       and read it using `interactive'.
+
+2013-05-11  Leo Liu  <sdl.web@gmail.com>
+
+       * progmodes/octave.el (octave-beginning-of-line)
+       (octave-end-of-line): Check before using up-list because it jumps
+       out of more syntactic contructs since moving to smie.
+       (octave-indent-comment): New function.
+       (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
+       (octave-begin-keywords, octave-end-keywords)
+       (octave-reserved-words, octave-smie-bnf-table)
+       (octave-smie-rules): Add new keywords from Octave 3.6.4.
+
+2013-05-11  Glenn Morris  <rgm@gnu.org>
+
+       * faces.el (internal-face-x-get-resource):
+       * frame.el (ns-display-monitor-attributes-list):
+       * calc/calc-aent.el (math-to-radians-2): Fix declarations.
+
+       * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
+
+       * calc/calc-menu.el: Make it loadable in isolation.
+
+       * net/eudcb-bbdb.el: Make it loadable without bbdb.
+       (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
+       (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
+       (eudc-bbdb-query-internal): Require 'bbdb.
+
+       * lpr.el (lpr-headers-switches):
+       * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
+
+       * progmodes/sql.el (sql-login-params): Fix and improve :type.
+
+       * emulation/edt-mapper.el: In batch mode, error rather than hang.
+
+       * term.el (term-set-escape-char): Make it idempotent.
+
+2013-05-10  Leo Liu  <sdl.web@gmail.com>
+
+       * progmodes/octave.el (inferior-octave-completion-table): No
+       longer a function and all uses changed.  Use cache to speed up
+       completion due to bug#11906.
+       (octave-beginning-of-defun): Re-write to be more general.
+
+2013-05-10  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
+
+2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * comint.el (comint-redirect-send-command-to-process): Use :around
+       rather than :override for comint-redirect-filter.
+       (comint-redirect-filter): Add the corresponding `orig-filter' argument.
+       Call it instead of comint-redirect-original-filter-function (which
+       is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
+
+2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * frame.el (display-monitor-attributes-list): Add NS case.
+       (ns-display-monitor-attributes-list): Declare.
+
+2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
+
+       * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
+
+2013-05-09  Glenn Morris  <rgm@gnu.org>
+
+       * international/fontset.el (vertical-centering-font-regexp):
+       Set standard-value.
+
+       * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
+
+       * bookmark.el (bookmark-search-delay):
+       * cus-start.el (vertical-centering-font-regexp):
+       * ps-mule.el (ps-mule-font-info-database-default):
+       * ps-print.el (ps-default-fg, ps-default-bg):
+       * type-break.el (type-break-good-break-interval):
+       * whitespace.el (whitespace-indentation-regexp)
+       (whitespace-space-after-tab-regexp):
+       * emacs-lisp/testcover.el (testcover-1value-functions)
+       (testcover-noreturn-functions, testcover-progn-functions)
+       (testcover-prog1-functions):
+       * emulation/viper-init.el (viper-emacs-state-cursor-color):
+       * eshell/em-glob.el (eshell-glob-translate-alist):
+       * play/tetris.el (tetris-tty-colors):
+       * progmodes/cpp.el (cpp-face-default-list):
+       * progmodes/flymake.el (flymake-allowed-file-name-masks):
+       * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
+       (idlwave-help-browser-generic-args):
+       * progmodes/make-mode.el (makefile-special-targets-list):
+       * progmodes/python.el (python-shell-virtualenv-path):
+       * progmodes/verilog-mode.el (verilog-active-low-regexp)
+       (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
+       (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
+       (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
+       * textmodes/reftex-vars.el (reftex-format-label-function):
+       * textmodes/remember.el (remember-diary-file): Fix custom types.
+
+       * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
+       Add :version.
+
+2013-05-09  Leo Liu  <sdl.web@gmail.com>
+
+       * progmodes/octave.el (inferior-octave-completion-at-point):
+       Restore file completion.  (Bug#14300)
+       (inferior-octave-startup): Fix incorrect highlighting for the
+       first prompt.
+
+2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/ruby-mode.el: First cut at SMIE support.
+       (ruby-use-smie): New var.
+       (ruby-smie-grammar): New constant.
+       (ruby-smie--bosp, ruby-smie--implicit-semi-p)
+       (ruby-smie--forward-token, ruby-smie--backward-token)
+       (ruby-smie-rules): New functions.
+       (ruby-mode-variables): Setup SMIE if applicable.
+
+2013-05-08  Eli Zaretskii  <eliz@gnu.org>
+
+       * simple.el (line-move-visual): Signal beginning/end of buffer
+       only if vertical-motion moved less than it was requested.  Avoids
+       silly incorrect error messages when there are display strings with
+       multiple newlines at EOL.
+
+2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
+       * progmodes/prolog.el (prolog-underscore-wordchar-flag)
+       (prolog-char-quote-workaround):
+       * progmodes/cperl-mode.el (cperl-under-as-char):
+       * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
+        Mark as obsolete.
+        (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
+       their declaration.
+       (vhdl-mode-syntax-table-init): Remove.
+
+       * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on last change.
+
+       * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
+       syntax for "_".
+       (ld-script-font-lock-keywords):
+       Change regexps to use things like \_< and \_>.
+
+       * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
+       Change all regexps to use things like \_< and \_>.
+
+       * progmodes/autoconf.el (autoconf-definition-regexp)
+       (autoconf-font-lock-keywords, autoconf-current-defun-function):
+       Handle a _ with symbol syntax.
+       (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
+
+       * progmodes/ada-mode.el (ada-mode-abbrev-table): Consolidate declaration.
+       (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
+       the declaration.
+       (ada-create-syntax-table): Remove.
+       (ada-capitalize-word): Don't mess with the syntax of "_" since it
+       already has the right syntax nowadays.
+       (ada-goto-next-word): Don't change the syntax of "_".
+
+       * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
+       with-wrapper-hook.
+
+2013-05-08  Sam Steingold  <sds@gnu.org>
+
+       * thingatpt.el (thing-at-point): Accept optional second argument
+       NO-PROPERTIES to strip the text properties from the return value.
+       * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
+       to `thing-at-point' instead of stripping the properties ourselves.
+       Also, when `thing-at-point' fails to find a url, prepend "http://"
+       to the filename at point on the assumption that the user is
+       pointing at something like gnu.org/gnu.
+
+2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
+
+       * emacs-lisp/bytecomp.el (byte-compile-insert-header):
+       * faces.el (crm-separator):
+       Silence byte-compiler.
+
+       * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
+       (tool-bar-map): Remove unneeded defvars.
+
+2013-05-08  Leo Liu  <sdl.web@gmail.com>
+
+       Re-work a fix for bug#10994 based on Le Wang's patch.
+       * ido.el (ido-remove-consecutive-dups): New helper.
+       (ido-completing-read): Use it.
+       (ido-chop): Revert fix for bug#10994.
+
+2013-05-08  Adam Spiers  <emacs@adamspiers.org>
+
+       * cus-edit.el (custom-save-variables):
+       Pretty-print long values.  (Bug#14187)
+
+2013-05-08  Glenn Morris  <rgm@gnu.org>
+
+       * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
+       (m4-mode-syntax-table): Init in the defvar.
+       (m4-mode-abbrev-table): Let define-derived-mode define it.
+
+2013-05-08  Tom Tromey  <tromey@redhat.com>
+
+       * progmodes/m4-mode.el (m4-mode-syntax-table):
+       Do not treat "_" as word constituent.  (Bug#14167)
+
+2013-05-07  Glenn Morris  <rgm@gnu.org>
+
+       * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
+       Remove explicit eshell-isearch-cancel-map.
+
+       * progmodes/f90.el (f90-smart-end-names): New option.
+       (f90-smart-end): Doc fix.
+       (f90-end-block-optional-name): New constant.
+       (f90-block-match): Respect f90-smart-end-names.
+
+2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/octave.el (octave-smie-forward-token): Be more careful
+       about implicit semi-colons (bug#14218).
+
+2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * frame.el (display-monitor-attributes-list)
+       (frame-monitor-attributes): New functions.
+
+2013-05-06  Leo Liu  <sdl.web@gmail.com>
+
+       * progmodes/octave.el (octave-syntax-propertize-function): Change
+       \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
+       (octave-font-lock-keywords): Use octave-operator-regexp.
+       (octave-completion-at-point): Renamed from
+       octave-completion-at-point-function.
+       (inferior-octave-directory-tracker): Robustify.
+       (octave-text-functions): Remove and fix its uses.  No such things
+       any more.
+
+2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/trace.el (trace--display-buffer): New function.
+       (trace-make-advice): Use it.
+
+2013-05-06  Juri Linkov  <juri@jurta.org>
+
+       * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
+       (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
+       Doc fix.
+       (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
+       in the help string.  (Bug#12985)
+
+2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
+
+       * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
+
+2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/perl-mode.el: Add support for here documents.
+       (perl-syntax-propertize-function): Match here-doc markers.
+       (perl-syntax-propertize-special-constructs): Find their end.
+       (perl-imenu-generic-expression): Use [:alnum:].
+
+       * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
+       (advice--add-function): Refresh the advice if already present
+       (bug#14317).
+
+2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
+
+       * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
+
+2013-05-06  Glenn Morris  <rgm@gnu.org>
+
+       * w32-fns.el (w32-charset-info-alist): Declare.
+
+       * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
+       of its defcustom properties.
+       (eshell-cmpl-initialize): No need to load pcomplete.
+
+       * generic-x.el: No need to require comint when compiling.
+
+       * net/eudc-export.el: Make it loadable without bbdb.
+       (top-level): Use require rather than load-library.
+       (eudc-create-bbdb-record, eudc-bbdbify-phone)
+       (eudc-batch-export-records-to-bbdb)
+       (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
+       Require bbdb.
+
+2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
+       (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
+       some tweaks, instead.
+
+2013-05-05  Leo Liu  <sdl.web@gmail.com>
+
+       * progmodes/octave.el (octave-font-lock-keywords)
+       (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
+       (inferior-octave-send-list-and-digest): Improve error message.
+       (octave-mode, inferior-octave-mode): Use setq-local.
+       (octave-help): Set info-lookup-mode.
+
+2013-05-05  Richard Stallman  <rms@gnu.org>
+
+       * vc/compare-w.el (compare-windows-whitespace):
+       Treat no-break space as whitespace.
+
+       * mail/rmailsum.el (rmail-summary-rmail-update):
+       Detect empty summary and don't change selected message.
+       (rmail-summary-goto-msg): Likewise.
+
+       * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
+       Doc fixes, rename args.
+
 2013-05-05  Alan Mackenzie  <acm@muc.de>
 
        * progmodes/cc-defs.el (c-version): Increment to 5.32.5.