1. 16 Jun, 2012 1 commit
  2. 01 Jun, 2012 1 commit
    • Dmitry Antipov's avatar
      For a 'struct window', replace some Lisp_Object fields to · c98ff5dd
      Dmitry Antipov authored
      bitfields where appropriate, remove unused fields.
      * window.h (struct window): Remove unused 'last_mark_x' and
      'last_mark_y' fields.  Rename 'mini_p' field to 'mini',
      change it's type from Lisp_Object to bitfield.
      Change type of 'force_start', 'optional_new_start',
      'last_had_star', 'update_mode_line' and 'start_at_line_beg'
      fields from Lisp_Object to bitfield. Adjust users accordingly.
      c98ff5dd
  3. 23 Apr, 2012 1 commit
    • Eli Zaretskii's avatar
      Avoid assertion violation when scrolling minibuffer windows. · f0ee99a0
      Eli Zaretskii authored
       src/xdisp.c (pos_visible_p): If the window start position is beyond
       ZV, start the display from buffer beginning.  Prevents assertion
       violation in init_iterator when the minibuffer window is scrolled
       via the scroll bar.
       src/window.c (window_scroll_pixel_based): Likewise.
      f0ee99a0
  4. 11 Apr, 2012 1 commit
  5. 31 Mar, 2012 1 commit
  6. 12 Mar, 2012 1 commit
    • Chong Yidong's avatar
      Rename inhibit_window_configuration_change_hook to inhibit_lisp_code. · d1f55f16
      Chong Yidong authored
      This is a tweak to 2012-02-23T07:28:21Z!cyd@gnu.org, suggested by Stefan.
      
      * eval.c (inhibit_lisp_code): Rename from
      inhibit_window_configuration_change_hook; move from window.c.
      
      * xfns.c (unwind_create_frame_1, Fx_create_frame):
      * window.c (run_window_configuration_change_hook)
      (syms_of_window): Callers changed.
      d1f55f16
  7. 23 Feb, 2012 2 commits
  8. 12 Feb, 2012 1 commit
  9. 19 Jan, 2012 1 commit
    • Martin Rudalics's avatar
      Fix handling of persistent window parameters. · 34a02f46
      Martin Rudalics authored
      * window.c (save_window_save, Fcurrent_window_configuration)
      (Vwindow_persistent_parameters): Do not use Qstate.  Rewrite
      doc-strings.
      * window.el (window--state-get-1, window-state-get): Do not use
      special state value for window-persistent-parameters.  Rename
      argument IGNORE to WRITABLE.  Rewrite doc-string.
      (window--state-put-2): Reset all window parameters to nil before
      assigning values of persistent parameters.
      * windows.texi (Window Configurations): Rewrite references to
      persistent window parameters.
      (Window Parameters): Fix description of persistent window
      parameters.
      34a02f46
  10. 16 Jan, 2012 1 commit
    • Martin Rudalics's avatar
      Provide persistent window parameters. · 6a6ee00d
      Martin Rudalics authored
      * window.c (Vwindow_persistent_parameters): New variable.
      (Fset_window_configuration, save_window_save): Handle persistent
      window parameters.
      
      * window.el (window-state-ignored-parameters): Remove variable.
      (window--state-get-1): Rename argument MARKERS to IGNORE.
      Handle persistent window parameters.  Make copy of clone-of
      parameter only if requested.  (Bug#10348)
      (window--state-put-2): Install a window parameter only if it has
      a non-nil value or an existing parameter shall be overwritten.
      
      * windows.texi (Window Configurations, Window Parameters):
      Describe persistent window parameters.
      6a6ee00d
  11. 11 Jan, 2012 1 commit
  12. 05 Jan, 2012 1 commit
  13. 13 Dec, 2011 3 commits
  14. 04 Dec, 2011 1 commit
  15. 27 Nov, 2011 1 commit
  16. 23 Nov, 2011 1 commit
  17. 21 Nov, 2011 1 commit
    • Chong Yidong's avatar
      More updates to Windows chapter of Lisp manual. · a9b9b7f5
      Chong Yidong authored
      * doc/lispref/windows.texi (Splitting Windows): Fix error in documentation of
      window-combination-limit.
      (Cyclic Window Ordering): Minor fixes to next-window,
      one-window-p, and get-lru-window docs.  Don't document
      window-list-1.
      (Buffers and Windows): Copyedits.
      (Choosing Window): Document special handling of special-display-*.
      (Choosing Window Options): Fix display-buffer-reuse-frames doc.
      Don't document even-window-heights, which is going away.  Clarify
      which options are obeyed by which action functions.
      
      * src/window.c (Fnext_window, Fprevious_window): Doc fix.
      a9b9b7f5
  18. 20 Nov, 2011 2 commits
  19. 19 Nov, 2011 2 commits
  20. 17 Nov, 2011 2 commits
    • Juanma Barranquero's avatar
      Fix typos. · df85d315
      Juanma Barranquero authored
      df85d315
    • Martin Rudalics's avatar
      Rename window-splits to window-combination-resize. · a0c2d0ae
      Martin Rudalics authored
      * window.c (Vwindow_splits): Rename to
      Vwindow_combination_resize.  Suggested by Juri Linkov.
      (Fsplit_window_internal): Use Vwindow_combination_resize instead
      of Vwindow_splits.
      * window.el (window-resize, delete-window, split-window):
      Replace window-splits by window-combination-resize.
      * cus-start.el (window-splits): Replace by
      window-combination-resize.
      * windows.texi (Resizing Windows, Splitting Windows)
      (Deleting Windows): Use term window-combination-resize instead
      of window-splits.
      a0c2d0ae
  21. 16 Nov, 2011 2 commits
    • Juanma Barranquero's avatar
      Fix typos. · 58179cce
      Juanma Barranquero authored
      58179cce
    • Martin Rudalics's avatar
      Rename window-nest to window-combination-limit. · b6f67890
      Martin Rudalics authored
      * window.h (window): Rename slot "nest" to "combination_limit".
      * window.c (Fwindow_nest): Rename to Fwindow_combination_limit.
      (Fset_window_nest): Rename to Fset_window_combination_limit.
      (Vwindow_nest): Rename to Vwindow_combination_limit.
      (recombine_windows, make_parent_window, make_window)
      (Fsplit_window_internal, saved_window)
      (Fset_window_configuration, save_window_save): Rename all
      occurrences of window_nest to window_combination_limit.
      * window.el (split-window, window-state-get-1)
      (window-state-put-1, window-state-put-2): Rename occurrences of
      window-nest to window-combination-limit.
      * cus-start.el (window-nest): Rename to
      window-combination-limit.
      * windows.texi (Resizing Windows, Splitting Windows): Rename
      occurrences of window-nest to window-combination-limit.
      b6f67890
  22. 14 Nov, 2011 1 commit
  23. 12 Nov, 2011 1 commit
    • Martin Rudalics's avatar
      Don't handle splits status. · 89d61221
      Martin Rudalics authored
      * window.h (window): Remove splits slot.
      * window.c (Fwindow_splits, Fset_window_splits): Remove.
      (Fdelete_other_windows_internal, make_parent_window)
      (make_window, Fsplit_window_internal, Fdelete_window_internal)
      (Fset_window_configuration, save_window_save): Don't deal with
      split status of windows.
      (saved_window): Remove splits slot.
      (Vwindow_splits): Rewrite doc-string.
      * window.el (window-resize, delete-window): Use window-splits
      variable instead of function.
      (window-state-get-1, window-state-put-2, window-state-put):
      Don't deal with windows' splits status.
      * windows.texi (Splitting Windows, Deleting Windows): Remove
      references to splits status of windows.
      89d61221
  24. 09 Nov, 2011 1 commit
  25. 08 Nov, 2011 1 commit
    • Chong Yidong's avatar
      Move low-level window width/height functions to C, and high-level functions to Lisp. · 105216ed
      Chong Yidong authored
      * lisp/window.el (window-total-height, window-total-width): Doc fix.
      (window-body-size): Move from C.
      (window-body-height, window-body-width): Move to C.
      
      * src/window.c (Fwindow_left_column, Fwindow_top_line): Doc fix.
      (Fwindow_body_height, Fwindow_body_width): Move from Lisp.  Signal
      an error if not a live window.
      (Fwindow_total_width, Fwindow_total_height): Move from Lisp.
      (Fwindow_total_size, Fwindow_body_size): Move to Lisp.
      105216ed
  26. 07 Nov, 2011 1 commit
    • Martin Rudalics's avatar
      Remove term "subwindow" from code and documentation. · be7f5545
      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".
      be7f5545
  27. 06 Nov, 2011 1 commit
    • Chong Yidong's avatar
      Delete window-combination-p; tweaks to window-top-child and window-left-child. · 49745b39
      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.
      49745b39
  28. 04 Nov, 2011 1 commit
    • Eli Zaretskii's avatar
      Fix documentation per bug #9949. · 89bd5ee1
      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.
      89bd5ee1
  29. 01 Nov, 2011 1 commit
    • Martin Rudalics's avatar
      Remove unused variable temp-buffer-show-specifiers. · 4ee88440
      Martin Rudalics authored
      * window.c (temp_output_buffer_show): Don't use
      Vtemp_buffer_show_specifiers.
      (Vtemp_buffer_show_specifiers): Remove unused variable.
      * help.el (with-help-window): Don't reference
      temp-buffer-show-specifiers in doc-string.
      4ee88440
  30. 28 Oct, 2011 1 commit
  31. 27 Oct, 2011 1 commit
  32. 15 Oct, 2011 1 commit
  33. 24 Sep, 2011 1 commit