1. 27 Mar, 2012 1 commit
  2. 11 Mar, 2012 1 commit
    • Chong Yidong's avatar
      Doc fixes for save-window-excursion. · 2cc775f9
      Chong Yidong authored
      * lisp/subr.el (save-window-excursion): Doc fix.
      
      * doc/lispref/windows.texi (Window Configurations): save-window-excursion is
      now a macro.
      
      * doc/lispref/display.texi (Temporary Displays): with-output-to-temp-buffer is
      now a macro.
      
      Fixes: debbugs:9979
      2cc775f9
  3. 04 Mar, 2012 1 commit
    • Chong Yidong's avatar
      Update Frames chapter of Lisp manager. Document clipboard manager. · a08a07e3
      Chong Yidong authored
      * doc/emacs/killing.texi (Clipboard): Document clipboard manager.
      
      * doc/lispref/windows.texi (Basic Windows, Coordinates and Windows)
      (Coordinates and Windows):
      * display.texi (Refresh Screen, Line Height, Face Attributes)
      (Overlay Arrow, Beeping, Glyphless Chars): Likewise.
      
      * doc/lispref/frames.texi (Frames): Remove little-used "terminal frame" and
      "window frame" terminology.
      (Frame Parameters, Font and Color Parameters, Initial Parameters)
      (Size and Position, Visibility of Frames): Callers changed.
      (Frames): Clarify which terminals in framep are graphical.
      (Initial Parameters): --geometry is not the only option which adds
      to initial-frame-alist.
      (Position Parameters): Note that icon-left and icon-top are for
      old window managers only.
      (Size Parameters): Sizes are in characters even on graphical
      displays.
      (Management Parameters): Note that window-id and outer-window-id
      can't really be changed, and that auto-raise isn't always obeyed.
      (Cursor Parameters): Document cursor-type explicitly.
      (Size and Position): The aliases set-screen-height and
      set-screen-width have been deleted.
      (Visibility of Frames): Mention "minimization".
      
      * doc/lispref/os.texi (Startup Summary): Minor clarifications.
      (Startup Summary, Suspending Emacs): Standardize on "text
      terminal" terminology.
      a08a07e3
  4. 29 Jan, 2012 1 commit
  5. 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
  6. 16 Jan, 2012 2 commits
    • Juanma Barranquero's avatar
    • 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
  7. 11 Jan, 2012 1 commit
  8. 05 Jan, 2012 1 commit
  9. 13 Dec, 2011 1 commit
    • Martin Rudalics's avatar
      Minor fixes in window handling code and docs. · 454592a6
      Martin Rudalics authored
      * window.c (Vwindow_combination_resize)
      (Vwindow_combination_limit): Use t instead of non-nil in
      doc-strings.
      * window.el (delete-other-windows): Use correct frame in call to
      window-with-parameter.
      * windows.texi (Splitting Windows): Use t instead of non-nil
      when describing window-combination-resize.
      454592a6
  10. 25 Nov, 2011 1 commit
  11. 23 Nov, 2011 1 commit
  12. 21 Nov, 2011 2 commits
    • Martin Rudalics's avatar
      Fix windows.texi typos. · 90151a1e
      Martin Rudalics authored
      90151a1e
    • 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
  13. 20 Nov, 2011 1 commit
    • Martin Rudalics's avatar
      Remove term "status" with "window combination limits". · d2999b1a
      Martin Rudalics authored
      * window.c (Fset_window_combination_limit): Rename argument
      STATUS to LIMIT.
      (Vwindow_combination_limit): Remove "status" from doc-string.
      * windows.texi (Resizing Windows, Splitting Windows): Remove
      term "status" when talking about combination limits.
      d2999b1a
  14. 19 Nov, 2011 1 commit
    • Chong Yidong's avatar
      More updates to Window chapter of Lisp manual. · 7bf54975
      Chong Yidong authored
      * doc/lispref/windows.texi (Splitting Windows): Clarify role of window
      parameters in split-window.  Shorten the example.
      (Deleting Windows): Rewrite intro to handle internal windows.  Fix
      delete-windows-on doc.
      (Selecting Windows): Copyedits.
      7bf54975
  15. 17 Nov, 2011 1 commit
    • 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
  16. 16 Nov, 2011 1 commit
    • 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
  17. 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
  18. 09 Nov, 2011 3 commits
    • Chong Yidong's avatar
      Document window-pixel-edges etc in Lisp manual. · d2ad7ee1
      Chong Yidong authored
      * doc/lispref/windows.texi (Window Sizes): Document window-pixel-edges,
      window-inside-pixel-edges. window-absolute-pixel-edges, and
      window-inside-absolute-pixel-edges.
      (Resizing Windows): shrink-window-if-larger-than-buffer works on
      non-full-width windows.
      d2ad7ee1
    • Martin Rudalics's avatar
      Rewrite window-resizable. · 2cffd681
      Martin Rudalics authored
      * window.el (window-size-fixed-p): Rewrite doc-string.
      (window-resizable-p): Rename to window--resizable-p.  Update
      callers.
      (window--resizable): New function.  Make all callers of
      window-resizable call window--resizable instead.
      (window-resizable): Rewrite in terms of window--resizable.
      * windows.texi (Resizing Windows): Rewrite documentation of
      window-resizable.
      2cffd681
    • Chong Yidong's avatar
  19. 08 Nov, 2011 2 commits
  20. 07 Nov, 2011 2 commits
    • Glenn Morris's avatar
    • 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
  21. 06 Nov, 2011 1 commit
    • Chong Yidong's avatar
      Manual updates for window changes. · 291d142b
      Chong Yidong authored
      * doc/emacs/windows.texi (Basic Window): Add xref to Cursor Display.
      (Split Window): Document negative arg for splitting commands.
      (Other Window): Document mouse-1 in text area of window.
      (Change Window): Don't mention window attributes, since they
      aren't defined.  C-x 1 can't be used with minibuffer windows.
      Windows are no longer auto-deleted.
      (Window Choice): Add xref to Choosing Window in Lisp manual.
      (Window Convenience): Note that windmove disables shift-selection.
      Move M-x compare-windows here from Other Window node.
      
      * doc/emacs/custom.texi (Mouse Buttons):
      * doc/emacs/search.texi (Isearch Scroll):
      * doc/emacs/windows.texi (Split Window): Use new names split-window-below
      and split-window-right.
      
      * doc/lispref/windows.texi (Basic Windows): Clarify various definitions.
      Treat window-normalize-* as internal; don't document them.
      (Windows and Frames): Various clarifications, e.g. non-live
      windows also belong to frames.  Fix window-list description.
      Simplify window nesting example.
      (Splitting Windows, Window Configurations): Use
      split-window-below.
      291d142b
  22. 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
  23. 30 Oct, 2011 1 commit
    • Martin Rudalics's avatar
      Remove "iso-" infix from window combination functions. · 3d8daefe
      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.
      3d8daefe
  24. 11 Oct, 2011 1 commit
  25. 09 Oct, 2011 1 commit
    • Martin Rudalics's avatar
      Describe frame-auto-hide-function and related issues. · d83dc65b
      Martin Rudalics authored
      * buffers.texi (The Buffer List): Describe how bury-buffer deals
      with the selected window.
      * windows.texi (Buffers and Windows): Reformulate text on how
      replace-buffer-in-windows deals with a window.
      (Quitting Windows): Describe how quit-window deals with a
      standalone frame.  Describe new option frame-auto-hide-function.
      d83dc65b
  26. 01 Oct, 2011 2 commits
    • Chong Yidong's avatar
      Fix manual description of display-buffer-pop-up-window. · 717a1362
      Chong Yidong authored
      Also, tweaks to NEWS.
      
      * doc/lispref/windows.texi (Display Action Functions): Fix description of
      display-buffer-pop-up-window.
      717a1362
    • Chong Yidong's avatar
      Document some Emacs 24 scrolling changes. · 550f41cd
      Chong Yidong authored
      * doc/emacs/basic.texi (Moving Point):
      * doc/emacs/custom.texi (Mouse Buttons):
      * doc/emacs/rmail.texi (Rmail Scrolling):
      * doc/emacs/search.texi (Isearch Scroll):
      
      * doc/emacs/display.texi (Scrolling): Replace scroll-up/down with
      scroll-up/down-command.  Fix scroll-preserve-screen-position
      description.  Document scroll-error-top-bottom.
      
      * doc/lispref/windows.texi (Textual Scrolling): Document scroll-up-command,
      scroll-down-command, scroll-error-top-bottom, and the
      scroll-command symbol property.
      550f41cd
  27. 28 Sep, 2011 1 commit
  28. 25 Sep, 2011 3 commits
  29. 24 Sep, 2011 1 commit
    • Chong Yidong's avatar
      Document display-buffer and other window changes in Lisp manual. · 0e406a72
      Chong Yidong authored
      * doc/lispref/windows.texi (Window History): New node.  Move text here
      from Buffers and Windows.
      (Switching Buffers): Rename from Displaying Buffers, since we
      don't document display-buffer here; callers changed.  Document
      FORCE-SAME-WINDOW arg to switch-to-buffer and
      switch-to-buffer-other-frame.  Delete duplicate
      replace-buffer-in-windows doc.
      (Choosing Window): Document display actions.
      0e406a72
  30. 23 Sep, 2011 1 commit
    • Martin Rudalics's avatar
      Document changes to windows code. · b33b68a3
      Martin Rudalics authored
      * frames.texi (Frames and Windows): Move section and rename to
      Windows and Frames in windows.texi.
      * windows.texi (Windows): Restructure.
      (Basic Windows): Rewrite.  Explain live and internal windows and
      normalization functions.
      (Windows and Frames): Move section here from frames.texi.
      Describe subwindows, window combinations, window tree, and
      corresponding functions including window-list here.
      (Window Sizes): Rename section from Size of Window and move it
      up in chapter.  Describe total and body sizes and the
      corresponding functions.  Explain new semantics of
      window-min-height/-width.
      (Resizing Windows): Move section up in chapter.  Describe new
      resize functions.
      (Splitting Windows): Describe new behavior of split-window,
      split-window-above-each-other and split-window-side-by-side.
      Provide examples.  Describe window-nest and window-splits
      options.
      (Deleting Windows): Minor rewrite.
      (Selecting Windows): Minor rewrite.  Describe
      frame-selected-window and set-frame-selected-window here.
      (Cyclic Window Ordering): Minor rewrite.  Describe
      window-list-1.
      (Buffers and Windows): Rewrite.  Explain a window's previous and
      next buffers and the corresponding functions.
      * elisp.texi (Top): Update node listings for frames and windows
      sections.
      b33b68a3
  31. 29 May, 2011 1 commit
    • Chong Yidong's avatar
      Tweaks to lisp manual to remove over/underflows in printed version. · 049bcbcb
      Chong Yidong authored
      * help.texi (Accessing Documentation):
      * display.texi (Pixel Specification):
      * processes.texi (Serial Ports, Serial Ports):
      * nonascii.texi (Character Properties, Default Coding Systems):
      * text.texi (Changing Properties, Special Properties):
      * windows.texi (Window Start and End):
      * modes.texi (SMIE Indentation Example, SMIE Tricks):
      * keymaps.texi (Searching Keymaps, Tool Bar):
      * minibuf.texi (Basic Completion):
      * compile.texi (Eval During Compile):
      * strings.texi (Formatting Strings): Tweaks to avoid overflowing
      7x9 paper in printed manual.
      
      * lists.texi (Sets And Lists): Fix misplaced text.
      049bcbcb