]> code.delx.au - gnu-emacs/blobdiff - lisp/ChangeLog
Move window resize code from window.c to window.el.
[gnu-emacs] / lisp / ChangeLog
index 6d4752efec0f6b06a9f91ff2e959111b27c51a75..1ac216dfbe2f3a3f9e2a2702bb05de6b71f20fd0 100644 (file)
@@ -1,3 +1,403 @@
+2011-06-10  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (window-min-height, window-min-width): Move here
+       from window.c.  Add defcustoms and rewrite doc-strings.
+       (resize-mini-window, resize-window): New functions.
+       (adjust-window-trailing-edge, enlarge-window, shrink-window):
+       Move here from window.c.
+       (maximize-window, minimize-window): New functions.
+       (delete-window, delete-other-windows, split-window): Move here
+       from window.c.
+       (window-split-min-size): New function.
+       (split-window-keep-point): Mention split-window-above-each-other
+       instead of split-window-vertically.
+       (split-window-above-each-other, split-window-vertically): Rename
+       split-window-vertically to split-window-above-each-other and
+       provide defalias for old definition.
+       (split-window-side-by-side, split-window-horizontally): Rename
+       split-window-horizontally to split-window-side-by-side and provide
+       defalias for the old definition.
+       (ctl-x-map): Move bindings for delete-window,
+       delete-other-windows and enlarge-window here from window.c.
+       Replace bindings for split-window-vertically and
+       split-window-horizontally by bindings for
+       split-window-above-each-other and split-window-side-by-side.
+
+       * cus-start.el (all): Remove entries for window-min-height and
+       window-min-width.  Add entries for window-splits and
+       window-nest.
+
+2011-06-09  Glenn Morris  <rgm@gnu.org>
+
+       * calendar/appt.el (appt-mode-line): New function.
+       (appt-check, appt-disp-window): Use it.
+
+       * files.el (hack-one-local-variable-eval-safep):
+       Allow minor-modes with explicit +/-1 arguments.
+
+2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * term/xterm.el (xterm): Add defgroup.
+       (xterm-extra-capabilities): Add defcustom to supply known xterm
+       capabilities, skip querying them, or query them (default).
+       (terminal-init-xterm): Use it.
+       (terminal-init-xterm-modify-other-keys): New function to set up
+       modifyOtherKeys support to simplify `terminal-init-xterm'.
+
+2011-06-09  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (resize-window-reset, resize-window-reset-1)
+       (resize-subwindows-skip-p, resize-subwindows-normal)
+       (resize-subwindows, resize-other-windows, resize-this-window)
+       (resize-root-window, resize-root-window-vertically)
+       (window-deletable-p, window-or-subwindow-p)
+       (frame-root-window-p): New functions.
+
+2011-06-09  Glenn Morris  <rgm@gnu.org>
+
+       * net/ange-ftp.el (ange-ftp-switches-ok): New function.
+       (ange-ftp-get-files): Use it.
+
+2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
+
+       * mail/sendmail.el (mail-recover-1, mail-recover):
+       * files.el (recover-file, recover-session):
+       Handle dired-listing-switches not being just a single short option.
+
+2011-06-09  Glenn Morris  <rgm@gnu.org>
+
+       * calendar/appt.el (appt-display-message, appt-disp-window):
+       Handle lists of appointments.
+
+2011-06-08  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (one-window-p): Move down in code.  Rewrite
+       doc-string.
+       (window-current-scroll-bars): Rewrite doc-string.  Normalize
+       live window argument.
+       (walk-windows, get-window-with-predicate, count-windows):
+       Rewrite doc-string.  Use window-list-1.
+       (window-in-direction-2, window-in-direction, get-mru-window):
+       New functions.
+
+2011-06-08  Reuben Thomas <rrt@sc3d.org>
+
+       * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
+       Doc fix (Bug#8713).
+
+2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
+
+       * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
+
+2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
+
+       * loadhist.el (unload-feature-special-hooks):
+       Add `comint-output-filter-functions'.
+
+2011-06-08  Ivan Kanis  <gnu@kanis.fr>
+
+       * calendar/appt.el (appt-check): Move some initializations into the let.
+
+2011-06-08  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (window-height): Defalias to window-total-height.
+       (window-width): Defalias to window-body-width.
+
+2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
+
+       * image-mode.el (image-toggle-animation): New command.
+       (image-mode-map): Bind it to RET.
+       (image-mode): Update message.
+       (image-toggle-display-image): Avoid a spurious cache flush.
+       (image-transform-rotation): Doc fix.
+       (image-transform-properties): Return quickly in the normal case.
+       (image-animate-loop): Rename from image-animate-max-time.
+
+       * image.el (image-animate-max-time): Moved to image-mode.el.
+       (create-animated-image): Remove unnecessary function.
+       (image-animate): Rename from image-animate-start.  New arg.
+       (image-animate-stop): Removed; just use image-animate-timer.
+       (image-animate-timer): Use car-safe.
+       (image-animate-timeout): Rename argument.
+
+2011-06-07  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (get-lru-window, get-largest-window): Move here from
+       window.c.  Rename first argument to ALL-FRAMES.  Rephrase
+       doc-strings.
+       (get-buffer-window-list): Rewrite using window-list-1.  Rephrase
+       doc-string.
+       (window-safe-min-height, window-safe-min-width): New constants.
+       (window-size-ignore, window-min-size, window-min-size-1)
+       (window-sizable, window-sizable-p, window-size-fixed-1)
+       (window-size-fixed-p, window-min-delta-1, window-min-delta)
+       (window-max-delta-1, window-max-delta, window-resizable)
+       (window-resizable-p, window-total-height, window-total-width)
+       (window-body-width): New functions.
+       (window-full-height-p, window-full-width-p): Rewrite using
+       window-total-size.
+       (window-body-height): Rewrite using window-body-size.
+
+2011-06-06  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (window-right, window-left, window-child)
+       (window-child-count, window-last-child, window-any-p)
+       (normalize-live-buffer, normalize-live-frame)
+       (normalize-any-window, normalize-live-window)
+       (window-iso-combination-p, window-iso-combined-p)
+       (window-iso-combinations)
+       (walk-window-tree-1, walk-window-tree, walk-window-subtree)
+       (windows-with-parameter, window-with-parameter)
+       (window-atom-root, make-window-atom, window-atom-check-1)
+       (window-atom-check, window-side-check, window-check): New
+       functions.
+       (ignore-window-parameters, window-sides, window-sides-vertical)
+       (window-sides-slots): New variables.
+       (window-size-fixed): Move down in code.  Minor doc-string fix.
+
+2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * comint.el (comint-dynamic-complete-as-filename)
+       (comint-dynamic-complete-filename): Correctly call
+       completion-in-region.
+
+2011-06-05  Deniz Dogan  <deniz@dogan.se>
+
+       * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
+       in last change.
+
+2011-06-05  Deniz Dogan  <deniz@dogan.se>
+
+       * net/rcirc.el (rcirc-prompt-for-encryption): New function.
+       (rcirc): Use it to prompt for encryption.
+
+2011-06-05  Roland Winkler  <winkler@gnu.org>
+
+       * textmodes/bibtex.el (bibtex-search-buffer): New variable.
+       (bibtex-search-entries): New command bound to C-c C-a.
+       (bibtex-display-entries): New function.
+
+2011-06-05  Roland Winkler  <winkler@gnu.org>
+
+       * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
+       (bibtex-insert-kill): After yanking insert newline if necessary.
+       (bibtex-initialize): Call bibtex-string-files-init only once.
+       (bibtex-mode): Do not call easy-menu-add.
+       (bibtex-validate-globally): Use save-excursion in bibtex buffers.
+       (bibtex-yank): Set arg properly if nil.
+
+2011-06-05  Roland Winkler  <winkler@gnu.org>
+
+       * textmodes/bibtex.el (bibtex-search-entry-globally): New
+       variable.
+       (bibtex-search-entry): Use it.
+
+2011-06-05  Roland Winkler  <winkler@gnu.org>
+
+       * textmodes/bibtex.el (bibtex-entry-format): New option
+       sort-fields.
+       (bibtex-format-entry, bibtex-reformat): Honor this option.
+       (bibtex-parse-entry): Return fields in proper order.
+
+2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
+
+       * doc-view.el (doc-view-remove-if): Move computation of result out
+       of `dolist' to silence misleading lexical-binding warning.
+
+2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
+
+       * emacs-lisp/timer.el (timer-activate): Remove unused arg.
+       (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
+
+2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
+       "SunOS 5.10".
+
+2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
+       (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
+       (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
+       (tramp-parse-putty):
+       * net/tramp-sh.el (tramp-completion-function-alist-rsh)
+       (tramp-completion-function-alist-ssh)
+       (tramp-completion-function-alist-telnet)
+       (tramp-completion-function-alist-su)
+       (tramp-completion-function-alist-putty): Set `tramp-autoload'
+       cookie.
+
+       * net/tramp-ftp.el:
+       * net/tramp-sh.el:
+       * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
+       load "tramp.el" `tramp-set-completion-function'.
+
+2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * shell.el: Require and use pcomplete.
+       (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
+       (shell-completion-vars): Set pcomplete-default-completion-function.
+
+2011-06-04  Deniz Dogan  <deniz@dogan.se>
+
+       * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
+       `memq' (Bug#8799).
+
+2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
+
+2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
+
+       * bs.el (bs--mark-unmark, bs--nth-wrapper):
+       * mpc.el (mpc-select-extend, mpc-songpointer-context):
+       * vc/log-view.el (log-view-beginning-of-defun):
+       * vc/smerge-mode.el (smerge-apply-resolution-patch)
+       (smerge-refine-forward, smerge-refine-chopup-region):
+       Silence warning for unused `dotimes' counter variables.
+
+2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * net/tramp.el (tramp-with-progress-reporter): Rename from
+       with-progress-reporter.  Use `declare'.
+       * net/tramp-smb.el:
+       * net/tramp-sh.el:
+       * net/tramp-gvfs.el: Update all uses.
+
+2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
+       buffer isn't killed before making it current.
+
+2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Silence various byte-compiler warnings.
+       * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
+       `access-type' and new obsolescence format.
+       * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
+       new format.
+       (byte-compile-check-variable): New `access-type' argument.
+       Only warn if the access-type is obsolete.
+       (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
+       (byte-compile-variable-set): Adjust callers.
+       * help-fns.el (describe-variable): Adjust to new obsolescence format.
+       * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
+       setting it as obsolete.
+       * simple.el (minibuffer-completing-symbol):
+       * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
+       access as obsolete.
+       * minibuffer.el (minibuffer-completing-file-name): Don't make it
+       obsolete yet.
+       * international/quail.el (quail-mouse-choose-completion): Remove unused
+       code referring to obsolete var.
+       (quail-choose-completion-string): Remove.
+       * server.el (server-clients-with, server-kill-buffer-query-function)
+       (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
+       * proced.el (proced-send-signal):
+       * emacs-lisp/lisp.el (lisp-complete-symbol):
+       Replace completion-annotate-function with completion-extra-properties.
+
+2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * simple.el (goto-line): Use read-number.
+       (overriding-map-is-bound): Remove.
+       (saved-overriding-map): Change default.
+       (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
+       Take the map as argument.
+       (universal-argument, negative-argument, digit-argument): Use it.
+       (restore-overriding-map): Adjust.
+       (do-auto-fill): Use fill-forward-paragraph.
+       (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
+
+       * minibuffer.el (minibuffer-inactive-mode-map): New var.
+       (minibuffer-inactive-mode): New major mode.
+       * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
+       the *Messages* buffer" hack.
+       (mouse-popup-menubar): Don't burp if the event is a normal key.
+
+       Miscellaneous tweaks.
+       * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
+       lexical scoping as in subr.el's dolist and dotimes.
+       * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
+       Silence compiler warning.
+       * thingatpt.el (forward-whitespace): Trivial coding style fix.
+       * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
+       * international/ccl.el (ccl-compile): Trivial simplification.
+       * help-fns.el (help-do-arg-highlight): Silence compiler warning.
+       * emacs-lisp/testcover.el (testcover-end): Remove spurious
+       `printflag' argument.
+       * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
+       Purecopy the whole obsolescence data.
+
+2011-06-01  Leo Liu  <sdl.web@gmail.com>
+
+       * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
+       improve doc-string as suggested by Marco Pessotto
+       <melmothx@gmail.com>.
+       (rcirc-print): Fix last change.
+
+2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (complete-with-action): Return nil for the metadata and
+       boundaries of non-functional tables.
+       (completion-table-dynamic): Return nil for the metadata.
+       (completion-table-with-terminator): Add default case, using
+       complete-with-action.
+       (completion--metadata): New function.
+       (completion-all-sorted-completions, minibuffer-completion-help): Use it
+       to try and avoid pathological performance problems.
+       (completion--embedded-envvar-table): Return `category' metadata.
+
+2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * subr.el (process-alive-p): New tiny convenience function.
+
+2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
+       content but also its previous major mode.
+
+2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
+
+       * debug.el (debug): Restore the previous content of the
+       *Backtrace* buffer when we exit with C-M-c.
+
+2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el: Add metadata method to completion tables.
+       (completion-category-overrides): New defcustom.
+       (completion-metadata, completion--field-metadata)
+       (completion-metadata-get, completion--styles)
+       (completion--cycle-threshold): New functions.
+       (completion-try-completion, completion-all-completions):
+       Add `metadata' argument to choose completion-styles.
+       (completion--do-completion): Use metadata to choose cycling.
+       (completion-all-sorted-completions): Use metadata for sorting.
+       Remove :completion-cycle-penalty which is not needed any more.
+       (completion--try-word-completion): Add `metadata' argument.
+       (minibuffer-completion-help): Check metadata for annotation function
+       and sorting.
+       (completion-file-name-table): Return `category' metadata.
+       (minibuffer-completing-file-name): Make obsolete.
+       * simple.el (minibuffer-completing-symbol): Make obsolete.
+       * icomplete.el (icomplete-completions): Pass new `metadata' param to
+       completion-try-completion.
+
+2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
+
+2011-05-30  Leo Liu  <sdl.web@gmail.com>
+
+       * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
+       (rcirc-print): Decode all incoming messages (bug#8744).
+       (rcirc-decode-coding-system): Allow value nil for automatic coding
+       system detection.
+
+2011-06-01  Glenn Morris  <rgm@gnu.org>
+
+       * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
+
 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
 
        * image.el (image-animate-max-time): Allow nil and t values.