- 07 Nov, 2011 1 commit
-
-
Martin Rudalics authored
* window.h: Declare delete_all_child_windows instead of delete_all_subwindows. * window.c (Fwindow_nest, Fset_window_nest) (Fset_window_new_total, Fset_window_new_normal) (Fwindow_resize_apply): Don't use term subwindow in doc-strings. (delete_all_subwindows): Rename to delete_all_child_windows. (Fdelete_other_windows_internal, Fset_window_configuration): Call delete_all_child_windows instead of delete_all_subwindows. * frame.c (delete_frame): Call delete_all_child_windows instead of delete_all_subwindows. * window.el (window-combinations): Make WINDOW argument mandatory. Rewrite doc-string. (walk-window-subtree, window-atom-check, window-min-delta) (window-max-delta, window--resize-this-window) (window--resize-root-window-vertically, window-tree) (balance-windows, window-state-put): Rewrite doc-strings as to not mention the term "subwindow". (window--resize-subwindows-skip-p): Rename to window--resize-child-windows-skip-p. (window--resize-subwindows-normal): Rename to window--resize-child-windows-normal. (window--resize-subwindows): Rename to window--resize-child-windows. (window-or-subwindow-p): Rename to window--in-subtree-p. * windows.texi (Resizing Windows, Splitting Windows) (Window Configurations): Use "child window" instead of "subwindow".
-
- 06 Nov, 2011 1 commit
-
-
Chong Yidong authored
* lisp/window.el (window-combination-p): Function deleted; its side-effect is not used in any existing code. (window-combinations, window-combined-p): Call window-*-child directly. * window.c (Fwindow_live_p, Fwindow_frame, Fframe_root_window) (Fminibuffer_window, Fwindow_buffer, Fwindow_splits) (Fset_window_splits, Fwindow_nest, Fset_window_nest) (Fwindow_use_time, Fwindow_total_size, Fwindow_normal_size) (Fwindow_new_normal, Fwindow_left_column, Fwindow_top_line) (Fwindow_margins, Fwindow_fringes, Fwindow_scroll_bars) (Fwindow_vscroll): Doc fix. (Fwindow_top_child, Fwindow_left_child): Eliminate a nil default argument, since it makes no sense to pass a live window and for consistency with window-child.
-
- 05 Nov, 2011 2 commits
-
-
Chong Yidong authored
New arg LIVE-ONLY, replacing window-normalize-live-window. (window-normalize-live-window): Deleted. (window-combination-p, window-combined-p, window-combinations) (walk-window-subtree, window-atom-root, window-min-size) (window-sizable, window-sizable-p, window-size-fixed-p) (window-min-delta, window-max-delta, window-resizable) (window-resizable-p, window-full-height-p, window-full-width-p) (window-current-scroll-bars, window-point-1, set-window-point-1) (window-at-side-p, window-in-direction, window-resize) (adjust-window-trailing-edge, maximize-window, minimize-window) (window-deletable-p, delete-window, delete-other-windows) (record-window-buffer, unrecord-window-buffer) (switch-to-prev-buffer, switch-to-next-buffer, window--delete) (quit-window, split-window, window-state-put) (set-window-text-height, fit-window-to-buffer) (shrink-window-if-larger-than-buffer): Callers changed.
-
Chong Yidong authored
(window-normalize-any-window, window-size-ignore) (window-state-get): Callers changed.
-
- 04 Nov, 2011 1 commit
-
-
Eli Zaretskii authored
src/window.c (Fwindow_body_size): Mention in the doc string that the return value is in frame's canonical units. lisp/window.el (window-body-height, window-body-width): Mention in the doc string that the return values are in frame's canonical units. doc/lispref/windows.texi (Window Sizes): Mention in the doc string that the return values of `window-body-height' and `window-body-width' are in frame's canonical units.
-
- 02 Nov, 2011 2 commits
-
-
Stefan Monnier authored
-
Martin Rudalics authored
* window.el (quit-window): Call unrecord-window-buffer after showing another buffer in the window. (Bug#9937) (bury-buffer): Call switch-to-prev-buffer with second argument 'bury.
-
- 30 Oct, 2011 2 commits
-
-
Martin Rudalics authored
* window.el (window-iso-combination-p, window-iso-combined-p) (window-iso-combinations): Remove "iso-" infix. Suggested by Chong Yidong. (window-min-size-1, window-size-fixed-1, window-min-delta-1) (window-max-delta-1, window-resize, window--resize-siblings) (window--resize-this-window, adjust-window-trailing-edge) (split-window, balance-windows-1) (shrink-window-if-larger-than-buffer): * calendar/calendar.el (calendar-generate-window): * help.el (resize-temp-buffer-window): Adjust callers accordingly. * windows.texi (Windows and Frames): Remove "iso-" infix from documentation of window-iso-combined-p.
-
Chong Yidong authored
to split-window-below and split-window-right. * lisp/window.el (split-window-below, split-window-right): Rename from split-window-above-each-other and split-window-side-by-side respectively. All callers changed. (split-window-sensibly, split-window-sensibly): Use them. (split-window-keep-point): Doc fix. * lisp/isearch.el: Add isearch-scroll property to split-window-below and split-window-right. * lisp/follow.el (follow-mode): * lisp/vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): * lisp/progmodes/ada-xref.el (ada-gdb-application): * lisp/emulation/vip.el (vip-buffer-in-two-windows): * lisp/image-dired.el (image-dired-dired-with-window-configuration): * lisp/dired-x.el (dired-do-find-marked-files): * lisp/dired.el (dired-pop-to-buffer): * lisp/bs.el (bs--show-with-configuration): * lisp/vc/emerge.el (emerge-setup-windows): * lisp/textmodes/two-column.el (2C-two-columns): * lisp/textmodes/reftex-toc.el (reftex-toc): * lisp/progmodes/gdb-mi.el (gdb-setup-windows): * lisp/progmodes/fortran.el (fortran-window-create): * lisp/net/newst-treeview.el (newsticker--treeview-window-init): * lisp/emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode): * lisp/emulation/tpu-edt.el (tpu-gold-map): * lisp/emulation/crisp.el (crisp-mode-map): * lisp/calendar/calendar.el (calendar-basic-setup): Callers changed.
-
- 21 Oct, 2011 1 commit
-
-
Martin Rudalics authored
* mouse.el (mouse-drag-window-above) (mouse-drag-move-window-bottom, mouse-drag-move-window-top) (mouse-drag-mode-line-1, mouse-drag-header-line) (mouse-drag-vertical-line-rightward-window): Remove. (mouse-drag-line): New function. (mouse-drag-mode-line, mouse-drag-header-line) (mouse-drag-vertical-line): Call mouse-drag-line. * window.el (window-at-side-p, windows-at-side): New functions.
-
- 10 Oct, 2011 2 commits
-
-
Martin Rudalics authored
* window.el (quit-windows-on): New function. * vc/vc.el (vc-revert, vc-rollback): * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556) (Bug#6183) (Bug#7074)((Bug#7447)
-
Martin Rudalics authored
* window.el (special-display-buffer-names) (special-display-regexps): Remove some remnants of earlier changes from doc-strings.
-
- 09 Oct, 2011 1 commit
-
-
Martin Rudalics authored
-
- 08 Oct, 2011 2 commits
-
-
Martin Rudalics authored
-
Martin Rudalics authored
* window.el (window--delete): Delete dedicated frame unconditionally when argument KILL is non-nil. (Bug#9699)
-
- 05 Oct, 2011 2 commits
-
-
Martin Rudalics authored
* window.el (window-point-1, set-window-point-1): New functions. (window-in-direction, record-window-buffer, window-state-get-1) (display-buffer-record-window): Use window-point-1 instead of window-point. (set-window-buffer-start-and-point): Use set-window-point-1.
-
Martin Rudalics authored
* window.el (frame-auto-hide-function): New option replacing frame-auto-delete. Suggested by Stefan Monnier. (window--delete): Call frame-auto-hide-function instead of investigating frame-auto-delete.
-
- 04 Oct, 2011 1 commit
-
-
Martin Rudalics authored
* window.el (window--delete): New function. (frame-auto-delete): Resuscitate option. (bury-buffer, replace-buffer-in-windows) (quit-window): Rewrite using window--delete. (display-buffer-pop-up-frame, display-buffer-pop-up-window): Pass display-buffer-mark-dedicated to window--display-buffer-2 (Bug#9639).
-
- 29 Sep, 2011 1 commit
-
-
Martin Rudalics authored
* window.el (display-buffer-record-window): When WINDOW is the selected window use `point' instead of `window-point'. (Bug#9626)
-
- 24 Sep, 2011 1 commit
-
-
Chong Yidong authored
Minor doc fixes for switch-to-buffer, window-prev-buffers, set-window-prev-buffers, set-window-next-buffers.
-
- 23 Sep, 2011 1 commit
-
-
Chong Yidong authored
Otherwise, C-x 5 b might not select the right window if reusing a window on another frame.
-
- 22 Sep, 2011 3 commits
-
-
Chong Yidong authored
* window.el (pop-to-buffer-same-window): New (reinstated) fun. * cmuscheme.el (run-scheme, switch-to-scheme): * cus-edit.el (customize-group, custom-buffer-create) (customize-browse): * info.el (info): * shell.el (shell): * mail/sendmail.el (mail): * progmodes/inf-lisp.el (inferior-lisp): Use it. Fixes: debbugs:9532
-
Martin Rudalics authored
* window.el (special-display-popup-frame): When popping up a new frame reset its previous buffers to nil. Simplify code.
-
Martin Rudalics authored
* window.el (quit-window): Undedicate window when switching to previous buffer. Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
-
- 21 Sep, 2011 2 commits
-
-
Martin Rudalics authored
* window.el (set-window-buffer-start-and-point): Call set-window-start with NOFORCE argument t. Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>. (quit-window): Reword doc-string. Handle new format of quit-restore parameter. Don't delete window if it has a previous buffer we can show instead of the present one. (display-buffer-record-window): Rewrite using a new format for the quit-restore window parameter (special-display-popup-frame, display-buffer-same-window) (display-buffer-reuse-window, display-buffer-pop-up-frame) (display-buffer-pop-up-window, display-buffer-use-some-window): Adapt symbol passed to display-buffer-record-window. * help.el (help-window-setup): Handle new format of quit-restore parameter.
-
Stefan Monnier authored
Don't include internal functions in the Custom interface.
-
- 17 Sep, 2011 2 commits
-
-
Juri Linkov authored
Fixes: debbugs:9522
-
Sven Joachim authored
-
- 15 Sep, 2011 1 commit
-
-
Chong Yidong authored
* lisp/window.el (display-buffer-base-action): Rename from display-buffer-default-action. Make default value empty. (display-buffer-overriding-action): Convert to defvar. (display-buffer-fallback-action): New var.
-
- 14 Sep, 2011 1 commit
-
-
Martin Rudalics authored
* window.el (display-buffer-window): Remove. (display-buffer-record-window): Use help-setup window parameter instead of variable display-buffer-window. (display-buffer-function, special-display-buffer-names) (special-display-function): Mention help-setup parameter instead of display-buffer-window in doc-string. * help.el (help-window-setup): New argument help-window. Use help-window-setup parameter instead of display-buffer-window. Reword some messages. (with-help-window): Pass window used for displaying the buffer to help-window-setup. Don't set display-buffer-window.
-
- 13 Sep, 2011 3 commits
-
-
Chong Yidong authored
-
Martin Rudalics authored
* window.el (window-auto-delete): Remove. (window-deletable-p): Remove argument FORCE. Don't deal with dedicatedness and previous buffers. (switch-to-prev-buffer): Don't delete window. (delete-windows-on): Delete a window's frame if and only if the window is dedicated. (replace-buffer-in-windows): Delete buffer's window or frame if and only if window is dedicated. (quit-window): Handle quit-restore as before last change. (bury-buffer): Delete window only if window-deletable-p returns t.
-
Chong Yidong authored
* src/frame.c (Fother_visible_frames_p): Function deleted.
-
- 11 Sep, 2011 2 commits
-
-
Chong Yidong authored
* lisp/window.el (display-buffer--action-function-custom-type) (display-buffer--action-custom-type): New vars. (display-buffer-alist, display-buffer-default-action) (display-buffer-overriding-action): Add defcustom types.
-
Chong Yidong authored
* cmuscheme.el (run-scheme, switch-to-scheme): * ielm.el (ielm): * shell.el (shell): * net/rlogin.el (rlogin): * net/telnet.el (telnet, rsh): * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer. * cus-edit.el (customize-group, custom-buffer-create) (customize-browse, custom-buffer-create-other-window): Use switch-to-buffer or switch-to-buffer-other-window. * info.el (info, Info-find-node, Info-revert-find-node, Info-next) (Info-prev, Info-up, Info-speedbar-goto-node) (info-display-manual): Use switch-to-buffer. (Info-speedbar-goto-node): Use switch-to-buffer-other-frame. * lisp/gnus/message.el (message-pop-to-buffer): Default to switch-to-buffer. (message-mail-other-window, message-mail-other-frame) (message-news-other-window, message-news-other-frame): Use switch-to-buffer-other-frame and switch-to-buffer-other-window instead of setting buffer display varibles. * mail/sendmail.el (mail): Use switch-to-buffer. (mail-recover): Use switch-to-buffer-other-window. * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows): Use switch-to-buffer.
-
- 10 Sep, 2011 3 commits
-
-
Chong Yidong authored
to avoid using special-display-* and same-window-* variables. * lisp/buff-menu.el (Buffer-menu-switch-other-window): Use second arg of display-buffer. (Buffer-menu-2-window): Use switch-to-buffer-other-window. * lisp/replace.el (occur-mode-goto-occurrence) (occur-mode-display-occurrence) Use second arg of pop-to-buffer and display-buffer. * lisp/window.el (display-buffer-alist): Add *Python*. * lisp/mail/reporter.el (reporter-submit-bug-report): Use second arg of display-buffer. * lisp/mail/sendmail.el (sendmail-user-agent-compose): Don't bind the special-display and same-window variables. (mail-other-window): Use switch-to-buffer-other-window. (mail-other-frame): USe switch-to-buffer-other-frame. * lisp/progmodes/gdb-mi.el (gdb-frame-gdb-buffer): Use display-buffer-other-frame. (gdb-display-gdb-buffer): Use pop-to-buffer. * lisp/progmodes/gud.el (gud-goto-info): Use info-other-window. * lisp/progmodes/python.el: Don't set same-window-buffer-names. * lisp/textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
-
Chong Yidong authored
-
Chong Yidong authored
* lisp/window.el (display-buffer-alist): Add entry for buffers previously handled same-window-*. (display-buffer-alist, display-buffer-default-action) (display-buffer-overriding-action): Mark as risky. (display-buffer-alist): Document action function changes. (display-buffer--same-window-action) (display-buffer--other-frame-action): New variables. (switch-to-buffer, display-buffer-other-frame): Use them. (display-buffer): Rename reuse-frame entry to reusable-frames. (display-buffer-reuse-selected-window): Function deleted. (display-buffer-reuse-window): Handle reusable-frames alist entry. If it's omitted, check pop-up-frames/display-buffer-reuse-frames. (display-buffer-special): New function. (display-buffer--maybe-pop-up-frame-or-window): Rename from display-buffer-reuse-or-pop-window. Split off special-display part into display-buffer-special. (display-buffer-use-some-window): Don't perform any special pop-up-frames handling. (pop-to-buffer): Use window-normalize-buffer-to-switch-to. * lisp/cmuscheme.el: * lisp/ielm.el: * lisp/shell.el: * lisp/mail/sendmail.el: * lisp/progmodes/inf-lisp.el: Don't set same-window-buffer-names. * lisp/cus-edit.el: * lisp/info.el: * lisp/net/rlogin.el: * lisp/net/telnet.el: * lisp/progmodes/gud.el: Don't set same-window-regexps.
-
- 08 Sep, 2011 2 commits
-
-
Martin Rudalics authored
* window.c (Fset_window_prev_buffers, Fset_window_next_buffers): Operate on live windows only. * window.el (window-deletable-p): Make sure window is live before invoking window-prev-buffers.
-
Martin Rudalics authored
* window.el (frame-auto-delete): Rename to window-auto-delete. Make it control auto-deletion of windows and/or frames. (window-deletable-p): New argument FORCE. Rewrite conditions for deleting window/frame. (Bug#9419) (switch-to-prev-buffer, replace-buffer-in-windows, quit-window): Rewrite handling of case when window/frame can be deleted. (delete-windows-on): Call window-deletable-p with new FORCE argument t. (Bug#9456)
-