Lines Matching +refs:idlwave +refs:completion +refs:restore +refs:window +refs:configuration

261 	Keep pre-existing highlighting in completion candidates (Bug#13250).
265 (completion-hilit-commonality): Prepend 'completions-common-part
266 and 'completion-first-difference faces to the 'face property,
268 (completion--insert-strings): Same with 'completions-annotations face.
269 (completion-hilit-commonality): Use 'face instead of
270 'font-lock-face, because it gets priority if the completion
333 (top): Remove completion functions for "scp1", "scp2", "ssh1",
794 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
812 * progmodes/python.el: Explain how to restore "cc-mode"-like
877 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
901 (tmm--completion-table): New function.
1015 * progmodes/idlw-help.el (idlwave-help-mode-map):
1259 (compilation-window-height): Simplify docstrings. (Bug#13379)
1418 (tramp-completion-reread-directory-timeout): Fix type.
1677 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1678 save and restore the old window configuration.
1737 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1833 (gdb-restore-windows):
1908 (Man-completion-table): Use it.
1909 (man): Flush the completion cache between uses.
1950 (doc-view-set-slice-from-bounding-box): Fix completion table.
1962 `t' pseudo-window entry.
1991 (crm--completion-command): New macro.
1992 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2038 of completion-ignore-case around completing-read to fix regression
2041 `completion-ignore-case' in `completion-pcm--all-completions'.
2101 single completion. (Bug#12456)
2203 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2327 * window.el (window-resizable--p): Rename to window-resizable-p.
2328 (window-resize-no-error): New function.
2410 * info.el (info-other-window): New arg, for consistency with info.
2428 to restore Emacs frame after pinentry-curses termination.
2429 (epg-wait-for-completion): Restore Emacs frame here.
2483 * comint.el (comint-adjust-window-point): New function.
2485 Call comint-adjust-window-point (Bug#13248).
2907 Preserve buffer, in case select-window changes it. (Bug#13066)
3024 (sql--completion-table): Rename from sql-try-completion.
3028 (sql-postgres-completion-object): Initialize vars in their `let'.
3119 files may not be in Info-directory-list, to the completion.
3219 buffer (Bug#10770). Add completion (Bug#10771).
3304 Handle other-window, other-frame for dired. (Bug#13036)
3355 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
3374 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
3376 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
3503 * term/ns-win.el (ns-initialize-window-system): Move creation of
3627 Fallback on completion-at-point rather than
3629 (eshell-cmpl-initialize): Setup completion-at-point.
3642 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3774 * window.el (with-temp-buffer-window): Doc fix.
3776 Add doc xref to with-temp-buffer-window.
3870 * window.el (enlarge-window, shrink-window): Don't mention return
3872 (window--display-buffer): Don't resize frames - it won't work
3873 with all window managers and defeat pop-up-frame-alist.
3883 * window.el (fit-frame-to-buffer-bottom-margin)
3884 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3916 * window.el (record-window-buffer)
3917 (display-buffer-record-window): When copying the markers to
3918 window-point preserve window-point-insertion-type. (Bug#12588)
4099 * window.el (with-temp-buffer-window): Doc tweak.
4104 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4118 (elp-restore-function): Use advice-remove.
4119 (elp-restore-all, elp-reset-all): Use mapatoms.
4162 * server.el (server-create-window-system-frame): Handle Nextstep
4359 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
4360 frame-first-window, frame-root-window, frame-selected-window,
4361 minibuffer-selected-window, minibuffer-window,
4362 window-absolute-pixel-edges, window-at, window-body-height,
4363 window-body-width, window-display-table, window-combination-limit,
4364 window-frame, window-fringes, window-inside-absolute-pixel-edges,
4365 window-inside-edges, window-inside-pixel-edges, window-left-child,
4366 window-left-column, window-margins, window-next-buffers,
4367 window-next-sibling, window-new-normal, window-new-total,
4368 window-normal-size, window-parameter, window-parameters, window-parent,
4369 window-pixel-edges, window-point, window-prev-buffers,
4370 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
4371 window-start, window-text-height, window-top-child, window-top-line,
4372 window-total-height, window-total-width and window-use-time to the list
4374 (toplevel): Add window-valid-p to the list of error-free functions
4388 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
4389 same-window-* variables.
4395 action instead of binding same-window-* variables (Bug#10040).
4417 * window.el (switch-to-visible-buffer)
4418 (switch-to-buffer-preserve-window-point): Fix doc-strings.
4449 * window.el (quit-restore-window): If the window has been
4450 created on an existing frame and ended up as the sole window on
4526 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4528 (completion--twq-all): Disable too-strict assertions.
4550 * window.el (display-buffer): In doc-string describe
4551 window-height and window-width alist entries.
4553 * time.el (display-time-world): Restore fit-window-to-buffer
4562 * minibuffer.el (completion-category-overrides): New completion
4570 * bookmark.el (bookmark-completing-read): Set the completion category
4593 * help.el (resize-temp-buffer-window): Fix doc-string.
4641 * minibuffer.el (completion--all-sorted-completions-location): New var.
4642 (completion--cache-all-sorted-completions)
4643 (completion--flush-all-sorted-completions): Use it.
4644 (completion-in-region, completion-in-region--postch)
4645 (completion-at-point, completion-help-at-point): Use markers in
4646 completion-in-region--data (bug#12619).
4773 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4774 the same completion-field (bug#12221).
4778 * emacs-lisp/debug.el (debug): Record height of debugger window
4803 * minibuffer.el (completion-cycle-threshold): Doc fix.
4829 * window.el (display-buffer): Doc fix.
4852 non-nil, restore window configuration (Bug#12623).
4880 completion-ignore-case in case that var is buffer-local (bug#12615).
4893 * window.el (switch-to-buffer-preserve-window-point): New option.
4895 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4934 Replace save-selected-window+select-window => with-selected-window.
4988 the minibuffer window (Bug#10851).
5019 (window-system-for-display): New function: interprets
5023 (make-frame): Restructure to use window-system-for-display to
5033 * server.el (server-create-window-system-frame): Look for window type.
5034 (server-proces-filter): Only force a window system when windows-nt
5038 of window systems we configure for the mode.
5040 * startup.el (command-line): Mark window system is initialized
5047 (ns-initialize-window-system): Assert we're not initialized twice.
5055 (w32-initialize-window-system): Assert we're not initialized twice.
5058 (x-initialize-window-system): Assert we're not initialized twice.
5105 * window.el (internal--before-save-selected-window)
5106 (internal--after-save-selected-window): New functions extracted from
5107 save-selected-window. Make sure we return the `alist' we construct.
5108 (save-selected-window): Use them.
5111 Use with-selected-window.
5302 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
5324 * emacs-lisp/debug.el (debug): When quitting the debugger window
5325 restore current buffer (Bug#12502).
5473 (profiler-find-profile-other-window): New command.
5576 Call `enlarge-window' only if there is something to do because in Emacs
5664 In buffer display functions handle window-height/window-width
5666 * window.el (window--display-buffer): New argument ALIST.
5667 Obey window-height and window-width alist entries.
5668 (window--try-to-split-window): New argument ALIST.
5669 Bind window-combination-limit to t when the window's size shall be
5670 changed and window-combination-limit equals `window-size'.
5671 (display-buffer-in-atom-window)
5672 (display-buffer-in-major-side-window)
5673 (display-buffer-in-side-window, display-buffer-same-window)
5674 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5675 (display-buffer-pop-up-window, display-buffer-below-selected)
5676 (display-buffer-at-bottom, display-buffer-in-previous-window)
5677 (display-buffer-use-some-window): Adjust all callers of
5678 window--display-buffer and window--try-to-split-window.
5680 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5682 (display-buffer-in-major-side-window): Evaluate window-height /
5683 window-width alist entries.
5688 (resize-temp-buffer-window): Don't consult
5693 Call display-buffer-below-selected with a fit-window-to-buffer alist
5856 (image-mode-winprops): Use t to stand for the window of
5858 * doc-view.el (doc-view-new-window-function): Handle the new
5862 displayed in any window.
5892 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5921 * window.el (window--resize-child-windows): When resizing child
5923 preserve the "when splitting a window the new one gets the odd
5925 (window--resize-root-window-vertically): When resizing the
5926 minibuffer window try to affect only windows at the bottom of the
5956 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5957 (eshell-add-to-window-buffer-names):
5958 * files.el (locate-file-completion):
5976 * simple.el (choose-completion-delete-max-match):
5979 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6086 * progmodes/idlwave.el (idlwave-idl-keywords):
6169 * cus-start.el (window-combination-limit): Add new optional
6171 * window.el (temp-buffer-window-show)
6172 (window--try-to-split-window): Handle new values of
6173 window-combination-limit (Bug#1806).
6174 (split-window): Test window-combination-limit for t instead of
6179 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6180 Don't resize reused window. Suggested by Glenn Morris.
6208 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6383 (debug): Don't remove debugger window when debugger is expected
6424 completion-cycling case (Bug#12092).
6444 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
6474 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6493 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6529 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6673 * emacs-lisp/debug.el (debugger-previous-window-height):
6675 (debug): When debugger-jumping-flag is non-nil try to restore
6676 height of debugger window. (Bug#8789)
6696 * minibuffer.el (completion-table-subvert): Fix docstring.
6766 requesting window scrolling.
6768 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6776 * window.el (scroll-other-window-down): Make the arg optional.
6780 * files.el (hack-local-variables-confirm): Use quit-window to kill
6830 * window.el (display-buffer-in-previous-window): New buffer
6834 (debugger-previous-window): New variable.
6835 (debug): Rewrite using display-buffer-in-previous-window,
6836 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6852 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6901 * frame.el (window-system-version): Mark as obsolete.
6959 (resize-temp-buffer-window): Optionally resize frame.
6961 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7019 * window.el (temp-buffer-window-setup-hook)
7020 (temp-buffer-window-show-hook): New hooks.
7021 (temp-buffer-window-setup, temp-buffer-window-show)
7022 (with-temp-buffer-window): New functions.
7023 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7024 (special-display-popup-frame): Make sure the window used shows BUFFER.
7027 (resize-temp-buffer-window): New optional argument WINDOW.
7030 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7090 * window.el (switch-to-prev-buffer): Handle additional values of
7091 BURY-OR-KILL argument. Don't switch in minibuffer window.
7092 (switch-to-next-buffer): Don't switch in minibuffer window.
7093 (quit-restore-window): New function based on quit-window.
7095 (quit-window): Call quit-restore-window with appropriate
7102 * minibuffer.el (completion-at-point-functions): Complete docstring
7123 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7137 * window.el (display-buffer-reuse-frames): Make the obsolescence
7179 completion-at-point. (Bug#12220)
7215 * dired.el (dired-pop-to-buffer): Make window start at beginning
7220 * window.el (special-display-regexps, special-display-frame-alist)
7251 * window.el (display-buffer-pop-up-frame): Handle a
7273 * window.el (window--even-window-heights): Even heights when
7274 WINDOW and the selected window form a vertical combination.
7275 (display-buffer-use-some-window): Provide that window used gets
7276 sized back by quit-window. (Bug#11880) and (Bug#12091)
7308 * window.el (walk-window-tree, window-with-parameter):
7310 should run on the minibuffer window.
7311 (window-at-side-list): Don't operate on minibuffer window.
7312 (window-in-direction): Simplify and rewrite doc-string.
7313 (window--size-ignore): Rename to window--size-ignore-p.
7315 (display-buffer-in-atom-window, window--major-non-side-window)
7316 (window--major-side-window, display-buffer-in-major-side-window)
7317 (delete-side-window, display-buffer-in-side-window):
7319 (window--side-check, window-deletable-p, delete-window)
7320 (delete-other-windows, split-window): Handle side windows and
7322 (window--display-buffer): Call display-buffer-record-window also
7323 when the window buffer did not change.
7367 * window.el (window-point-1, set-window-point-1): Remove.
7368 (window-in-direction, record-window-buffer)
7369 (set-window-buffer-start-and-point, split-window-below)
7370 (window--state-get-1, display-buffer-record-window):
7371 Replace calls to window-point-1 and set-window-point-1 by calls to
7372 window-point and set-window-point respectively.
7514 * window.el (delete-window): Fix last fix.
7518 * window.el (window-valid-p): Move to window.c.
7519 (window-child, window-child-count, window-last-child)
7520 (window-normalize-window, window-combined-p)
7521 (window-combinations, window-atom-root, window-min-size)
7522 (window-sizable, window-sizable-p, window-size-fixed-p)
7523 (window-min-delta, window-max-delta, window--resizable)
7524 (window--resizable-p, window-resizable, window-total-size)
7525 (window-full-height-p, window-full-width-p, window-body-size)
7526 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7527 (minimize-window, window-deletable-p, delete-window)
7528 (delete-other-windows, set-window-buffer-start-and-point)
7529 (next-buffer, previous-buffer, split-window, balance-windows-2)
7530 (set-window-text-height, window-buffer-height)
7531 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7532 (truncated-partial-width-window-p): Minor code adjustments.
7533 In doc-strings state whether the argument window has to denote a
7534 live, valid or any window.
7547 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7670 * subr.el (internal--after-with-selected-window): Fix typo
7675 Use `completion-table-dynamic' for completion functions.
7677 (python-shell-completion--do-completion-at-point)
7678 (python-shell-completion--get-completions):
7680 (python-shell-completion-complete-at-point): New function.
7681 (python-completion-complete-at-point): Use it.
7701 * subr.el (internal--before-with-selected-window)
7702 (internal--after-with-selected-window): Fix typo seleted->selected.
7703 (with-selected-window): Adjust callers.
7708 * window.el (special-display-popup-frame): Minor docstring
7722 * subr.el (with-selected-window): Fix last change.
7726 * subr.el (internal--before-with-seleted-window)
7727 (internal--after-with-seleted-window): New functions.
7728 (with-selected-window): Use them, to replace dependency on
7805 with same-window-buffer-names.
7807 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7808 (eshell-remove-from-window-buffer-names): Make obsolete.
7810 (eshell): Just use pop-to-buffer-same-window instead.
8009 * window.el (window--maybe-raise-frame): New function.
8010 (window--display-buffer): Split off from here.
8011 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8012 (display-buffer-pop-up-window, display-buffer-use-some-window):
8225 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8384 Consistent completion in inferior python with emacs -nw.
8387 (python-shell-completion-complete-at-point)
8388 (python-completion-complete-at-point): Remove interactive spec.
8437 switch-window event occurs (Bug#12006).
8488 window only if it is still live (Bug#12034).
8661 * window.el (split-window-sensibly): Make WINDOW argument
8888 (ffap-read-only, ffap-read-only-other-window)
9066 * window.el (quit-window): Always restore window height when
9067 it's saved in quit-restore parameter (Bug#11810).
9077 read-file-name-completion-ignore-case is non-nil. Don't use
9147 (find-file-read-only, find-file-read-only-other-window)
9305 Add completion-at-point (bug#11725).
9334 * simple.el (completion-list-mode-finish):
9335 Don't use toggle-read-only. (Since completion-list-mode has
9413 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
9452 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
9473 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9499 * window.el:
9574 * winner.el (winner-configuration, winner-make-point-alist)
9576 * files.el (locate-file-completion-table): Avoid list*.
9624 * term.el (term-window-width): Handle the case of a missing right
9626 (term-check-size): Use window-text-height (Bug#5445).
9654 * subr.el (with-selected-window): Preserve the selected window's
9657 * window.el (save-selected-window): Likewise.
9682 * window.el (special-display-p): Completely remove stringp
9697 * window.el (special-display-p): Signal an error if BUFFER-NAME
9768 (python-shell-completion-module-string-code)
9769 (python-shell-completion-pdb-string-code)
9770 (python-shell-completion-setup-code)
9771 (python-shell-completion-string-code)
9875 (python-completion-at-point)
9877 (python-completion-complete-at-point): New function.
9915 (python-shell-completion--do-completion-at-point)
9916 (python-shell-completion--get-completions)
9917 (python-shell-completion-complete-at-point)
9918 (python-shell-completion-complete-or-indent)
9929 (python-completion-complete-at-point): New functions.
10121 (tramp-completion-function-alist-putty): Handle UNIX case.
10176 (tramp-completion-function-alist): Adapt docstring.
10200 (tramp-completion-handle-file-name-all-completions): Handle hops.
10202 (tramp-completion-dissect-file-name): Use better local variable
10221 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10284 * window.el (special-display-popup-frame): Don't use
10285 window--display-buffer (Bug#11651).
10524 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10525 (tmm-add-prompt): Use minibuffer-completion-help.
10620 * window.el (get-lru-window, get-mru-window, get-largest-window):
10621 New argument NOT-SELECTED to avoid picking the selected window.
10622 (window--display-buffer-1, window--display-buffer-2): Replace by
10623 new function window--display-buffer
10624 (display-buffer-same-window, display-buffer-reuse-window)
10625 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10626 Use window--display-buffer.
10627 (display-buffer-use-some-window): Remove temporary dedication
10628 hack by calling get-lru-window and get-largest-window with
10629 NOT-SELECTED argument non-nil. Call window--display-buffer.
10722 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10806 * simple.el (choose-completion): Remove now obsolete binding for
10920 * window.el (window-deletable-p): Avoid deleting the root window
10925 * simple.el (choose-completion): Use quit-window (Bug#11567).
11221 repeated window/frame switches (e.g. triggered by mouse-movement).
11299 * minibuffer.el (completion--sifn-requote): Fix last change.
11307 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
11309 (completion--string-equal-p): New function.
11310 (completion--twq-all): Use it to get better assertion failure data.
11315 (shell-completion-vars): Use them.
11447 * minibuffer.el (completion--twq-all): Again, allow case differences.
11487 (ffap-read-only, ffap-read-only-other-window)
11503 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11526 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11538 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11772 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11773 configuration instead of only buffer. Change where necessary.
11835 (with-selected-window): Leave unrelated frames alone.
11841 * window.el (switch-to-buffer):
11867 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11873 * completion.el (check-completion-length):
11886 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11924 * progmodes/idlwave.el (idlwave-libinfo-file)
11925 (idlwave-default-completion-case-is-down)
11926 (idlwave-library-routines): Convert defvars to defcustoms.
11929 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11930 (idlwave-shell-fix-inserted-breaks)
11931 (idlwave-shell-activate-alt-keybindings)
11932 (idlwave-shell-use-breakpoint-glyph):
11937 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12052 * window.el (display-buffer--action-function-custom-type):
12086 (follow--window-sorter): New function.
12088 positions; don't make assumptions about next-window order.
12093 (follow-adjust-window): New function.
12119 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12153 * term/ns-win.el (ns-initialize-window-system):
12154 * term/w32-win.el (w32-initialize-window-system):
12155 * term/x-win.el (x-initialize-window-system): Use it to properly
12157 initial frame is not a window-system frame (Bug#2299).
12202 * window.el (adjust-window-trailing-edge, enlarge-window)
12203 (shrink-window, window-resize):
12223 * progmodes/etags.el (tags-lazy-completion-table):
12254 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12264 (ediff-window-setup-function): Use it as the default, to set up
12266 (ediff-choose-window-setup-function-automatically): Make obsolete.
12275 Use completion-table-with-quoting for comint and pcomplete.
12284 completion-table-with-quoting.
12285 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12293 (pcomplete-completions-at-point): Use completion-table-with-quoting
12294 and completion-table-subvert.
12296 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
12298 (completion--sifn-requote): New function.
12299 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
12301 * minibuffer.el: Add support for completion of quoted/escaped data.
12302 (completion-table-with-quoting, completion-table-subvert): New funs.
12303 (completion--twq-try, completion--twq-all): New functions.
12304 (completion--nth-completion): New function.
12305 (completion-try-completion, completion-all-completions): Use it.
12364 settings on 'system-type', not on 'window-system'. On MS-Windows,
12407 * window.el (handle-select-window): Clear echo area since this is
12433 (customize-option, customize-option-other-window)
12589 * minibuffer.el (completion-file-name-table): Complete user names.
12600 (server-create-window-system-frame, server-create-tty-frame):
12602 (server-process-filter): Only try to open a window system frame if
12625 * window.el (window-min-size, window-sizable, window-min-delta)
12626 (window-max-delta, window--resizable, window-resizable)
12627 (window-total-size, window-full-height-p, window-full-width-p)
12628 (window-in-direction, window--resize-mini-window, window-resize)
12629 (window--resize-child-windows-normal)
12630 (window--resize-child-windows, window--resize-siblings)
12631 (window--resize-this-window, adjust-window-trailing-edge)
12632 (enlarge-window, shrink-window): Doc fixes.
12844 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13050 * minibuffer.el (completion-in-region-mode-map):
13051 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13162 * window.el (window--state-get-1): Obey window-point-insertion-type.
13326 * window.el (shrink-window): Mention the `window-min-height'
13351 * minibuffer.el (completion-extra-properties): Doc fix.
13400 * calendar/calendar.el (calendar-window-list)
13401 (calendar-hide-window): Restore. (Bug#11140)
13402 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
13439 (calendar-window-list, calendar-hide-window): Remove the broken
13459 * window.el (switch-to-visible-buffer): New option.
13461 Observe switch-to-visible-buffer. Make sure that checking for a window
13518 * window.el (switch-to-prev-buffer): Revert last patch because the
13561 * progmodes/etags.el (tags-completion-at-point-function):
13568 * progmodes/etags.el (tags-completion-at-point-function):
13583 (ido-choose-completion-string, ido-completion-help): Handle nil
13584 value of ido-completion-buffer (Bug#11008).
13588 * window.el (switch-to-prev-buffer): Do not switch to a visible
13589 window previous buffer, just like with the frame previous buffers.
13695 * view.el (view-buffer, view-buffer-other-window)
13751 * dabbrev.el: Fix cycle completion order (bug#10963).
13752 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13753 (dabbrev-completion): Don't use an obarray; provide
13763 * dabbrev.el: Fix cycle completion (bug#10963).
13765 (dabbrev-completion): Delay computing the list of completions.
13783 (nxml-completion-at-point-function): New function.
13821 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13828 * window.el (split-window-below): Fix bug in case where
13829 split-window-keep-point is nil (Bug#10971).
13876 * minibuffer.el (completion-in-region, completion-help-at-point):
13877 Give the completion field overlay a high priority (Bug#6830).
14177 * bs.el (bs--show-with-configuration): Don't throw an error
14178 if the window cannot be split; otherwise, subsequent calls to
14179 bs-show fail, restoring a stale window config. (Bug#10882)
14218 * term/x-win.el (x-initialize-window-system): Reduce default for
14251 (completion--cache-all-sorted-completions): New function.
14252 (completion-all-sorted-completions): Use it.
14253 (completion--do-completion, minibuffer-force-complete):
14266 * minibuffer.el (completion-category-overrides): Doc fix.
14270 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14429 * minibuffer.el (completion-at-point-functions): Doc fix.
14490 * window.el (display-buffer): Doc fix (Bug#10785).
14508 * window.el (window-sides-slots):
14546 * minibuffer.el (completion-category-overrides)
14547 (completion-cycle-threshold)
14548 (completion-pcm-complete-word-inserts-delimiters):
14685 * completion.el (dynamic-completion-mode):
14692 * minibuffer.el (completion-in-region-mode):
14859 * view.el (view-buffer-other-window, view-buffer-other-frame):
14893 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14912 * window.el (window-with-parameter): Remove unused variable `windows'.
14913 (window--side-check): Remove unused variable `code'.
14914 (window--resize-siblings): Remove unused variable `first'.
14915 (adjust-window-trailing-edge): Remove unused variable `failed'.
14916 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14919 (window--state-put-2): Remove unused variable `splits'.
14920 (window-state-put): Remove unused variable `selected'.
14921 (same-window-p): Use `string-match-p'.
14923 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14925 (pop-to-buffer): Remove unused variable `old-window'.
14934 * frame.el (window-system-default-frame-alist): Doc fix.
14993 line that displays system-configuration-options. (Bug#9924)
15062 * window.el (window-state-get, window--state-get-1): Don't deal
15067 * window.el (window--state-get-1, window--state-put-2):
15068 Don't save and restore the mark.
15175 * help-macro.el (make-help-screen): Temporarily restore original
15186 * window.el (window--state-get-1, window-state-get): Do not use
15187 special state value for window-persistent-parameters.
15189 (window--state-put-2): Reset all window parameters to nil before
15236 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15240 * window.el (window-state-ignored-parameters): Remove variable.
15241 (window--state-get-1): Rename argument MARKERS to IGNORE.
15242 Handle persistent window parameters. Make copy of clone-of
15244 (window--state-put-2): Install a window parameter only if it has
15397 (shell-command-completion-function): New function.
15398 (shell-completion-vars): Use it to implement
15399 shell-completion-execonly (Bug#10417).
15429 comint-filename-completion first (Bug#10417).
15486 (gud-gdb-completion-function): New variable.
15487 (gud-gdb-completion-at-point): Use it.
15501 (gdb): Use it for generating the completion table.
15527 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15602 * window.el (window-normalize-buffer-to-display): Remove.
15644 window-system, ignore $MANWIDTH and $COLUMNS.
15687 * window.el (delete-other-windows): Use correct frame in call to
15688 window-with-parameter.
15738 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15742 * window.el (other-window): Fix docstring.
15783 (completion-list-insert-choice-function):
15784 * window.el (window-with-parameter, window-atom-root)
15785 (window-sides-slots, window-size-fixed, window-min-delta)
15786 (window-max-delta, window--resize-mini-window)
15787 (window--resize-child-windows-normal, window-tree)
15788 (delete-other-windows, quit-window, split-window)
15789 (display-buffer-record-window, special-display-buffer-names)
15791 (same-window-p, split-window-sensibly)
15794 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15795 (fit-window-to-buffer, recenter-positions)
15796 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15913 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16119 * files.el (find-file): Don't use force-same-window (bug#10144).
16120 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16121 use pop-to-buffer if the selected window can't be used.
16122 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16145 * window.el (display-buffer--special-action): Doc fix.
16194 * window.el (window-normalize-buffer-to-display):
16262 Use force-same-window.
16274 * window.el (replace-buffer-in-windows): Restore interactive spec.
16320 `window-selected'. Remove calls to `kill-buffer',
16323 the Info file. Restore window positions only when `window-selected'
16357 hscrolled window, not only when auto-hscroll-mode is on.
16381 * window.el (window-max-delta-1, window-min-delta-1)
16382 (window-min-size-1, window-state-get-1, window-state-put-1)
16383 (window-state-put-2): Use "window--" prefix.
16435 * window.el (window-resize, delete-window, split-window):
16436 Replace window-splits by window-combination-resize.
16437 * cus-start.el (window-splits): Replace by window-combination-resize.
16464 * progmodes/idlw-shell.el (idlwave-shell-mode):
16496 * window.el (split-window, window-state-get-1)
16497 (window-state-put-1, window-state-put-2): Rename occurrences of
16498 window-nest to window-combination-limit.
16499 * cus-start.el (window-nest): Rename to window-combination-limit.
16603 * window.el (window-resize, delete-window): Use window-splits
16605 (window-state-get-1, window-state-put-2, window-state-put):
16615 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16626 * window.el (windows-with-parameter): Remove unused function.
16627 (windows-at-side): Rename to window-at-side-list.
16628 (window-check, window-atom-check, window-atom-check-1)
16629 (window-side-check, window-size-ignore, window-size-fixed-1)
16630 (window-in-direction-2): Prefix with "window--".
16631 (window-tree-1): Rename to window--subtree, fix doc-string.
16674 * window.el (window-size-fixed-p): Rewrite doc-string.
16675 (window-resizable-p): Rename to window--resizable-p. Update callers.
16676 (window--resizable): New function. Make all callers of
16677 window-resizable call window--resizable instead.
16678 (window-resizable): Rewrite in terms of window--resizable.
16687 * window.el: Stay away from defsubst.
16688 (window-list-no-nils): Remove.
16689 (window-state-get-1, window-state-get): Use backquote instead.
16698 * window.el (display-buffer-function, special-display-function):
16699 Mention display-buffer-record-window but do not mention
16701 (window-min-delta): Fix doc-string typo.
16705 * window.el (window-total-height, window-total-width): Doc fix.
16706 (window-body-size): Move from C.
16707 (window-body-height, window-body-width): Move to C.
16711 * window.el: Make special-display like display-buffer-alist (bug#9532).
16717 (pop-to-buffer-same-window): Remove display-buffer--special.
16726 * files.el (find-file): Always use selected-window.
16730 * window.el (window-combinations): Make WINDOW argument
16732 (walk-window-subtree, window-atom-check, window-min-delta)
16733 (window-max-delta, window--resize-this-window)
16734 (window--resize-root-window-vertically, window-tree)
16735 (balance-windows, window-state-put): Rewrite doc-strings as to
16737 (window--resize-subwindows-skip-p): Rename to
16738 window--resize-child-windows-skip-p.
16739 (window--resize-subwindows-normal): Rename to
16740 window--resize-child-windows-normal.
16741 (window--resize-subwindows): Rename to
16742 window--resize-child-windows.
16743 (window-or-subwindow-p): Rename to window--in-subtree-p.
16752 * window.el (window-combination-p): Function deleted; its
16754 (window-combinations, window-combined-p): Call window-*-child
16759 * window.el (window-valid-p): Rename from window-any-p.
16760 (window-size-ignore, window-state-get): Callers changed.
16761 (window-normalize-window): Rename from window-normalize-any-window.
16762 New arg LIVE-ONLY, replacing window-normalize-live-window.
16763 (window-normalize-live-window): Delete.
16764 (window-combination-p, window-combined-p, window-combinations)
16765 (walk-window-subtree, window-atom-root, window-min-size)
16766 (window-sizable, window-sizable-p, window-size-fixed-p)
16767 (window-min-delta, window-max-delta, window-resizable)
16768 (window-resizable-p, window-full-height-p, window-full-width-p)
16769 (window-current-scroll-bars, window-point-1, set-window-point-1)
16770 (window-at-side-p, window-in-direction, window-resize)
16771 (adjust-window-trailing-edge, maximize-window, minimize-window)
16772 (window-deletable-p, delete-window, delete-other-windows)
16773 (record-window-buffer, unrecord-window-buffer)
16774 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16775 (quit-window, split-window, window-state-put)
16776 (set-window-text-height, fit-window-to-buffer)
16777 (shrink-window-if-larger-than-buffer): Callers changed.
16786 * window.el (window-body-height, window-body-width): Mention in
16797 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16801 * window.el (quit-window): Call unrecord-window-buffer after
16802 showing another buffer in the window. (Bug#9937)
16813 * help.el (with-help-window): Don't reference
16837 * window.el (window-iso-combination-p, window-iso-combined-p)
16838 (window-iso-combinations): Remove "iso-" infix.
16840 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16841 (window-max-delta-1, window-resize, window--resize-siblings)
16842 (window--resize-this-window, adjust-window-trailing-edge)
16843 (split-window, balance-windows-1)
16844 (shrink-window-if-larger-than-buffer):
16845 * calendar/calendar.el (calendar-generate-window):
16846 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16871 * window.el (split-window-below, split-window-right): Rename from
16872 split-window-above-each-other and split-window-side-by-side
16874 (split-window-sensibly, split-window-sensibly): Use them.
16875 (split-window-keep-point): Doc fix.
16877 * isearch.el: Add isearch-scroll property to split-window-below
16878 and split-window-right.
16884 * image-dired.el (image-dired-dired-with-window-configuration):
16887 * bs.el (bs--show-with-configuration):
16892 * progmodes/fortran.el (fortran-window-create):
16893 * net/newst-treeview.el (newsticker--treeview-window-init):
17116 last fix. Use window-in-direction correctly.
17120 * progmodes/idlwave.el (idlwave-mode):
17127 * mouse.el (mouse-drag-window-above)
17128 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17130 (mouse-drag-vertical-line-rightward-window): Remove.
17134 * window.el (window-at-side-p, windows-at-side): New functions.
17143 * progmodes/idlwave.el (idlwave-mode):
17167 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17350 * minibuffer.el (completion--replace): Inherit surrounding properties
17362 window on right of selected. (Bug#9350) Reword other window
17439 using completion. Protect against "slow" callers.
17460 * minibuffer.el (completion-file-name-table): Fix last change,
17465 * window.el (special-display-buffer-names)
17477 * window.el (frame-auto-hide-function): Add version tag.
17509 * window.el (window--delete): Delete dedicated frame
17544 * window.el (frame-auto-hide-function): New option replacing
17546 (window--delete): Call frame-auto-hide-function instead of
17548 (window-point-1, set-window-point-1): New functions.
17549 (window-in-direction, record-window-buffer, window-state-get-1)
17550 (display-buffer-record-window): Use window-point-1 instead of
17551 window-point.
17552 (set-window-buffer-start-and-point): Use set-window-point-1.
17578 * window.el (window--delete): New function.
17581 (quit-window): Rewrite using window--delete.
17582 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17583 Pass display-buffer-mark-dedicated to window--display-buffer-2
17589 returns a list (bug#9554). Add remote file name completion.
17596 * minibuffer.el (completion-table-case-fold): Use currying.
17597 (completion--styles-type, completion--cycling-threshold-type):
17599 (completion-styles, completion-category-overrides)
17600 (completion-cycle-threshold): Use them.
17602 completion-table-case-fold.
17606 * minibuffer.el (completion-category-overrides): Fix type of styles
17621 (pcomplete--entries): Use comint-completion-file-name-table.
17623 (comint-completion-file-name-table): New function (bug#9616).
17641 * progmodes/idlw-help.el (idlwave-help-mode-map):
17674 window is hscrolled, move by logical lines. (Bug#9607)
17679 * window.el (display-buffer-record-window): When WINDOW is the
17680 selected window use `point' instead of `window-point'. (Bug#9626)
17685 * help.el (help-window): Remove variable.
17714 * minibuffer.el (completion-styles)
17715 (completion-category-overrides): Cross reference each other in doc
17830 * window.el (pop-to-buffer): Ensure right window is selected if we
17841 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17874 * window.el (quit-window): Undedicate window when switching to
17887 * window.el (set-window-buffer-start-and-point):
17888 Call set-window-start with NOFORCE argument t.
17890 (quit-window): Reword doc-string. Handle new format of
17891 quit-restore parameter. Don't delete window if it has a
17893 (display-buffer-record-window): Rewrite using a new format for
17894 the quit-restore window parameter
17895 (special-display-popup-frame, display-buffer-same-window)
17896 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17897 (display-buffer-pop-up-window, display-buffer-use-some-window):
17898 Adapt symbol passed to display-buffer-record-window.
17899 * help.el (help-window-setup): Handle new format of quit-restore
17906 * window.el (display-buffer--action-function-custom-type):
17934 * minibuffer.el (completion-file-name-table): Keep track of errors.
17935 (completion-table-with-predicate): Handle the case where pred1 is nil.
17989 to `isearch-case-fold-search' and restore its original value
18023 (icomplete-mode): Don't set completion-show-inline-help.
18024 (icomplete-minibuffer-setup): Set completion-show-inline-help
18077 Fix call to completion-in-region. (Bug#9526)
18092 * window.el (window-safe-min-height, window-safe-min-width):
18097 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18112 * window.el (display-buffer-base-action): Rename from
18146 bibtex-completion-at-point-function.
18147 (bibtex-completion-at-point-function): Use them.
18152 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18166 window (Bug#9499).
18172 * window.el (display-buffer-window): Remove.
18173 (display-buffer-record-window): Use help-setup window parameter
18174 instead of variable display-buffer-window.
18177 of display-buffer-window in doc-string.
18178 * help.el (help-window-setup): New argument help-window.
18179 Use help-window-setup parameter instead of display-buffer-window.
18181 (with-help-window): Pass window used for displaying the buffer
18182 to help-window-setup. Don't set display-buffer-window.
18191 * window.el (window-deletable-p): Use next-frame.
18195 * window.el (window-auto-delete): Remove.
18196 (window-deletable-p): Remove argument FORCE. Don't deal with
18198 (switch-to-prev-buffer): Don't delete window.
18199 (delete-windows-on): Delete a window's frame if and only if the
18200 window is dedicated.
18201 (replace-buffer-in-windows): Delete buffer's window or frame if
18202 and only if window is dedicated.
18203 (quit-window): Handle quit-restore as before last change.
18204 (bury-buffer): Delete window only if window-deletable-p returns t.
18208 * window.el (window-deletable-p): Never delete the last frame on a
18242 * window.el (display-buffer--action-function-custom-type)
18255 Change modes that used same-window-* vars to use switch-to-buffer.
18257 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18261 (customize-browse, custom-buffer-create-other-window):
18262 Use switch-to-buffer or switch-to-buffer-other-window.
18270 (mail-recover): Use switch-to-buffer-other-window.
18312 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
18314 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
18324 special-display and same-window variables.
18325 (mail-other-window): Use switch-to-buffer-other-window.
18332 * progmodes/gud.el (gud-goto-info): Use info-other-window.
18334 * progmodes/python.el: Don't set same-window-buffer-names.
18338 * window.el (display-buffer-alist): Add *Python*.
18342 * window.el (display-buffer-alist): Add entry for buffers
18343 previously handled same-window-*.
18347 (display-buffer--same-window-action)
18351 (display-buffer-reuse-selected-window): Function deleted.
18352 (display-buffer-reuse-window): Handle reusable-frames alist entry.
18355 (display-buffer--maybe-pop-up-frame-or-window): Rename from
18356 display-buffer-reuse-or-pop-window. Split off special-display
18358 (display-buffer-use-some-window): Don't perform any special
18360 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
18361 (display-buffer--maybe-same-window): Rename from
18362 display-buffer-maybe-same-window.
18364 * info.el: Don't set same-window-regexps.
18366 (info-other-window, info): Call it.
18368 * cus-edit.el: Don't set same-window-regexps.
18370 (customize-group-other-window): Use it.
18371 (customize-face, customize-face-other-window): Likewise.
18372 (custom-buffer-create-other-window): Use pop-to-buffer directly.
18376 * progmodes/gud.el: Don't set same-window-regexps.
18382 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
18448 * window.el (window-deletable-p): Make sure window is live before
18449 invoking window-prev-buffers.
18462 * window.el (frame-auto-delete): Rename to window-auto-delete.
18464 (window-deletable-p): New argument FORCE. Rewrite conditions
18465 for deleting window/frame. (Bug#9419)
18466 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18467 Rewrite handling of case when window/frame can be deleted.
18468 (delete-windows-on): Call window-deletable-p with new FORCE
18586 * window.el (window-deletable-p): Don't return a non-nil value
18587 when there's a buffer that was shown in the window before.
18589 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18590 Set window's previous buffers to nil.
18604 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18621 * window.el (display-buffer-alist): Doc fix.
18624 (display-buffer-reuse-selected-window)
18625 (display-buffer-same-window, display-buffer-maybe-same-window)
18626 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18627 (display-buffer-pop-up-window)
18628 (display-buffer-reuse-or-pop-window)
18629 (display-buffer-use-some-window): New functions.
18636 * minibuffer.el (completion--insert-strings): Don't get confused by
18637 completion entries that end with an LF char.
18641 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18645 * window.el (display-buffer): Restore interactive spec.
18646 (display-buffer-same-window, display-buffer-other-window):
18649 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18650 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18652 * view.el (view-buffer-other-window, view-buffer-other-frame):
18673 * window.el (display-buffer-window): Rewrite doc-string.
18674 (display-buffer-record-window): New function.
18676 (display-buffer-even-window-sizes, display-buffer-set-height)
18677 (display-buffer-set-width, display-buffer-in-window)
18678 (display-buffer-reuse-window, display-buffer-split-specifiers)
18679 (display-buffer-side-specifiers, display-buffer-split-window-1)
18680 (display-buffer-split-window, display-buffer-split-atom-window)
18681 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18682 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18683 (display-buffer-other-window-means-other-frame)
18689 (display-buffer-same-window, display-buffer-same-frame)
18690 (display-buffer-other-window)
18691 (display-buffer-same-frame-other-window)
18692 (display-buffer-other-frame, pop-to-buffer-same-window)
18693 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18694 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18696 (switch-to-buffer-other-window-same-frame)
18702 In doc-string refer to display-buffer-window and quit-restore
18706 (same-window-buffer-names, same-window-regexps, same-window-p)
18708 (split-window-preferred-function, split-height-threshold)
18709 (split-width-threshold, window-splittable-p)
18710 (split-window-sensibly, window--try-to-split-window)
18711 (window--frame-usable-p, even-window-heights)
18712 (window--even-window-heights, window--display-buffer-1)
18713 (window--display-buffer-2, display-buffer-other-frame):
18721 window-normalize-buffer-to-display.
18722 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18724 window-normalize-buffer-to-switch-to.
18725 (pop-to-buffer-same-window): Rewrite.
18726 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18732 (tramp-completion-file-name-regexp-unified)
18733 (tramp-completion-file-name-regexp-separate)
18734 (tramp-completion-file-name-regexp-url): Don't use leading volume
18800 * window.el (display-buffer-reuse-window): Fix case where
18801 selected window was reused with non-nil OTHER-WINDOW argument.
18855 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18884 * window.el (quit-window): Rename from quit-restore-window.
18885 Use same arglist as old quit-window.
18888 * view.el (view-mode-exit): Use quit-window.
18945 * help.el (help-window-setup): Fix message displayed when other
18946 window is reused. (Bug#9341)
18950 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18956 (shell-completion-vars): Use it instead (bug#9160).
19070 * window.el (display-buffer-reuse-window)
19071 (display-buffer-pop-up-window): Don't reuse or split a side
19072 window.
19119 * window.el (display-buffer-pop-up-frame): Run frame creation
19161 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19247 (epg-wait-for-completion): Reverse errors list.
19276 * window.el (display-buffer-same-window)
19277 (display-buffer-same-frame, display-buffer-other-window)
19278 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19279 (pop-to-buffer-other-window)
19280 (pop-to-buffer-same-frame-other-window)
19332 * window.el (display-buffer-in-window): Don't set dedicated status
19333 of window here (Bug#9215).
19334 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19335 (display-buffer-pop-up-side-window)
19336 (display-buffer-in-side-window): Set dedicated status of window here.
19430 * window.el (display-buffer-pop-up-window)
19431 (display-buffer-pop-up-side-window)
19432 (display-buffer-in-side-window): Call display-buffer-set-height
19433 and display-buffer-set-width after setting the new window's
19434 buffer so `fit-window-to-buffer' and friends work on the right buffer.
19465 * window.el (display-buffer-alist-of-strings-p)
19521 * window.el (pop-to-buffer): Select window used even if it was
19572 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19634 * window.el (display-buffer-normalize-special):
19635 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19650 * bookmark.el (bookmark-bmenu-2-window):
19655 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19674 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19747 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19796 Use pop-to-buffer-same-window.
19862 * window.el (display-buffer-normalize-default): Don't invert
19863 meaning of even-window-heights. Reported by Eli Zaretskii
19872 * window.el (display-buffer): Fix arguments to
19873 display-buffer-reuse-window in last change.
19887 * window.el (display-buffer-default-specifiers): Remove.
19890 (display-buffer-reuse-window): New optional argument other-window.
19891 (display-buffer-pop-up-window): Allow splitting internal
19892 windows. Check whether a live window was created.
19893 (display-buffer-other-window-means-other-frame)
19896 other-window specifier.
19902 (display-buffer): Process other-window specifier and call
19903 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19905 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19907 (display-buffer-in-window, display-buffer-alist-set):
20037 * window.el (next-buffer, previous-buffer): Signal an error if
20038 called from a minibuffer window.
20101 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20108 (sql-product-alist): Add product :completion-object,
20109 :completion-column, and :statement attributes.
20140 (sql-oracle-save-settings, sql-oracle-restore-settings)
20142 (sql-completion-object, sql-completion-column)
20143 (sql-completion-sqlbuf): New variables.
20145 (sql-try-completion): New functions.
20149 (sql-oracle-completion-types): New variable.
20150 (sql-oracle-completion-object, sql-sqlite-completion-object)
20151 (sql-postgres-completion-object): New functions.
20155 * window.el (pop-to-buffer): Doc fix.
20163 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20175 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20232 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20257 * window.el (window-min-height): Fix typos in docstrings.
20339 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
20343 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
20501 * minibuffer.el (completion-in-region): Document PREDICATE
20523 * window.el (window-state-get-1): Don't assign clone numbers.
20524 Add clone-of item to list of window parameters.
20525 (window-state-put-2): Don't process clone numbers.
20534 * minibuffer.el (minibuffer-local-completion-map)
20536 (minibuffer-local-filename-completion-map): Move initialization from C;
20540 minibuffer-local-filename-completion-map with either
20542 minibuffer-local-filename-completion-map.
20558 (vc-bzr-revision-completion-table): Add support for annotate and date.
20597 * window.el (same-window-buffer-names, same-window-regexps)
20598 (same-window-p, special-display-frame-alist)
20603 (split-window-preferred-function, split-height-threshold)
20604 (split-width-threshold, even-window-heights)
20605 (display-buffer-mark-dedicated, window-splittable-p)
20606 (split-window-sensibly, window-safely-shrinkable-p):
20644 * window.el (bury-buffer): Don't iconify the only frame.
20759 * window.el (normalize-live-buffer): Rename to
20760 window-normalize-buffer.
20761 (normalize-live-frame): Rename to window-normalize-frame.
20762 (normalize-any-window): Rename to window-normalize-any-window.
20763 (normalize-live-window): Rename to window-normalize-live-window.
20764 (make-window-atom): Rename to window-make-atom.
20765 (window-resize-reset): Rename to window--resize-reset.
20766 (window-resize-reset-1): Rename to window--resize-reset-1.
20767 (resize-mini-window): Rename to window--resize-mini-window.
20769 window--resize-subwindows-skip-p.
20771 window--resize-subwindows-normal.
20772 (resize-subwindows): Rename to window--resize-subwindows.
20773 (resize-other-windows): Rename to window--resize-siblings.
20774 (resize-this-window): Rename to window--resize-this-window.
20775 (resize-root-window): Rename to window--resize-root-window.
20776 (resize-root-window-vertically): Rename to
20777 window--resize-root-window-vertically.
20779 window-normalize-buffer-to-display.
20781 window-normalize-buffer-to-switch-to.
20802 * window.el (display-buffer-in-side-window): Handle dedicated
20803 windows as in display-buffer-reuse-window.
20807 other-window-means-other-frame specifier.
20844 * window.el (window-right, window-left, window-child)
20845 (window-child-count, window-last-child)
20846 (window-iso-combination-p, walk-window-tree-1)
20847 (window-atom-check-1, window-tree-1, delete-window)
20848 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20849 new naming conventions - window-vchild, window-hchild,
20850 window-next and window-prev are now called window-top-child,
20851 window-left-child, window-next-sibling and window-prev-sibling
20853 (resize-window-reset): Rename to window-resize-reset.
20854 (resize-window-reset-1): Rename to window-resize-reset-1.
20855 (resize-window): Rename to window-resize.
20856 (window-min-height, window-min-width)
20857 (resize-mini-window, resize-this-window, resize-root-window)
20858 (resize-root-window-vertically, adjust-window-trailing-edge)
20859 (enlarge-window, shrink-window, maximize-window)
20860 (minimize-window, delete-window, quit-restore-window)
20861 (split-window, balance-windows, balance-windows-area-adjust)
20862 (balance-windows-area, window-state-put-2)
20863 (display-buffer-even-window-sizes, display-buffer-set-height)
20864 (display-buffer-set-width, set-window-text-height)
20865 (fit-window-to-buffer): Rename all "resize-window" prefixed
20866 calls to use the "window-resize" prefix convention.
20868 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20986 * window.el (display-buffer-normalize-argument): Rename to
20989 a new frame. Fix code searching for a window showing the buffer
20993 (display-buffer-in-window): Don't undedicate the window if its
20996 (display-buffer-alist): Add choice for same-window macro
21005 avoid deleting the current window in some cases (bug#8911).
21086 * server.el (server-create-window-system-frame): Add parameters arg.
21101 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21139 * window.el (get-lru-window, get-mru-window)
21140 (get-largest-window): Never return a minibuffer window.
21141 (display-buffer-pop-up-window): Fix a bug that could lead to
21142 reusing the minibuffer window.
21190 * window.el (display-buffer-default-specifiers)
21193 (split-window): Normalize SIDE argument (Bug#8916).
21197 Remove duplicate declarations. These are now in window.el.
21234 * term/ns-win.el (ns-initialize-window-system):
21249 * window.el (display-buffer-alist): In default value do not
21250 enforce searching a window on any but the selected frame.
21252 (display-buffer-select-window): Remove function.
21253 (display-buffer-in-window): When a window on another frame gets
21259 window if it is on another frame.
21263 'same-frame-other-window instead of 'other-window when associating
21298 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
21299 (completion-try-completion, completion-all-completions): Compute the
21302 * wid-edit.el: Use lex-bind and move towards completion-at-point.
21303 (widget-complete): Use new :completion-function property.
21305 (default): Use :completion-function instead of :complete.
21317 (pascal-mode-map): Use completion-at-point.
21322 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
21323 Signal absence of completion info for old Octave,
21325 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
21327 adapt it for use on completion-at-point-functions.
21331 (meta-common-mode-map): Use completion-at-point.
21332 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
21333 (makefile-mode-map): Use completion-at-point.
21335 adapt it for use on completion-at-point-functions.
21355 * window.el (display-buffer-other-window-means-other-frame):
21373 (window-deletable-p): Use frame-auto-delete.
21374 (window-list-no-nils, window-state-ignored-parameters)
21375 (window-state-get-1, window-state-get, window-state-put-list)
21376 (window-state-put-1, window-state-put-2, window-state-put):
21404 * window.el (display-buffer-default-specifiers):
21405 Remove pop-up-frame. Add pop-up-window-min-height,
21406 pop-up-window-min-width, and another reuse-window specifier
21410 pop-up-windows is unset. Add a reuse-window specifier for the
21411 case popping up a new window fails.
21417 * shell.el (shell-completion-vars): Set pcomplete-termination-string
21418 according to comint-completion-addsuffix.
21424 (pcomplete-comint-setup): Setup completion-at-point as well.
21427 (pcomplete-entries): Rewrite to work with partial-completion and
21433 * window.el (display-buffer-alist): Set pop-up-window-min-height
21434 and pop-up-window-min-width in default value. Reported by
21436 other-window-means-other-frame.
21438 other-window specifier.
21439 (display-buffer-other-window-means-other-frame): New function.
21441 buffer-name and label. Treat other-window case specially.
21442 (display-buffer-normalize-specifiers-2): Treat other-window case
21450 * window.el (same-window-p): Fix two typos introduced when
21455 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
21459 (even-window-heights): Initialize to 'unset.
21462 other window case.
21466 * window.el (display-buffer-normalize-specifiers-1):
21469 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21470 (switch-to-buffer-other-window-same-frame)
21477 (enlarge-window, shrink-window): Don't report an error when the
21478 window can't be resized as requested (Bug#8862).
21506 * window.el (same-window-buffer-names, same-window-regexps)
21511 (pop-up-windows, split-window-preferred-function)
21512 (split-height-threshold, split-width-threshold, even-window-heights)
21526 * window.el (display-buffer-alist): Trim default value to avoid
21527 popping up a new frame (Bug#8857) or reusing an arbitrary window
21544 * help.el (help-window): Remove variable.
21545 (help-window-point-marker, temp-buffer-max-height)
21546 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21547 (help-print-return-message): Don't set help-window.
21548 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21549 (help-window-setup-finish): Remove.
21550 (help-window-display-message, help-window-setup)
21551 (with-help-window): Major rewrite based on new
21552 display-buffer-window variable.
21554 * help-mode.el (help-mode-finish): Remove help-window related
21560 (view-buffer): Call pop-to-buffer-same-window and remove
21561 undo-window code.
21562 (view-buffer-other-window): Call pop-to-buffer-other-window and
21568 Rewrite using quit-restore window parameters.
21570 Rewrite using quit-restore-window.
21574 (view-end-message): Use quit-restore window parameter.
21576 * window.el (display-buffer-function): Rewrite doc-string.
21577 (display-buffer-window, display-buffer-alist): New variables.
21581 (display-buffer-even-window-sizes, display-buffer-set-height)
21582 (display-buffer-set-width, display-buffer-select-window)
21583 (display-buffer-in-window, display-buffer-reuse-window)
21584 (display-buffer-split-window-1, display-buffer-split-window)
21585 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21586 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21587 (display-buffer-in-side-window, normalize-buffer-to-display)
21593 (display-buffer-other-window, display-buffer-other-frame)
21594 (pop-to-buffer, switch-to-buffer-other-window)
21596 (display-buffer-same-window, display-buffer-same-frame)
21597 (display-buffer-same-frame-other-window)
21598 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21599 (pop-to-buffer-other-window)
21600 (pop-to-buffer-same-frame-other-window)
21602 (switch-to-buffer-other-window-same-frame): New functions.
21603 (same-window-p, special-display-p): Rewrite disabling warnings.
21608 (same-window-buffer-names, same-window-regexps)
21612 (pop-up-frame-function, split-window-preferred-function)
21614 (even-window-heights): Make obsolete.
21623 * window.el (window-safely-shrinkable-p): Restore function which
21627 * calendar/calendar.el (calendar-generate-window):
21628 Use window-iso-combined-p instead of combination of one-window-p and
21629 window-safely-shrinkable-p.
21657 * calendar/appt.el (appt-disp-window-function): Doc fix.
21662 * window.el (window-tree-1, window-tree): New functions, moving
21663 the latter to window.el.
21668 (balance-windows): Rewrite in terms of window tree functions,
21670 (bw-adjust-window): Remove.
21672 bw-adjust-window but using resize-window.
21673 (set-window-text-height): Rewrite doc-string.
21674 Use normalize-live-window and resize-window.
21675 (enlarge-window-horizontally, shrink-window-horizontally):
21677 (window-buffer-height): New function.
21678 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21679 Rewrite using new window resize routines.
21680 (kill-buffer-and-window, mouse-autoselect-window-select):
21682 (quit-window): Call delete-frame instead of delete-windows-on
21687 * loadup.el (top-level): Load window before files for the sake
21691 (switch-to-buffer-other-window)
21693 Move to window.el.
21696 (previous-buffer): Move to window.el.
21698 * bindings.el (unbury-buffer): Move to window.el.
21700 * window.el (delete-other-windows-vertically): Move after
21702 (other-window, delete-windows-on, replace-buffer-in-windows):
21703 Move here from window.c.
21704 (record-window-buffer, unrecord-window-buffer)
21705 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21712 buffer when window cannot be deleted.
21714 (ctl-x-map): Move binding for other-window from window.c to
21716 (read-buffer-to-switch, switch-to-buffer-other-window)
21724 * window.el (window-min-height, window-min-width): Move here
21725 from window.c. Add defcustoms and rewrite doc-strings.
21726 (resize-mini-window, resize-window): New functions.
21727 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21728 Move here from window.c.
21729 (maximize-window, minimize-window): New functions.
21730 (delete-window, delete-other-windows, split-window): Move here
21731 from window.c.
21732 (window-split-min-size): New function.
21733 (split-window-keep-point): Mention split-window-above-each-other
21734 instead of split-window-vertically.
21735 (split-window-above-each-other, split-window-vertically):
21736 Rename split-window-vertically to split-window-above-each-other
21738 (split-window-side-by-side, split-window-horizontally):
21739 Rename split-window-horizontally to split-window-side-by-side
21741 (ctl-x-map): Move bindings for delete-window,
21742 delete-other-windows and enlarge-window here from window.c.
21743 Replace bindings for split-window-vertically and
21744 split-window-horizontally by bindings for
21745 split-window-above-each-other and split-window-side-by-side.
21747 * cus-start.el (all): Remove entries for window-min-height and
21748 window-min-width. Add entries for window-splits and
21749 window-nest.
21754 (appt-check, appt-disp-window): Use it.
21770 * window.el (resize-window-reset, resize-window-reset-1)
21772 (resize-subwindows, resize-other-windows, resize-this-window)
21773 (resize-root-window, resize-root-window-vertically)
21774 (window-deletable-p, window-or-subwindow-p)
21775 (frame-root-window-p): New functions.
21790 * calendar/appt.el (appt-display-message, appt-disp-window):
21795 * window.el (one-window-p): Move down in code.
21797 (window-current-scroll-bars): Rewrite doc-string.
21798 Normalize live window argument.
21799 (walk-windows, get-window-with-predicate, count-windows):
21800 Rewrite doc-string. Use window-list-1.
21801 (window-in-direction-2, window-in-direction, get-mru-window):
21824 * window.el (window-height): Defalias to window-total-height.
21825 (window-width): Defalias to window-body-width.
21846 * window.el (get-lru-window, get-largest-window): Move here from
21847 window.c. Rename first argument to ALL-FRAMES.
21849 (get-buffer-window-list): Rewrite using window-list-1.
21851 (window-safe-min-height, window-safe-min-width): New constants.
21852 (window-size-ignore, window-min-size, window-min-size-1)
21853 (window-sizable, window-sizable-p, window-size-fixed-1)
21854 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21855 (window-max-delta-1, window-max-delta, window-resizable)
21856 (window-resizable-p, window-total-height, window-total-width)
21857 (window-body-width): New functions.
21858 (window-full-height-p, window-full-width-p): Rewrite using
21859 window-total-size.
21860 (window-body-height): Rewrite using window-body-size.
21864 * window.el (window-right, window-left, window-child)
21865 (window-child-count, window-last-child, window-any-p)
21867 (normalize-any-window, normalize-live-window)
21868 (window-iso-combination-p, window-iso-combined-p)
21869 (window-iso-combinations)
21870 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21871 (windows-with-parameter, window-with-parameter)
21872 (window-atom-root, make-window-atom, window-atom-check-1)
21873 (window-atom-check, window-side-check, window-check):
21875 (ignore-window-parameters, window-sides, window-sides-vertical)
21876 (window-sides-slots): New variables.
21877 (window-size-fixed): Move down in code. Minor doc-string fix.
21883 completion-in-region.
21940 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21944 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21945 (tramp-completion-function-alist-ssh)
21946 (tramp-completion-function-alist-telnet)
21947 (tramp-completion-function-alist-su)
21948 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21954 load "tramp.el" `tramp-set-completion-function'.
21960 (shell-completion-vars): Set pcomplete-default-completion-function.
21964 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22012 * international/quail.el (quail-mouse-choose-completion): Remove unused
22014 (quail-choose-completion-string): Remove.
22019 Replace completion-annotate-function with completion-extra-properties.
22029 (restore-overriding-map): Adjust.
22064 (completion-table-dynamic): Return nil for the metadata.
22065 (completion-table-with-terminator): Add default case, using
22067 (completion--metadata): New function.
22068 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22070 (completion--embedded-envvar-table): Return `category' metadata.
22078 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22088 * minibuffer.el: Add metadata method to completion tables.
22089 (completion-category-overrides): New defcustom.
22090 (completion-metadata, completion--field-metadata)
22091 (completion-metadata-get, completion--styles)
22092 (completion--cycle-threshold): New functions.
22093 (completion-try-completion, completion-all-completions):
22094 Add `metadata' argument to choose completion-styles.
22095 (completion--do-completion): Use metadata to choose cycling.
22096 (completion-all-sorted-completions): Use metadata for sorting.
22097 Remove :completion-cycle-penalty which is not needed any more.
22098 (completion--try-word-completion): Add `metadata' argument.
22099 (minibuffer-completion-help): Check metadata for annotation function
22101 (completion-file-name-table): Return `category' metadata.
22105 completion-try-completion.
22214 * minibuffer.el (completion--capf-wrapper): Check applicability before
22215 returning non-nil for non-exclusive completion data.
22216 * progmodes/etags.el (tags-completion-at-point-function):
22221 * info-look.el: Convert to lexical-binding and completion-at-point.
22223 (info-complete): Use it and completion-in-region.
22354 Add an :exit-function for completion-at-point.
22356 * minibuffer.el (completion--done): New fun.
22357 (completion--do-completion): Use it. New arg `expect-exact'.
22359 since completion--do-completion does it for us now.
22360 (minibuffer-force-complete): Use completion--done and
22361 completion--replace. Handle sole-completion case with more care.
22363 (completion-extra-properties): New var.
22364 (completion-annotate-function): Make obsolete.
22365 (minibuffer-completion-help): Adjust accordingly.
22366 Use completion-list-insert-choice-function.
22367 (completion-at-point, completion-help-at-point):
22368 Bind completion-extra-properties.
22369 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
22370 * simple.el (completion-list-insert-choice-function): New var.
22371 (completion-setup-function): Preserve it.
22372 (choose-completion): Pay attention to it, shuffle the code a bit.
22373 (choose-completion-string): New arg `insert-function'.
22376 (bibtex-mode-map): Use completion-at-point.
22377 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
22378 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
22382 * shell.el (shell--command-completion-data)
22383 (shell-environment-variable-completion):
22386 instead of completion-table-with-terminator so it also works for
22387 choose-completion.
22485 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22549 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22557 (appt-disp-window-function, appt-delete-window-function):
22769 * shell.el (shell-completion-vars): New function.
22786 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22926 mailclient-send-it even if window-system is nil. (Bug#8595)
23069 * minibuffer.el (completion--message): New function.
23070 (completion--do-completion, minibuffer-complete)
23072 (completion--do-completion): Don't ignore completion-auto-help when in
23110 (minibuffer-local-shell-command-map): Use completion-at-point.
23111 (read-shell-command): Setup completion vars here instead.
23112 (read-expression-map): Bind TAB to symbol completion.
23142 completion-at-point.
23169 * minibuffer.el (completion-at-point, completion-help-at-point):
23170 Don't presume that a given completion-at-point-function will always
23177 completion functions.
23226 Fix octave-inf completion problems reported by Alexander Klimov.
23230 (inferior-octave-completion-at-point): New function.
23231 (inferior-octave-complete): Use it and completion-in-region.
23233 comint-filename-completion.
23315 * minibuffer.el (completion--do-completion): Avoid the "Next char
23556 * shell.el: Use lexical-binding and std completion UI.
23561 (shell-command-completion, shell--command-completion-data)
23562 (shell-filename-completion, shell-environment-variable-completion)
23570 * comint.el: Clean up use of completion-at-point-functions.
23571 (comint-completion-at-point): New function.
23572 (comint-mode): Use it completion-at-point-functions.
23578 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23579 termination strings. Try harder to avoid second try-completion.
23580 (completion-in-region-mode-map): Disable bindings that don't work yet.
23583 (comint-dynamic-complete-functions): Use comint-filename-completion.
23584 (comint-completion-addsuffix): Tweak custom type.
23585 (comint-filename-completion, comint--common-suffix)
23592 * minibuffer.el (completion-in-region-mode):
23593 Keep completion-in-region-mode--predicate global.
23594 (completion-in-region--postch):
23595 Assume completion-in-region-mode--predicate is not null.
23655 * iswitchb.el (iswitchb-completion-help):
23671 * register.el (window-configuration-to-register)
23672 (frame-configuration-to-register):
23713 * completion.el (cmpl-statistics-block): Mark unused parameter.
23751 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23760 (desktop-restore-file-buffer): Rename desktop-* parameters;
23814 (display-buffer-other-frame): Remove unused variable `old-window'.
23907 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23913 Remove unused variable `orig-window-frame'.
24027 (windmove-find-other-window): Don't pass it.
24029 * window.el (count-windows): Mark unused parameter.
24030 (bw-adjust-window): Remove unused variable `err'.
24066 * calendar/calendar.el (calendar-generate-window):
24094 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24095 (mail-mode): Setup mailalias completion here instead.
24098 (mail-completion-at-point-function): New function, from mail-complete.
24100 (mail-completion-expand): New function.
24112 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24122 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24125 (gud-gdb-completion-at-point): New function.
24139 * minibuffer.el (completion-in-region-mode-predicate)
24140 (completion-in-region-mode--predicate): New vars.
24141 (completion-in-region, completion-in-region--postch)
24142 (completion-in-region-mode): Use them.
24143 (completion--capf-wrapper): Also return the hook function.
24144 (completion-at-point, completion-help-at-point):
24192 * minibuffer.el (completion-show-inline-help): New var.
24193 (completion--do-completion, minibuffer-complete)
24195 Inhibit minibuffer messages if completion-show-inline-help is nil.
24197 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24218 * doc-view.el (doc-view-fit-width-to-window)
24219 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24220 New functions for fitting the shown image to the Emacs window size.
24256 Test system-type, not system-configuration.
24341 * minibuffer.el (completion-in-region--postch)
24342 (completion-in-region-mode): Remove unnecessary messages.
24360 (Info-restore-desktop-buffer): Mark unused parameters.
24394 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24460 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
24474 (save-window-excursion, with-output-to-temp-buffer): Turn them
24486 (describe-variable): Use special-variable-p for completion.
24595 (byte-compile-save-window-excursion)
24611 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24687 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24688 (completion-in-region-mode): New minor mode.
24689 (completion-in-region): Use it.
24690 (completion-in-region--data, completion-in-region-mode-map): New vars.
24691 (completion-in-region--postch): New function.
24692 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24694 (completion--capf-wrapper): New function.
24695 (completion-at-point): Use it to track well-behavedness of
24697 (completion-help-at-point): New command.
24764 * minibuffer.el (completion--flush-all-sorted-completions):
24766 (completion-at-point): Let the functions perform the completion
24769 completion-at-point-functions.
24773 (comint-dynamic-complete): Use completion-at-point.
24817 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24891 inside with-help-window.
24893 column, instead of checking window-width.
24986 * minibuffer.el (completion-all-sorted-completions):
24987 Use :completion-cycle-penalty text property if present.