]> code.delx.au - gnu-emacs/blobdiff - lisp/ChangeLog
* gud.el (gud-menu-map): Check gdb-active-process is bound. (Bug#12358)
[gnu-emacs] / lisp / ChangeLog
index d873fbbc65661e6ba4171590ca4acdb6ddc329c4..2d3bd095278effac81f8a8f847174b9f003b11d2 100644 (file)
@@ -1,7 +1,434 @@
+2012-10-23  Glenn Morris  <rgm@gnu.org>
+
+       * progmodes/gud.el (gud-menu-map):
+       Check gdb-active-process is bound.  (Bug#12358)
+
+2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * repeat.el (repeat): Set real-this-command (bug#12232).
+
+       * htmlfontify.el (hfy-post-html-hook):
+       * filesets.el (filesets-cache-fill-content-hook):
+       * arc-mode.el (archive-extract-hook):
+       * progmodes/cc-mode.el (c-prepare-bug-report-hook):
+       * net/rcirc.el (rcirc-sentinel-functions)
+       (rcirc-receive-message-functions, rcirc-activity-functions)
+       (rcirc-print-functions):
+       * net/dbus.el (dbus-event-error-functions):
+       * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
+       * emacs-lisp/checkdoc.el (checkdoc-style-functions)
+       (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
+       * term/sun.el (sun-raw-prefix-hooks):
+       * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
+
+2012-10-23  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-smb.el (tramp-smb-maybe-open-connection):
+       Set `tramp-chunksize' to 1.  This improves the performance.
+       (tramp-smb-wait-for-output): Add timeout to
+       `tramp-accept-process-output' calls.
+
+2012-10-23  Chong Yidong  <cyd@gnu.org>
+
+       * faces.el (font-list-limit): Define as an obsolete variable.
+
+       * startup.el (command-line):
+       * cus-start.el: Don't refer to font-list-limit.
+
+       * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
+
+2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * subr.el (internal-temp-output-buffer-show): Rename from
+       temp-output-buffer-show, since previously compiled files expect this name.
+
+2012-10-23  Glenn Morris  <rgm@gnu.org>
+
+       * image.el (image-type-from-file-name): If multiple types match,
+       return the first one that is supported.  (Bug#9045)
+
+2012-10-22  Glenn Morris  <rgm@gnu.org>
+
+       * image.el (imagemagick-enabled-types): Doc fix.
+
+2012-10-22  Takafumi Arakaki  <aka.tkf@gmail.com>  (tiny change)
+
+       * progmodes/which-func.el (which-func-current): The hash-table may have
+       an explicit nil (bug#12338).
+
+2012-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * electric.el (electric-pair-delete-selection-self-insert-function):
+       Rename to electric-pair-will-use-region, return a boolean.
+       (electric-pair-mode): Adjust accordingly.  Don't require delsel.
+
+       * delsel.el (delete-selection-helper): Use a function instead of a hook.
+       (delete-selection-pre-hook): Use use-region-p.
+       (delete-selection-self-insert-function): Remove.
+       (self-insert-command): Obey self-insert-uses-region-functions.
+       (self-insert-iso): Revert to previous setting, since we don't actually
+       know what that command does.
+       (delete-selection-self-insert-hooks): Remove.
+
+2012-10-22  Simon Law  <sfllaw@sfllaw.ca>  (tiny change)
+
+       * delsel.el (delete-selection-helper): New function, extracted from
+       delete-selection-pre-hook.
+       (delete-selection-pre-hook): Use it.
+       (delete-selection-self-insert-function): New function.
+       (delete-selection-self-insert-hooks): New hook.
+       (self-insert-command, self-insert-iso): Use it.
+       * electric.el (electric-pair-syntax): New function, extracted from
+       electric-pair-post-self-insert-function.
+       (electric-pair-post-self-insert-function): Use it.
+       (electric-pair-delete-selection-self-insert-function): New function.
+       (electric-pair-mode): Require delsel and setup
+       delete-selection-self-insert-hooks (bug#11520).
+
+2012-10-20  Chong Yidong  <cyd@gnu.org>
+
+       * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
+       no changes to show (Bug#12586).
+
+       * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
+       list explicitly (Bug#12571).
+
+2012-10-20  Arne Jørgensen  <arne@arnested.dk>
+
+       * progmodes/flymake.el (flymake-create-temp-inplace):
+       Use file-truename.
+
+2012-10-20  Eli Zaretskii  <eliz@gnu.org>
+
+       * loadup.el: Update comment about uncompiled Lisp files.  (Bug#12395)
+
+2012-10-20  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calc-units.el (math-extract-units): Properly extract powers
+       of units.
+
+2012-10-20  Daniel Colascione  <dancol@dancol.org>
+
+       * frame.el (make-frame): Set x-display-name as we used to in order
+       to unbreak creating an X11 frame from an Emacs daemon started
+       without a display.
+
+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).
+
+2012-10-19  Martin Rudalics  <rudalics@gmx.at>
+
+       * emacs-lisp/debug.el (debug): Record height of debugger window
+       also when debugger will be back (Bug#8789).
+
+2012-10-18  Chong Yidong  <cyd@gnu.org>
+
+       * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
+       Convert to defcustom.
+       (gdb-get-source-file): Don't bind pop-up-windows.
+
+       * progmodes/gud.el (gud-display-line): Don't specially re-use
+       other frames for the gdb-mi case (Bug#12648).
+
+2012-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/advice.el: Clean up commentary a bit.
+       (ad-do-advised-functions, ad-with-originals): Use `declare'.
+       (byte-code-function-p): Never redefine.
+
+       * emacs-lisp/gv.el (cond): Same fix as before for `if'.
+
+2012-10-18  Glenn Morris  <rgm@gnu.org>
+
+       * dired.el (dired-sort-toggle): Some ls implementations only allow
+       a single option string.  (Bug#12666)
+
+       * minibuffer.el (completion-cycle-threshold): Doc fix.
+
+2012-10-17  Kenichi Handa  <handa@gnu.org>
+
+       * international/mule.el (set-keyboard-coding-system):
+       Recover input meta mode when the new coding system doesn not use 8-bit.
+       Supply TERMINAL arg to set-input-meta-mode.
+
+2012-10-17  Michael Heerdegen <michael_heerdegen@web.de>  (tiny change)
+
+       * wdired.el (wdired-old-marks): New variable.
+       (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
+       (wdired-do-renames): Move point with renamed file and don't lose
+       mark status (Bug#11795).
+
+2012-10-16  Juri Linkov  <juri@jurta.org>
+
+       * replace.el (query-replace-help): Mention multi-buffer replacement
+       keys in the Help message.  (Bug#12655)
+
+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): Fixed initialization of local
+       (python-shell-make-comint): Fix initialization of local
        variables copied from parent buffer.
 
 2012-10-07  Jan Djärv  <jan.h.d@swipnet.se>
        * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
        specifying the expected class, and whether subclassing is allowed.
        (eieio-persistent-convert-list-to-object):
-        (eieio-persistent-validate/fix-slot-value)
-        (eieio-persistent-slot-type-is-class-p): New functions.
-        (eieio-named::slot-missing): Doc fix.
+       (eieio-persistent-validate/fix-slot-value)
+       (eieio-persistent-slot-type-is-class-p): New functions.
+       (eieio-named::slot-missing): Doc fix.
 
        * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
        Stop using unused publd variable.
 
        * ses.el (ses-widen):
        * simple.el (count-words--buffer-message):
-       * net/browse-url.el (browse-url-of-buffer): Use it
+       * net/browse-url.el (browse-url-of-buffer): Use it.
 
        * simple.el (count-words-region): Don't signal an error if there
        is a non-nil prefix arg and the mark is not set.
 2011-06-22  Leo Liu  <sdl.web@gmail.com>
 
        * minibuffer.el (completing-read-function)
-       (completing-read-default): Move from minibuf.c
+       (completing-read-default): Move from minibuf.c.
 
 2011-06-22  Richard Stallman  <rms@gnu.org>
 
        Remove unnecessary and incorrect declarations.
 
        * emacs-lisp/check-declare.el (check-declare-scan):
-       Handle byte-compile-initial-macro-environment in bytecomp.el
+       Handle byte-compile-initial-macro-environment in bytecomp.el.
 
 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>