More documentation fixes for changes to defun, defmacro, etc.
[bpt/emacs.git] / lisp / ChangeLog
index 6235f9f..96f859e 100644 (file)
@@ -1,3 +1,403 @@
+2012-10-15  Chong Yidong  <cyd@gnu.org>
+
+       * emacs-lisp/byte-run.el (defsubst): Doc fix.
+
+2012-10-14  Eli Zaretskii  <eliz@gnu.org>
+
+       * window.el (display-buffer): Doc fix.
+
+       * progmodes/compile.el (compilation-error-regexp-alist-alist):
+       Adjust the msft regexp to the output of Studio 2010, and move msft
+       before edg-1.  See the discussion on emacs-devel,
+       http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
+       for the details.
+
+2012-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
+       (oset): Move uses of object-class-fast macro after its definition.
+
+       * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
+
+2012-10-13  Chong Yidong  <cyd@gnu.org>
+
+       * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
+       enabled, re-enable it (Bug#11963).
+
+2012-10-13  Martin Rudalics  <rudalics@gmx.at>
+
+       * emacs-lisp/debug.el (debug): When debugger-will-be-back is
+       non-nil, restore window configuration (Bug#12623).
+
+2012-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * help-fns.el (describe-variable, describe-function-1):
+       * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
+
+       * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
+
+2012-10-12  Glenn Morris  <rgm@gnu.org>
+
+       * mail/rmailsum.el (rmail-header-summary):
+       Fix 2010-11-26 test for multiline Subject: field.  (Bug#12625)
+
+2012-10-12  Fabián Ezequiel Gallina  <fgallina@cuca>
+
+       * progmodes/python.el (python-mode-map):
+       Replace subtitute-key-definition with proper command remapping.
+       (python-nav--up-list): Fix behavior for blocks on the same level.
+
+2012-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
+
+       * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
+       changes to the format of load-history.
+
+       * international/mule-cmds.el (read-char-by-name): Move let-binding of
+       completion-ignore-case in case that var is buffer-local (bug#12615).
+
+2012-10-11  Kenichi Handa  <handa@gnu.org>
+
+       * international/eucjp-ms.el: Re-generated.
+
+2012-10-10  Kenichi Handa  <handa@gnu.org>
+
+       * select.el (xselect--encode-string): If a coding is specified for
+       selection, and that is compatible with COMPOUND_TEXT, use it.
+
+2012-10-10  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (switch-to-buffer-preserve-window-point): New option.
+       (switch-to-buffer):
+       Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
+
+2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
+       Don't document nil as a useful value (bug#12583).
+
+2012-10-09  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-debug-message):
+       Remove "tramp-with-progress-reporter" from regexp of ignored functions.
+       (with-tramp-progress-reporter): Rename from
+       `tramp-with-progress-reporter'.
+       (with-tramp-file-property, with-tramp-connection-property):
+       Move from tramp-cache.el, rename from `with-file-property' and
+       `with-connection-property', respectively.
+
+       * net/tramp-cache.el: Remove `with-file-property' and
+       `with-connection-property'.
+
+       * net/tramp.el:
+       * net/tramp-gvfs.el:
+       * net/tramp-sh.el:
+       * net/tramp-smb.el: Adapt callees.
+
+       * net/trampver.el: Update release number.
+
+2012-10-09  Glenn Morris  <rgm@gnu.org>
+
+       * w32-fns.el (set-message-beep):
+       * term/w32-win.el (set-message-beep): Update declarations.
+
+2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
+       (mode-line-widen, mode-line-input-method-map)
+       (mode-line-coding-system-map, mode-line-remote)
+       (mode-line-unbury-buffer, mode-line-bury-buffer)
+       (mode-line-next-buffer, mode-line-previous-buffer):
+       Replace save-selected-window+select-window => with-selected-window.
+
+       * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
+       * progmodes/cc-vars.el (bq-process): Remove, unused.
+
+       * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
+
+2012-10-09  Fabián Ezequiel Gallina  <fgallina@cuca>
+
+       Implemented `backward-up-list'-like navigation.
+       * progmodes/python.el (python-nav-up-list)
+       (python-nav-backward-up-list): New functions.
+       (python-mode-map): Define substitute key for backward-up-list to
+       python-nav-backward-up-list.
+
+2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
+
+       * progmodes/python.el (python-fill-paragraph): Rename from
+       python-fill-paragraph-function.  Fixed fill-paragraph for
+       decorators (Bug#12605).
+
+2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
+
+       * progmodes/python.el (python-shell-output-filter): Handle extra
+       carriage return in OSX (Bug#12409).
+
+2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
+
+       Fix shell handling of unbalanced quotes and parens in output.
+       * progmodes/python.el (python-rx-constituents): Add string-delimiter.
+       (python-syntax-propertize-function): Use it.
+       (python-shell-output-syntax-table): New var.
+       (inferior-python-mode): Prevent unbalanced parens/quotes from
+       previous output mess with current input context.
+
+2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
+
+       * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
+       Make obsolete aliases of js-mode and js-mode-hook (from js.el).
+
+2012-10-08  Michael Albinus  <michael.albinus@gmx.de>
+
+       * ffap.el (ffap-replace-file-component): Support Tramp file name
+       syntax, not only ange-ftp's one.
+
+2012-10-08  Glenn Morris  <rgm@gnu.org>
+
+       * cus-start.el (message-log-max): Set :version.
+
+       * calendar/calendar.el (calendar-intermonth-header): Doc fix.
+
+2012-10-08  Martin Rudalics  <rudalics@gmx.at>
+
+       * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
+       the minibuffer window (Bug#10851).
+
+2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
+
+       Enhancements on forward-sexp movement.
+       * progmodes/python.el (python-nav-beginning-of-statement)
+       (python-nav-end-of-statement): Return point-marker.
+       (python-nav-forward-sexp): lisp-like forward-sexp behavior.
+       (python-info-current-symbol)
+       (python-info-statement-starts-block-p): Rename from
+       python-info-beginning-of-block-p.
+       (python-info-statement-ends-block-p): Rename from
+       python-info-end-of-block-p.
+       (python-info-beginning-of-statement-p)
+       (python-info-end-of-statement-p)
+       (python-info-beginning-of-block-p, python-info-end-of-block-p):
+       New functions.
+
+2012-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * comint.el (comint-preinput-scroll-to-bottom): Preserve the
+       frame-selected-windows.
+
+2012-10-08  Daniel Colascione  <dancol@dancol.org>
+
+       * battery.el (battery-status-function): Check for
+       w32-battery-status itself, not system-time windows-nt.
+
+       * frame.el: Require cl-lib.
+       (display-format-alist): New variable mapping frame types to
+       functions that initialize them.
+       (window-system-for-display): New function: interprets
+       display-format-alist.
+       (make-frame-on-display): Remove existing display-selection logic
+       and just forward to make-frame, which will now DTRT.
+       (make-frame): Restructure to use window-system-for-display to
+       figure out how to create a frame on a given display.
+       (display-mouse-p): Look for frame-type w32, not a particular
+       system-type.
+
+       * loadup.el: Load w32 lisp code when we have the w32 feature.
+
+       * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
+       system-type windows-nt.
+
+       * server.el (server-create-window-system-frame): Look for window
+       type.
+       (server-proces-filter): Only force a window system when windows-nt
+       _and_ w32.  Explain why.
+
+       * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
+       of window systems we configure for the mode.
+
+       * startup.el (command-line): Mark window system is initialized
+       after we've done it.
+
+       * common-win.el (x-select-text): Look for w32, not windows-nt.
+
+       * ns-win.el: Require cl-lib.  Add ourselves to
+       display-format-alist.
+       (ns-initialize-window-system): Assert we're not initialized twice.
+
+       * w32-win.el: Enable lexical binding; require cl-lib; add
+       ourselves to display-format-alist.
+       (w32-handle-dropped-file): Convert incoming dropped files from
+       Windows paths to Cygwin ones before passing them on to the rest of
+       Emacs.
+       (w32-drag-n-drop): New paramter new-frame.  Simplify logic.
+       (w32-initialize-window-system): Assert we're not initialized twice.
+
+       * x-win.el: Require cl-lib; add ourselves to display-format-alist.
+       (x-initialize-window-system): Assert we're not initialized twice.
+
+       * w32-common-fns.el: New File.
+       (w32-version, w32-using-nt, w32-get-clipboard-data)
+       (w32-set-clipboard-data, x-set-selection, x-get-selection)
+       (w32-charset-info-alist, x-last-selected, text)
+       (x-get-selection-value, x-selection-value): Move here.
+
+       * w32-fns.el: Require w32-common-fns.
+       (w32-version, w32-using-nt, w32-get-clipboard-data)
+       (w32-set-clipboard-data, x-set-selection, x-get-selection)
+       (w32-charset-info-alist, x-last-selected, text)
+       (x-get-selection-value, x-selection-value): Move to
+       w32-common-fns.
+
+       * w32-vars.el:
+       (w32-allow-system-shell, w32-system-shells): Define only in
+       non-cygwin case.
+
+2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
+       (read-passwd): Remove a few more potential sources of leaks.
+
+2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
+
+       * progmodes/python.el (inferior-python-mode)
+       (python-shell-make-comint): Fix initialization of local
+       variables copied from parent buffer.
+
+2012-10-07  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * term/ns-win.el (ns-read-file-name): Update declaration to match
+       nsfns.m.
+       (ns-respond-to-change-font): Change fontsize separatly so we are sure
+       it is set when font is acted upon.
+
+2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
+
+       Enhancements to indentation.
+       * progmodes/python.el (python-indent-context): Give priority to
+       inside-string context.  Make comments indentation markers.
+       (python-indent-region): Do not mess with strings, unless it's the
+       enclosing set of quotes.
+
+2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * window.el (internal--before-save-selected-window)
+       (internal--after-save-selected-window): New functions extracted from
+       save-selected-window.  Make sure we return the `alist' we construct.
+       (save-selected-window): Use them.
+
+       * textmodes/tex-mode.el (tex-recenter-output-buffer):
+       Use with-selected-window.
+
+       * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
+       forms that define macros (bug#12593).
+
+2012-10-07  Kenichi Handa  <handa@gnu.org>
+
+       * international/mule-conf.el (compound-text-with-extensions):
+       Add :mime-charset property as x-ctext.
+
+2012-10-07  Stefan Merten  <smerten@oekonux.de>
+
+       * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
+       (rst-indent-literal-normal, rst-indent-literal-minimized)
+       (rst-indent-comment): Correct :version tag.
+       (rst-official-cvs-rev): Correct version string.
+
+2012-10-07  Glenn Morris  <rgm@gnu.org>
+
+       * mail/rmailmm.el (rmail-mime-process-multipart):
+       Do not confuse a multipart message with an epilogue
+       with a "truncated" one; fixes 2011-06-27 change.  (Bug#10101)
+
+2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
+
+       Fix shell output retrieval and comint-prompt-regexp init.
+       * progmodes/python.el (inferior-python-mode):
+       (python-shell-make-comint): Fix initialization of
+       comint-prompt-regexp from copied file local variables.
+       (python-shell-fetched-lines): Remove var.
+       (python-shell-output-filter-in-progress): Rename from
+       python-shell-fetch-lines-in-progress.
+       (python-shell-output-filter-buffer): Rename from
+       python-shell-fetch-lines-string.
+       (python-shell-fetch-lines-filter): Delete function.
+       (python-shell-output-filter): New function.
+       (python-shell-send-string-no-output): Use them.
+
+2012-10-07  Glenn Morris  <rgm@gnu.org>
+
+       * hi-lock.el (hi-lock-process-phrase):
+       Try to make it less fragile.  (Bug#7161)
+
+       * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
+
+2012-10-06  Glenn Morris  <rgm@gnu.org>
+
+       * ehelp.el (electric-help-mode): Use help-mode rather than
+       non-existent mode `help'.
+       (electric-help-map): Use button-buffer-map.  (Bug#10917)
+
+       * textmodes/reftex-vars.el (reftex-create-bibtex-header)
+       (reftex-create-bibtex-footer): Fix custom types.
+
+       * progmodes/sh-script.el (sh-indent-after-continuation):
+       Add explicit :group.
+
+       * textmodes/rst.el (rst-preferred-decorations)
+       (rst-shift-basic-offset): Clarify obsolescence versions.
+
+       * profiler.el (profiler): Add missing group :version tag.
+       * avoid.el (mouse-avoidance-banish-position):
+       * proced.el (proced-renice-command):
+       * calc/calc.el (calc-ensure-consistent-units):
+       * calendar/icalendar.el (icalendar-import-format-uid):
+       * net/tramp.el (tramp-save-ad-hoc-proxies):
+       * progmodes/bug-reference.el (bug-reference-bug-regexp):
+       * progmodes/flymake.el (flymake-error-bitmap)
+       (flymake-warning-bitmap, flymake-fringe-indicator-position):
+       * progmodes/sh-script.el (sh-indent-after-continuation):
+       * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
+       (verilog-before-save-font-hook, verilog-after-save-font-hook):
+       * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
+       (vhdl-array-index-record-field-in-sensitivity-list)
+       (vhdl-indent-comment-like-next-code-line):
+       * textmodes/reftex-vars.el (reftex-ref-style-alist)
+       (reftex-ref-macro-prompt, reftex-ref-style-default-list)
+       (reftex-cite-key-separator, reftex-create-bibtex-header)
+       (reftex-create-bibtex-footer):
+       * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
+       (rst-indent-literal-normal, rst-indent-literal-minimized)
+       (rst-indent-comment): Add missing custom :version tags.
+
+       * calendar/timeclock.el (timeclock-modeline-display):
+       Add missing obsolete alias for renamed user option.
+
+       * strokes.el (strokes-modeline-string):
+       * emulation/crisp.el (crisp-mode-modeline-string):
+       * eshell/esh-mode.el (eshell-status-in-modeline):
+       Aliases to defcustoms must come before the defcustom.
+
+       * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
+       (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
+       (cal-tex-cursor-week-monday): Doc fixes.
+       (cal-tex-cursor-week2-summary): Doc fix.
+       Rename from cal-tex-cursor-week-at-a-glance.
+
+       * calendar/cal-menu.el (cal-menu-context-mouse-menu):
+       Tweak week descriptions.  Add cal-tex-cursor-week2-summary.
+
+       * calendar/calendar.el (calendar-mode-map):
+       Add cal-tex-cursor-week2-summary.
+
+2012-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
+
+       * subr.el (read-passwd-map): New var.
+       (read-passwd): Use `read-string' again.
+       * minibuffer.el (delete-minibuffer-contents): Make it interactive.
+
 2012-10-06  Jambunathan K  <kjambunathan@gmail.com>
 
        * register.el (append-to-register, prepend-to-register):
 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
 
        * register.el (register): New group.
-       (register-separator): New user option.
+       (separator-register): New user option.
        (increment-register): Route it to `append-to-register', if
        register contains text.  Implication is that `C-x r +' can now be
        used for appending to a text register (bug#12217).
        (append-to-register, prepend-to-register): Add separator based on
-       `register-separator.
+       `separator-register'.
 
 2012-09-08  Alan Mackenzie  <acm@muc.de>