1. 06 Apr, 2019 2 commits
    • Eli Zaretskii's avatar
      Improve documentation of set-window-start · a30a6c30
      Eli Zaretskii authored
      * doc/lispref/windows.texi (Window Start and End):
      * src/window.c (Fset_window_start): Document that reliable
      setting of a window start position requires to adjust point to
      be visible.  (Bug#34038)
      a30a6c30
    • Eli Zaretskii's avatar
      Improve documentation of window parameters · 92ce2dd4
      Eli Zaretskii authored
      * doc/lispref/windows.texi (Cyclic Window Ordering): Describe
      the effect of the 'other-window' window parameter.
      (Window Parameters): Improve the descriptions of window
      parameters.  Move the detailed description of the
      'quit-restore' window parameter from here...
      (Quitting Windows): ...to here.  (Bug#35063)
      92ce2dd4
  2. 01 Jan, 2019 1 commit
  3. 19 Nov, 2018 1 commit
    • Eli Zaretskii's avatar
      Improve documentation of the window tree · 60457d7a
      Eli Zaretskii authored
      * doc/lispref/windows.texi (Windows and Frames): More accurate
      wording regarding the relation of a mini-window to its frame's
      window tree.
      
      * src/window.h (struct window): Improve commentary to some
      fields.
      60457d7a
  4. 18 Nov, 2018 1 commit
    • Martin Rudalics's avatar
      Fix description of some window hooks · 72525076
      Martin Rudalics authored
      * doc/lispref/windows.texi (Window Hooks): Remove text that
      warns against using 'save-window-excursion' while running
      'window-size-change-functions', it's no more relevant.
      Clarify description of 'window-configuration-change-hook'.
      72525076
  5. 14 Nov, 2018 1 commit
    • Markus Triska's avatar
      Small documentation correction. · edcd6b72
      Markus Triska authored
      * doc/lispref/windows.texi (Textual Scrolling): In the description of
      scroll-up-aggressively, refer to scroll-down-aggressively instead of
      a recursive reference to scroll-up-aggressively.  (Bug#33369)
      edcd6b72
  6. 08 Nov, 2018 1 commit
    • Martin Rudalics's avatar
      Rewrite buffer display related doc-strings and doc · fa605f24
      Martin Rudalics authored
      * lisp/window.el (display-buffer-overriding-action)
      (display-buffer-alist, display-buffer-base-action)
      (display-buffer-fallback-action, display-buffer-assq-regexp)
      (display-buffer): Rewrite doc-strings using suggestions by
      Alan Mackenzie <acm@muc.de>.
      (display-buffer-use-some-frame): Adjust doc-string and
      reformat code.
      * doc/lispref/windows.texi (Buffer Display Action Alists):
      Make docs on 'window-height', 'window-width' and
      'preserve-size' entries more accurate.
      fa605f24
  7. 04 Nov, 2018 2 commits
    • Eli Zaretskii's avatar
      Improve recent changes in documentation of window handling · 6937c35d
      Eli Zaretskii authored
      * doc/lispref/windows.texi (Displaying Buffers)
      (Choosing Window, Buffer Display Action Functions)
      (Buffer Display Action Alists, Choosing Window Options)
      (Precedence of Action Functions, The Zen of Buffer Display):
      Fix wording, punctuation, and markup.  Remove redundant
      cross-references.
      
      * doc/emacs/windows.texi (Window Choice, Temporary Displays):
      Fix wording and punctuation.
      6937c35d
    • Martin Rudalics's avatar
      Rewrite documentation of buffer display · c04b48c0
      Martin Rudalics authored
      * doc/emacs/windows.texi (Window Choice): Rewrite, replacing
      references to older buffer display options with references to
      and examples of buffer display actions.
      (Temporary Displays): Rewrite display of *Completions*
      example.
      
      * doc/lispref/elisp.texi (Top): New Windows section
      'Displaying Buffers'.
      * doc/lispref/frames.texi (Child Frames): Adjust cross
      reference.
      * doc/lispref/windows.texi (Windows): New section 'Displaying
      Buffers'.  Move sections 'Choosing Window', 'Display Action
      Functions' and 'Choosing Window Options' there and adjust
      namings.  Preferably write 'Buffer Display Action' instead of
      'Display Action'.  More consistently use @w{} to make key
      binding specifications unsplittable.
      (Displaying Buffers): New section.
      (Choosing Window): Make it a subsection of 'Displaying
      Buffers'.  More explicitly describe how 'display-buffer'
      compiles its list of action functions and the action alist.
      (Buffer Display Action Functions): Rename from 'Display Action
      Functions', make it a subsection of 'Displaying Buffers' and
      rewrite it.  Elide more detailed descriptions of action alist
      entries; these are now in the new section 'Buffer Display
      Action Functions'.  Remove example.
      (Buffer Display Action Alists): New subsection of 'Displaying
      Buffers' giving a comprehensive description of recognized
      action alist entries with appropriate indexing.  Contents were
      partially moved here from the old 'Display Action Functions'
      section.
      (Choosing Window Options): Make it a subsection of 'Displaying
      Buffers'.  Add examples of how to rewrite old buffer display
      options with the help of buffer display actions.
      (Precedence of Action Functions): New subsection of
      'Displaying Buffers' explaining the execution order of action
      functions with the help of a detailed example.
      (The Zen of Buffer Display): New subsection of 'Displaying
      Buffers' supplying guidelines on how to write and use buffer
      display actions with examples.
      (Side Windows, Displaying Buffers in Side Windows)
      (Frame Layouts with Side Windows, Atomic Windows): Update
      references to the 'Displaying Buffers' subsections.
      c04b48c0
  8. 15 Oct, 2018 1 commit
  9. 17 Jun, 2018 1 commit
    • Eli Zaretskii's avatar
      Minor documentation fix · ffd20184
      Eli Zaretskii authored
      * doc/lispref/windows.texi (Window Start and End): Improve
      documentation and indexing of window-end.
      ffd20184
  10. 13 Apr, 2018 1 commit
    • Eli Zaretskii's avatar
      Fix typos and minor wording issues in ELisp manual · 6bdcaec8
      Eli Zaretskii authored
      * doc/lispref/internals.texi (Writing Emacs Primitives):
      * doc/lispref/display.texi (Temporary Displays): Fix typos.
      * doc/lispref/text.texi (Filling, Changing Properties)
      (Transposition): Clarify and fix typos.
      * doc/lispref/positions.texi (Screen Lines): Improve wording.
      * doc/lispref/modes.texi (Minor Mode Conventions)
      (Font Lock Multiline): Fix typos.
      * doc/lispref/variables.texi (Dynamic Binding Tips): Fix a
      cross-reference.  Fix a typo.
      * doc/lispref/sequences.texi (Sequence Functions): Fix typos.
      (Bug#31143)
      6bdcaec8
  11. 21 Mar, 2018 1 commit
  12. 23 Feb, 2018 1 commit
    • Michael Albinus's avatar
      Fix @findex and @vindex entries in manuals · 2dc24d55
      Michael Albinus authored
      * doc/emacs/building.texi:
      * doc/emacs/calendar.texi:
      * doc/emacs/cmdargs.texi:
      * doc/emacs/mini.texi:
      * doc/emacs/misc.texi:
      * doc/emacs/trouble.texi:
      * doc/emacs/windows.texi:
      * doc/lispintro/emacs-lisp-intro.texi:
      * doc/lispref/edebug.texi:
      * doc/lispref/frames.texi:
      * doc/lispref/os.texi:
      * doc/lispref/windows.texi:
      * doc/misc/cc-mode.texi:
      * doc/misc/dired-x.texi:
      * doc/misc/ediff.texi:
      * doc/misc/mh-e.texi:
      * doc/misc/pcl-cvs.texi:
      * doc/misc/reftex.texi:
      * doc/misc/sc.texi:
      * doc/misc/vhdl-mode.texi:
      * doc/misc/viper.texi: Fix @findex and @vindex entries.
      2dc24d55
  13. 16 Feb, 2018 1 commit
  14. 31 Jan, 2018 1 commit
  15. 28 Jan, 2018 1 commit
    • Martin Rudalics's avatar
      Fix some issues in the emacs/lispref manuals · 8d450008
      Martin Rudalics authored
      * doc/emacs/basic.texi (Continuation Lines):
      * doc/emacs/building.texi (GDB User Interface Layout):
      * doc/emacs/dired.texi (Misc Dired Features):
      * doc/emacs/maintaining.texi (Identifier Search):
      * doc/emacs/mark.texi (Using Region):
      * doc/emacs/misc.texi (Document View, DocView Conversion):
      * doc/emacs/modes.texi (Major Modes):
      * doc/emacs/mule.texi (Input Methods, Unibyte Mode):
      * doc/emacs/sending.texi (Mail Methods): Replace @code by
      @kbd.
      * doc/emacs/frames.texi (Text-Only Mouse):
      * doc/lispref/maps.texi (Standard Keymaps): Replace @kbd by
      @key.
      * doc/lispref/compile.texi (Compiler Errors): Write
      non-@code{nil} instead of non-nil.
      * doc/lispref/debugging.texi (Internals of Debugger):
      'backtrace' is not a command.  'debugger-stack-frame-as-list'
      is an option.
      * doc/lispref/display.texi (Size of Displayed Text):
      'window-lines-pixel-dimensions' has a last argument 'left'.
      * doc/lispref/display.texi (Attribute Functions):
      'set-face-underline' and 'set-face-inverse-video' are
      commands.
      (Tooltips): 'tooltip-frame-parameters' is an option.
      (Bidirectional Display): 'bidi-paragraph-direction' is an
      option.
      * doc/lispref/frames.texi (Cursor Parameters): 'cursor-type'
      is an option.
      (Input Focus): Argument FRAME of 'x-focus-frame' is not
      optional.
      (Child Frames): Both arguments of 'frame-ancestor-p' are
      non-optional.  'iconify-child-frame' is an option.
      * doc/lispref/os.texi (Killing Emacs):
      'kill-emacs-query-functions' is an option.
      * doc/lispref/windows.texi (Mouse Window Auto-selection):
      'mouse-autoselect-window' is an option.
      8d450008
  16. 01 Jan, 2018 1 commit
  17. 22 Dec, 2017 3 commits
    • Glenn Morris's avatar
      Avoid some overfull lines in PDF lispref · cf36c821
      Glenn Morris authored
      * doc/lispref/commands.texi (Reading One Event):
      * doc/lispref/display.texi (SVG Images):
      * doc/lispref/frames.texi (Size Parameters):
      * doc/lispref/syntax.texi (Categories):
      * doc/lispref/windows.texi (Frame Layouts with Side Windows):
      Avoid overfull lines.
      cf36c821
    • Eli Zaretskii's avatar
      Improve documentation of selecting windows · c3b6742b
      Eli Zaretskii authored
      * doc/lispref/windows.texi (Basic Windows, Selecting Windows):
      Clarify what selecting a window means for keyboard input, and that
      input focus may need to be considered when selecting windows on
      other frames.  See
      http://lists.gnu.org/archive/html/emacs-devel/2017-12/msg00372.html
      for more details.
      c3b6742b
    • Martin Rudalics's avatar
      Fix uses of 'nil' and 'non-nil' in manuals and a few more minor issues · 164e84c9
      Martin Rudalics authored
      * doc/emacs/building.texi (Grep Searching): Fix doc of
      'grep-save-buffers'.
      (Drag and Drop): Reorder paragraphs.  Fix doc of
      'mouse-drag-and-drop-region'.
      * doc/emacs/frames.texi (Word and Line Mouse):
      * doc/emacs/search.texi (Other Repeating Search):
      * doc/lispref/compile.texi (Compilation Functions):
      * doc/lispref/files.texi (Directory Names):
      * doc/lispref/functions.texi (Advising Named Functions):
      * doc/lispref/keymaps.texi (Controlling Active Maps):
      * doc/lispref/lists.texi (Association Lists):
      * doc/lispref/windows.texi (Quitting Windows): Fix uses of
      'non-nil' and 'nil'.
      164e84c9
  18. 06 Dec, 2017 1 commit
  19. 04 Nov, 2017 2 commits
    • Eli Zaretskii's avatar
      Improve documentation of 'window-scroll-functions' · 369da287
      Eli Zaretskii authored
      * doc/lispref/windows.texi (Window Hooks): Clarify the values of
      arguments of 'window-scroll-functions' functions.
      
      * src/xdisp.c (syms_of_xdisp) <window-scroll-functions>: Doc fix.
      369da287
    • Eli Zaretskii's avatar
      Improve documentation of window hooks · 787b75ad
      Eli Zaretskii authored
      * doc/lispref/windows.texi (Window Hooks): Fix the description of
      window-configuration-change-hook.  (Bug#29049)
      <run-window-scroll-functions, run-window-configuration-change-hook>:
      Document these functions.
      787b75ad
  20. 19 Aug, 2017 2 commits
    • Martin Rudalics's avatar
      Fix one more issue reported by Alex (Bug#27999) · 3baf2d84
      Martin Rudalics authored
      * doc/lispref/windows.texi (Preserving Window Sizes)
      (Window Parameters): Use the term `window-preserved-size'
      instead of `preserved-size' (Bug#27999).
      3baf2d84
    • Martin Rudalics's avatar
      Fix two side window problems noted by Alex (Bug#27999) · 8a9905e2
      Martin Rudalics authored
      * lisp/window.el (display-buffer-in-side-window): Fix doc-string
      typo.
      (delete-other-windows): Rename the `no-delete-other-window'
      parameter to `no-delete-other-windows' (see the discussion in
      Bug#27999 for the rationale of this change).
      * doc/lispref/windows.texi (Deleting Windows)
      (Frame Layouts with Side Windows, Window Parameters): Rename
      `no-delete-other-window' to `no-delete-other-windows'.
      8a9905e2
  21. 25 Jun, 2017 1 commit
    • Martin Rudalics's avatar
      Provide additional support for child frames · 1886246f
      Martin Rudalics authored
      Provide mouse dragging and resizing of frames.  Allow resizing
      frames proportionally.  Provide additional functionality for
      child frames.  Minor bug fixes.
      
      * lisp/frame.el (frame-border-width, frame-pixel-width)
      (frame-pixel-height): Alias to `frame-internal-border-width',
      `frame-native-width' and `frame-native-height'.
      (frame-inner-width, frame-inner-height, frame-outer-width)
      (frame-outer-height): New functions.
      * lisp/minibuffer.el (completion-auto-help): Fix typo.
      * lisp/mouse.el (mouse-drag-line, mouse-drag-mode-line)
      (mouse-drag-header-line): Allow moving a frame by dragging the
      mode line of its bottommost window (on a minibuffer-less frame)
      or the header line of its topmost window.
      (mouse-drag-vertical-line): Mention argument in doc-string.
      (mouse-resize-frame, mouse-drag-frame, mouse-drag-left-edge)
      (mouse-drag-top-left-corner, mouse-drag-top-edge)
      (mouse-drag-top-right-corner, mouse-drag-right-edge)
      (mouse-drag-bottom-right-corner, mouse-drag-bottom-edge)
      (mouse-drag-bottom-left-corner): New functions for resizing a
      frame by dragging its internal border together with
      corresponding key bindings.
      * lisp/tooltip.el (tooltip-frame-parameters): Add
      'no-special-glyphs' to default parameters and update version
      tag.
      * lisp/window.el (frame-auto-hide-function): Add choice to make
      frame invisible and update version tag.
      (window--delete): Handle 'auto-hide-function' frame parameter.
      (window--maybe-raise-frame): Respect 'no-focus-on-map' and
      'no-accept-focus' frame parameters.
      (display-buffer--action-function-custom-type): Add
      `display-buffer-in-child-frame'.
      (display-buffer): Mention `display-buffer-in-child-frame' in
      doc-string.
      (display-buffer-in-child-frame): New action function for
      `display-buffer'.
      (window--sanitize-margin): Return zero when MARGIN cannot be
      sanitized.
      (fit-frame-to-buffer): Major rewrite to handle child frames and
      'fit-frame-to-buffer-sizes' and 'fit-frame-to-buffer-margins'
      frame parameters.
      (window-largest-empty-rectangle--maximums-1)
      (window-largest-empty-rectangle--maximums)
      (window-largest-empty-rectangle--disjoint-maximums)
      (window-largest-empty-rectangle): New functions.
      
      * src/dispextern.h (WINDOW_WANTS_MODELINE_P)
      (WINDOW_WANTS_HEADER_LINE_P): Remove.  Functionality is now
      provided by corresponding functions window_wants_modeline and
      window_wants_header_line in window.c.  Adjust users.
      * src/dispnew.c (adjust_glyph_matrix)
      (buffer_posn_from_coords): Use window_wants_modeline and
      window_wants_header_line instead of WINDOW_WANTS_MODELINE_P and
      WINDOW_WANTS_HEADER_LINE_P.
      * src/frame.c (keep_ratio): New function.
      (adjust_frame_size): Call keep_ratio for each of F's child
      frames.
      (make_frame): Initialize no_special_glyphs slot.
      (frame_internal_border_part): New function.
      (Fframe_pixel_width, Fframe_pixel_height, Fborder_width): Rename
      to Fframe_native_width, Fframe_native_height mand
      Fframe_internal_border_width.
      (frame_parm_table): Add Qno_special_glyphs entry.
      (frame_float_type): New enumeration type.
      (frame_float): New function to handle frame size and position
      ratios.
      (x_set_frame_parameters): Handle size and position ratios.
      (x_set_no_special_glyphs): New function
      (x_figure_window_size): Handle size and position ratios.
      (syms_of_frame): Add Qdisplay_monitor_attributes_list,
      Qno_special_glyphs, Qframe_edges, Qkeep_ratio, Qwidth_only,
      Qheight_only, Qleft_only and Qtop_only.
      * src/frame.h (internal_border_part): New enumeration type.
      (struct frame): New slot no_special_glyphs.
      (FRAME_NO_SPECIAL_GLYPHS): New macro.
      * src/gtkutil.c (xg_frame_restack): Return immediately for
      GTK versions before 2.18.0.
      * src/keyboard.c (internal_border_parts): New array constant.
      (make_lispy_position): For frames with border dragging enabled
      return internal border part.
      (syms_of_keyboard): New symbols Qdrag_internal_border,
      Qleft_edge, Qtop_left_corner, Qtop_edge, Qtop_right_corner,
      Qright_edge, Qbottom_right_corner, Qbottom_edge and
      Qbottom_left_corner.
      * src/minibuf.c (read_minibuf_unwind): When exiting the
      minibuffer deal with frames that have the 'minibuffer-exit'
      parameter set.
      (syms_of_minibuf): New symbol Qminibuffer_exit.
      * src/nsfns.m (frame_parm_handler): Add entry for
      x_set_no_special_glyphs.
      (Fx_create_frame): Handle 'no-special-glyphs' parameter.
      Intitialize new cursor types for dragging frame borders.
      * src/nsterm.h (struct ns_output): Add new cursor types for
      dragging frame borders.
      * src/w32fns.c (w32_frame_parm_handlers): Add entry for
      x_set_no_special_glyphs.
      (Fx_create_frame): Handle 'no-special-glyphs' parameter.
      Intitialize new cursor types for dragging frame borders.
      * src/w32term.h (struct w32_output): Add new cursor types for
      dragging frame borders.
      * src/window.c (coordinates_in_window)
      (Fwindow_line_height, window_internal_height): Use
      window_wants_modeline and window_wants_header_line instead of
      WINDOW_WANTS_MODELINE_P and WINDOW_WANTS_HEADER_LINE_P.
      (Fwindow_lines_pixel_dimensions): New function.
      (window_parameter): New function.
      (Fwindow_parameter): Call window_parameter.
      (window_wants_mode_line, window_wants_header_line): New
      functions replacing the macros WINDOW_WANTS_MODELINE_P and
      WINDOW_WANTS_HEADER_LINE_P from dispextern.h.
      (syms_of_window): New symbols Qmode_line_format and
      Qheader_line_format.
      * src/window.h: Reorganize and re-comment macros.  Use
      window_wants_modeline and window_wants_header_line instead of
      WINDOW_WANTS_MODELINE_P and WINDOW_WANTS_HEADER_LINE_P.
      (MINI_NON_ONLY_WINDOW_P, MINI_ONLY_WINDOW_P): Minor rewrite.
      (WINDOW_BUFFER): New macro.
      (WINDOW_BOX_LEFT_EDGE_COL, WINDOW_BOX_RIGHT_EDGE_COL): Remove.
      * src/xdisp.c (window_text_bottom_y, window_box_height)
      (window_box, start_display)
      (compute_window_start_on_continuation_line)
      (try_cursor_movement, redisplay_window)
      (try_window_reusing_current_matrix, try_window_id)
      (display_line, expose_window): Use window_wants_modeline and
      window_wants_header_line instead of WINDOW_WANTS_MODELINE_P and
      WINDOW_WANTS_HEADER_LINE_P.
      (pos_visible_p, display_mode_lines): Respect W's
      'mode-line-format' and 'header-line-format' window parameters.
      (init_iterator): Use window_wants_modeline and
      window_wants_header_line instead of WINDOW_WANTS_MODELINE_P and
      WINDOW_WANTS_HEADER_LINE_P.  For tip frames respect
      no_special_glyphs value.
      (note_mouse_highlight): Set frame border cursors when on
      internal border.
      (x_draw_right_divider, x_draw_bottom_divider): Try to improve
      drawing of window dividers.
      * src/xfns.c (mouse_cursor): Add entries for border parts.
      (mouse_cursor_types): Add entries for cursor types to drag
      frame borders.
      (INSTALL_CURSOR): Add entries for new cursor types to drag
      frame borders.
      (Fx_create_frame): Handle 'no-special-glyphs' parameter.
      (x_frame_parm_handlers): Add entry for
      x_set_no_special_glyphs.
      (Vx_window_left_edge_shape, Vx_window_top_left_corner_shape)
      (Vx_window_top_edge_shape, Vx_window_top_right_corner_shape)
      (Vx_window_right_edge_shape)
      (Vx_window_bottom_right_corner_shape)
      (Vx_window_bottom_edge_shape)
      (Vx_window_bottom_left_corner_shape): New variables.
      (x_frame_restack): Call xg_frame_restack only for GTK versions
      starting with 2.18.0.
      * src/xterm.c (x_free_frame_resources): Remove new cursors for
      dragging frame borders.
      * src/xterm.h (struct x_output): Add new cursor types for
      dragging frame borders.
      
      * doc/lispref/display.texi (Size of Displayed Text): Document
      `window-lines-pixel-dimensions'.
      * doc/lispref/elisp.texi (Top): Add entry for "Mouse Dragging
      Parameters".
      * doc/lispref/frames.texi (Frame Size): Replace
      frame-pixel-width/-height by frame-native-width/-height.  Add
      frame-inner-width/-height and frame-outer-width/-height docs.
      (Position Parameters): Describe specifying position as ratios.
      Clarify remark about positions relative to bottom/ridge display
      edge.
      (Size Parameters): Describe specifying sizes as ratios.
      Describe 'fit-frame-to-buffer-margins' and
      'fit-frame-to-buffer-sizes' parameters.
      (Layout Parameters): Describe 'no-special-glyphs' parameter.
      (Frame Interaction Parameters): Describe 'auto-hide-function',
      'minibuffer-exit' and 'keep-ratio' parameters.
      (Mouse Dragging Parameters): New section describing
      'drag-internal-border', 'drag-with-header-line',
      'drag-with-mode-line', 'snap-width', 'top-visible' and
      'bottom-visible' parameters.
      (Management Parameters): Mention that `override-redirect' has
      no effect on MS Windows.
      (Font and Color Parameters): Mention child frames for `alpha'
      parameter.
      (Child Frames): Rewrite section with description and cross
      references to new frame parameters added.
      * doc/lispref/modes.texi (Mode Line Basics): Mention
      'mode-line-format' and 'header-line-format' window parameters.
      * doc/lispref/windows.texi (Resizing Windows): Mention effect
      of `fit-frame-to-buffer-margins' for child frames.
      (Display Action Functions): New action function
      `display-buffer-in-child-frame'.
      (Quitting Windows): Mention `make-frame-invisible' as optional
      value of `frame-auto-hide-function' and `auto-hide-function'
      frame paameter.
      (Coordinates and Windows): Describe new function
      `window-largest-empty-rectangle'.
      (Window Parameters): Describe new parameters 'mode-line-format'
      and 'header-line-format'.  Index all window parameters described
      in this section.
      1886246f
  22. 31 May, 2017 1 commit
  23. 27 May, 2017 1 commit
    • Martin Rudalics's avatar
      Minor doc and doc-string fixes (Bug#27091) · 704fea97
      Martin Rudalics authored
      * src/window.c (Fset_window_scroll_bars): Fix doc-string.
      
      * doc/lispref/display.texi (Fringe Size/Pos, Scroll Bars)
      (Display Margins): Mention that `set-window-buffer' may override
      settings made by `set-window-fringes', `set-window-scroll-bars'
      and `set-window-margins'.
      * doc/lispref/windows.texi (Buffers and Windows): Fix doc of
      `set-window-buffer'.
      704fea97
  24. 27 Apr, 2017 1 commit
  25. 13 Apr, 2017 2 commits
    • Eli Zaretskii's avatar
      Minor copyedits of recent changes in documentation · 030c4f94
      Eli Zaretskii authored
      * doc/lispref/frames.texi (Frame Layout, Frame Position)
      (Frame Size, Frame Interaction Parameters, Input Focus)
      (Raising and Lowering, Child Frames): Improve wording and indexing.
      * doc/emacs/cmdargs.texi (Borders X): Improve indexing.
      030c4f94
    • Martin Rudalics's avatar
      Describe recent frame and window changes in manuals · 7cc613dc
      Martin Rudalics authored
      * doc/emacs/emacs.texi (Top):
      * doc/emacs/cmdargs.texi (Borders X): Clearly separate the terms
      "outer border" (for the X border which can be set from within
      Emacs) and "external border" (for the border which is added by
      the window manager).
      * doc/lispref/display.texi (Tooltips): Clarify slightly.
      * doc/lispref/elisp.texi (Top): Update node and section names.
      * doc/lispref/frames.texi (Frames): Describe difference between
      top-level and child frames.
      (Frame Layout): Describe outer border.  Add more details about
      how Emacs obtains the outer size and position of a frame and
      about menu bar/tool bar wrapping.  Add references to new frame
      parameters.
      (Size and Position): Remove subsection.
      (Frame Position): New subsection excerpted from the earlier Size
      and Position subsection.  Clarify positioning concepts and
      some of their shortcomings.  Describe `move-frame-functions'.
      (Frame Size): New subsection excerpted from the earlier Size
      and Position subsection.  Describe how to track frame size
      changes and the new function `frame-size-changed-p'.
      (Position Parameters): Describe child frame positioning.  Warn
      about negative offsets.  Describe 'z-group' parameter.
      (Size Parameters): Describe 'text-pixels' specification
      facility and new 'min-width' and 'min-height' parameters.
      (Layout Parameters): Clarify description of 'tool-bar-lines' and
      'menu-bar-lines' parameters.
      (Frame Interaction Parameters): New subsubsection describing
      'parent-frame', 'delete-before', 'mouse-wheel-frame' and
      'no-other-frame' parameters.
      (Management Parameters): Describe 'skip-taskbar',
      'no-focus-on-map', 'no-accept-focus', 'undecorated' and
      'override-redirect' parameters.
      (Deleting Frames): Describe handling of 'delete-before'
      parameter and child frames for `delete-frame' and
      `delete-other-frames'.
      (Finding All Frames): Describe `frame-list-z-order' and handling
      of 'no-other-frame' parameter by `next-frame'.
      (Minibuffers and Frames): Minor clarifications.
      (Input Focus): Document `x-focus-frame'.  Clarify descriptions
      of `focus-in-hook', `focus-out-hook' and `focus-follows-mouse'.
      (Visibility of Frames): Describe mapping and how the visibility
      of a parent frame affects that of its child frames.
      (Raising and Lowering): Describe restacking of frames and
      z-groups.
      (Child Frames): New section.
      * doc/lispref/windows.texi (Selecting Windows): Describe
      additional semantics of NORECORD argument of `select-window' and
      how `buffer-list-update-hook' can emulate a "select window
      hook".
      (Mouse Window Auto-selection): New section.
      7cc613dc
  26. 26 Mar, 2017 1 commit
    • Eric Abrahamsen's avatar
      Expand manual section on quitting windows · fb18bff9
      Eric Abrahamsen authored
      * doc/lispref/windows.texi (Quitting Windows): Provide more
        information about the elements of the quit-restore window parameter,
        and how they affect the behavior of quit-restore-window.
      fb18bff9
  27. 25 Mar, 2017 1 commit
    • Eric Abrahamsen's avatar
      Expand manual section on quitting windows · 0a911b68
      Eric Abrahamsen authored
      * doc/lispref/windows.texi (Quitting Windows): Provide more
        information about the elements of the quit-restore window parameter,
        and how they affect the behavior of quit-restore-window.
      0a911b68
  28. 12 Feb, 2017 1 commit
  29. 03 Feb, 2017 1 commit
    • Noam Postavsky's avatar
      Make limit on scroll-margin variable · e27a91cd
      Noam Postavsky authored
      * src/xdisp.c (maximum-scroll-margin): New variable.
      * lisp/cus-start.el: Make it customizable.
      * etc/NEWS: Mention it.
      * doc/emacs/display.texi (Auto Scrolling):
      * doc/lispref/windows.texi (Textual Scrolling): Document it.
      * src/window.c (window_scroll_pixel_based): Use it instead of hardcoding
      division by 4 (Bug #5718).
      e27a91cd
  30. 01 Jan, 2017 1 commit
  31. 01 Dec, 2016 1 commit
  32. 16 Nov, 2016 2 commits
    • Glenn Morris's avatar
      Don't confuse how Texinfo outputs @var with the input · 1fc101b0
      Glenn Morris authored
      * doc/emacs/rmail.texi (Movemail):
      * doc/lispref/control.texi (Pattern matching case statement):
      * doc/lispref/frames.texi (Size and Position):
      * doc/lispref/processes.texi (Asynchronous Processes):
      * doc/lispref/text.texi (Document Object Model):
      * doc/lispref/windows.texi (Coordinates and Windows):
      Do not upper-case the argument of @var.
      1fc101b0
    • Glenn Morris's avatar
      * doc/lispref/display.texi (Scroll Bars): · 91aa5d19
      Glenn Morris authored
      * doc/lispref/frames.texi (Size and Position):
      * doc/lispref/windows.texi (Window Sizes): Fix arglist typos.
      91aa5d19