1. 29 Jan, 2019 1 commit
    • Eli Zaretskii's avatar
      Improve documentation of face numbers · 73508e62
      Eli Zaretskii authored
      * doc/lispref/display.texi (Face Functions): Mention where the
      face number is used and that it depends on the 'face' property
      of the face symbol.  Improve indexing.
      73508e62
  2. 01 Jan, 2019 1 commit
  3. 11 Sep, 2018 2 commits
  4. 08 Aug, 2018 1 commit
  5. 07 Jul, 2018 1 commit
    • Eli Zaretskii's avatar
      Improve indexing of 'eval-defun' in ELisp manual · fdd7e7d8
      Eli Zaretskii authored
      * doc/lispref/display.texi (Defining Faces):
      * doc/lispref/debugging.texi (Explicit Debug):
      * doc/lispref/customize.texi (Variable Definitions):
      * doc/lispref/variables.texi (Defining Variables): Add index
      entries for 'eval-defun'.  (Bug#32066)
      fdd7e7d8
  6. 01 Jun, 2018 1 commit
  7. 22 Apr, 2018 1 commit
  8. 13 Apr, 2018 1 commit
  9. 23 Mar, 2018 1 commit
  10. 10 Mar, 2018 1 commit
    • Charles A. Roelli's avatar
      Improve SVG documentation · df0e7e2b
      Charles A. Roelli authored
      * doc/lispref/display.texi (ImageMagick Images): Remove an
      outdated comment that references a fixed bug.
      (SVG Images): Fix grammar, and call functions functions (there are
      no commands in lisp/svg.el).
      df0e7e2b
  11. 01 Mar, 2018 1 commit
    • Michael Albinus's avatar
      Further improvements on manuals · 304278c0
      Michael Albinus authored
      * doc/emacs/xresources.texi:
      * doc/lispref/display.texi:
      * doc/lispref/keymaps.texi:
      * doc/misc/dbus.texi:
      * doc/misc/efaq-w32.texi: Use "GTK+" where applicable.
      
      * doc/emacs/xresources.texi (Resources): Mention several use
      of "-xrm".
      (Table of Resources) [verticalScrollBars]: Add reference to Scroll Bars.
      304278c0
  12. 14 Feb, 2018 1 commit
    • Eli Zaretskii's avatar
      Another set of changes for the manual · 53511f91
      Eli Zaretskii authored
      * doc/emacs/programs.texi (Program Indent): Add a cross-reference
      to elisp's description of 'pp'.
      (Program Modes): Add a few more programming modes.  Add index
      entries.
      (Basic Indent, Multi-line Indent, C Indent, Comment Commands)
      (Manipulating Comments): Fix markup of keyboard commands.
      * doc/emacs/search.texi (Regexps): Add an example with non-ASCII
      characters.  Suggested by Michael Albinus <michael.albinus@gmx.de>
      in emacs-manual-bugs@gnu.org.
      
      * doc/lispref/display.texi (Display Tables): Fix the description
      of the 5th extra slot of the display table.  (Bug#13473)
      
      * doc/emacs/regs.texi (Registers): Simplify wording.
      
      * doc/emacs/custom.texi (Init Non-ASCII): Remove outdated text
      about perils of encoded keyboard input.
      53511f91
  13. 09 Feb, 2018 1 commit
    • Eli Zaretskii's avatar
      Improve documentation of mini-window resizing · 989d0afc
      Eli Zaretskii authored
      * doc/lispref/minibuf.texi (Minibuffer Windows): Mention
      'message-truncate-lines' for preventing resizing of minibuffer
      windows.  (Bug#19045)
      (Minibuffer Misc): Remove redundant description of
      'max-mini-window-height'.
      * doc/lispref/display.texi (Echo Area Customization): Adjust
      cross-reference.
      989d0afc
  14. 01 Feb, 2018 1 commit
    • Eli Zaretskii's avatar
      Fix last change of @key markup · b90e91ca
      Eli Zaretskii authored
      * doc/lispref/display.texi (Specified Space):
      * doc/emacs/programs.texi (C Modes):
      * doc/emacs/killing.texi (Rectangles):
      * doc/emacs/emacs.texi (Top):
      * doc/emacs/display.texi (Useless Whitespace): Don't use @key
      markup for characters and commands, only for keys.
      b90e91ca
  15. 31 Jan, 2018 1 commit
  16. 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
  17. 01 Jan, 2018 1 commit
  18. 22 Dec, 2017 2 commits
  19. 16 Dec, 2017 1 commit
    • Eli Zaretskii's avatar
      Improve documentation of 'invisible-p' · 78908644
      Eli Zaretskii authored
      * doc/lispref/display.texi (Invisible Text): Document the return
      value of 'invisible-p'.
      
      * src/xdisp.c (Finvisible_p): Rename the argument POS.  Doc fix.
      (Bug#29721)
      78908644
  20. 10 Dec, 2017 1 commit
  21. 28 Oct, 2017 1 commit
    • Glenn Morris's avatar
      Fix some duplicate words typos · 50f711e7
      Glenn Morris authored
      * lisp/erc/erc.el (erc-hide-current-message-p):
      * lisp/progmodes/flymake-proc.el (flymake-proc-diagnostic-type-pred):
      * doc/lispref/display.texi (Bidirectional Display, Delayed Warnings):
      * doc/lispref/functions.texi (Defining Functions):
      * doc/lispref/os.texi (Terminal-Specific):
      * doc/misc/sem-user.texi (Analyzer Debug):
      * doc/misc/srecode.texi (Special Variables): Fix typos.
      50f711e7
  22. 27 Oct, 2017 1 commit
  23. 20 Oct, 2017 1 commit
    • Eli Zaretskii's avatar
      Make :align-to account for display-line-numbers · fd3d8610
      Eli Zaretskii authored
      These changes also update the various bundled packages to use
      new feature, and better support customizations of the line-number
      face.
      * src/xdisp.c (calc_pixel_width_or_height): Improve commentary.
      Make :align-to count from the end of the line-number display when
      the offset or the width form reference that of the text area.
      (Bug#28855)
      
      * src/indent.c (Fline_number_display_width): Implement support for
      the PIXELWISE argument being 'columns'.  Update the doc string.
      (syms_of_indent): New symbol 'columns'.
      
      * lisp/ruler-mode.el (ruler-mode-window-col, ruler-mode-ruler):
      Call line-number-display-width with last argument 'columns'.
      
      * lisp/proced.el (proced-header-line): Call
      line-number-display-width with 2nd arg 'columns', which also fixes
      a problem when display-line-numbers is nil.
      
      * lisp/emacs-lisp/tabulated-list.el
      (tabulated-list-line-number-width): Call line-number-display-width
      with 2nd arg 'columns.
      (tabulated-list-entry-lnum-width): Remove unneeded defvar.
      (tabulated-list-print, tabulated-list-print-entry): No need to
      account for the value of tabulated-list-entry-lnum-width.
      (tabulated-list--current-lnum-width): New defvar.
      (tabulated-list-watch-line-number-width): New function.
      (tabulated-list-mode): Bind tabulated-list--current-lnum-width
      locally, and set up tabulated-list-watch-line-number-width as
      pre-redisplay-functions hook.
      
      * doc/lispref/display.texi (Size of Displayed Text): Document the
      'columns' value of the PIXELWISE argument.
      (Pixel Specification): Update and improve the documentation of the
      supported forms.
      fd3d8610
  24. 17 Oct, 2017 1 commit
  25. 01 Oct, 2017 3 commits
    • Alan Mackenzie's avatar
      Amend documentation for text-quoting-style becoming a user option. · 8c18dcbc
      Alan Mackenzie authored
      * doc/lispref/control.texi (Signaling Errors):
      * doc/lispref/display.texi (Displaying Messages):
      * doc/lispref/strings.texi (Formatting Strings):
      Edit for brevity, farming out the details to the new
      Text Quoting Style node.
      * doc/lispref/help.texi (Text Quoting Style): New section.
      Move detailed discussion of text-quoting-style here.
      Add discussion about how to output grave accent and apostrophe in
      documentation and messages.  Adjust xrefs to point to this section
      when appropriate.
      * etc/NEWS: text-quoting-style semantics have not changed.
      8c18dcbc
    • Alan Mackenzie's avatar
      Make the value nil in text-quoting-style mean what it does in Emacs 25. · 5f76ac15
      Alan Mackenzie authored
      This is a partial reversion of yesterday's commit by the same author, which
      changed the meaning of nil and introduced the new value t.
      
      * src/doc.c (text_quoting_style, text-quoting-style)
      (internal--text-quoting-flag): Revert yesterday's changes.
      
      * lisp/cus-start.el: (top level): Amend the entry for text-quoting-style.
      
      * etc/NEWS: Amend the entry for text-quoting-style.
      
      * doc/lispref/control.texi (Signalling Errors)
      * doc/lispref/display.texi (Displaying Messages)
      * doc/lispref/strings.texi (Formatting Strings): Bind text-quoting-style to
      grave rather than nil to inhibit translation of quotes.
      
      * doc/lispref/help.texi (Keys in Documentation): Revert the description of the
      proposed new default, t.
      5f76ac15
    • Alan Mackenzie's avatar
      Make text-quoting-style customizable. Introduce t and new meaning for nil. · d5e4e004
      Alan Mackenzie authored
      A value of nil for text-quoting-style now means "no translation".  t means
      "Use curved quotes if displayable".
      
      * src/doc.c (text-quoting-style (function)): modify for new semantics.
      (text-quoting-style (variable)): Amend the doc string, set the default value
      to t.
      
      * lisp/cus-start.el: (top level): Create a customize entry for
      text-quoting-style in group display.
      
      * etc/NEWS: Amend the entry for text-quoting-style.
      
      * doc/emacs/display.texi (Text Display): Describe the translation of ASCII
      quotes to curved quotes, and how to influence or inhibit it.
      
      * doc/lispref/control.texi (Signalling Errors)
      * doc/lispref/display.texi (Displaying Messages)
      * doc/lispref/strings.texi (Formatting Strings): Describe binding
      text-quoting-style to nil to inhibit unwanted quote translation.
      
      * doc/lispref/help.texi (Keys in Documentation): Change text-quoting-style
      from a variable to a user option.  Describe its changed set of values.  State
      that it can be customized freely.
      d5e4e004
  26. 16 Sep, 2017 1 commit
    • Eli Zaretskii's avatar
      Disable execution of unsafe Lisp by Enriched Text mode · a103dbe3
      Eli Zaretskii authored
      * src/xdisp.c (handle_display_spec): If the display property is
      wrapped in 'disable-eval' form, disable Lisp evaluation while
      processing this property.
      (handle_single_display_spec): Accept new argument ENABLE_EVAL_P.
      If that argument is false, don't evaluate Lisp while processing
      display properties.
      
      * lisp/textmodes/enriched.el
      (enriched-allow-eval-in-display-props): New defcustom.
      (enriched-decode-display-prop): If
      enriched-allow-eval-in-display-props is nil, wrap the display
      property with 'disable-eval' to disable Lisp evaluation when the
      display property is processed for display.  (Bug#28350)
      * lisp/gnus/mm-view.el (mm-inline-text): Re-enable processing of
      enriched text.
      
      * doc/lispref/display.texi (Display Property): Document the
      'disable-eval' wrapping of 'display' properties.
      * doc/emacs/text.texi (Enriched Properties): Document
      'enriched-allow-eval-in-display-props'.
      
      * etc/NEWS: Describe the security issues with Enriched Text mode
      and their solution.
      a103dbe3
  27. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  28. 09 Sep, 2017 1 commit
  29. 29 Jul, 2017 1 commit
  30. 20 Jul, 2017 1 commit
  31. 17 Jul, 2017 1 commit
    • Eli Zaretskii's avatar
      Allow user control on what starts and ends a paragraph for bidi · d7f7fef1
      Eli Zaretskii authored
      * src/buffer.h (struct buffer): New members
      bidi_paragraph_separate_re_ and bidi_paragraph_start_re_.
      * src/buffer.c (bset_bidi_paragraph_start_re)
      (bset_bidi_paragraph_separate_re): New setters/
      (Fbuffer_swap_text): Swap the values of bidi-paragraph-start-re and
      bidi-paragraph-separate-re.
      (init_buffer_once): Init the values of bidi-paragraph-start-re and
      bidi-paragraph-separate-re.
      (syms_of_buffer) <bidi-paragraph-start-re, bidi-paragraph-separate-re>:
      New per-buffer variables.
      * src/bidi.c (bidi_at_paragraph_end, bidi_find_paragraph_start):
      Support bidi-paragraph-start-re and bidi-paragraph-separate-re.
      (bidi_move_to_visually_next): Handle correctly the case when the
      separator matches an empty string.  (Bug#27526)
      
      * doc/emacs/mule.texi (Bidirectional Editing):
      * doc/lispref/display.texi (Bidirectional Display): Document
      bidi-paragraph-start-re and bidi-paragraph-separate-re.
      
      * etc/NEWS: Mention bidi-paragraph-start-re and
      bidi-paragraph-separate-re.
      d7f7fef1
  32. 15 Jul, 2017 1 commit
    • Lars Ingebrigtsen's avatar
      Make combinations of :width/:max-height image specs work reliably · ae56c967
      Lars Ingebrigtsen authored
      * doc/lispref/display.texi (ImageMagick Images): Document
      :width/:max-height combinations (etc) (bug #25583).
      
      * src/image.c (compute_image_size): Handle :width/:max-height
      (etc) combinations consistently (by letting "max" win and
      preserve ratio).
      
      * test/manual/image-size-tests.el (image-size-tests): Add
      tests for :width/:max-height (etc) combinations.
      ae56c967
  33. 07 Jul, 2017 1 commit
    • Eli Zaretskii's avatar
      Fix vertical-motion across the place where line-number width changes · 4caf65d4
      Eli Zaretskii authored
      * src/indent.c (line_number_display_width): New function,
      refactored from line-number width calculations in vertical-motion.
      (Fvertical_motion): Call line_number_display_width when the width
      of line-number display is needed.
      (Fline_number_display_width): New defun.
      (syms_of_indent): Defsubr it.
      
      * doc/lispref/display.texi (Size of Displayed Text): Document
      line-number-display-width.
      
      * etc/NEWS: Mention line-number-display-width.
      
      * lisp/simple.el (last--line-number-width): New internal variable.
      (line-move-visual): Use it to adjust temporary-goal-column when
      line-number display changes its width.
      4caf65d4
  34. 01 Jul, 2017 1 commit
  35. 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
  36. 10 Jun, 2017 1 commit
    • Eli Zaretskii's avatar
      Clarify documentation of 'face-spec-set' · 187a71df
      Eli Zaretskii authored
      * lisp/faces.el (face-spec-set): Clarify the description of
      SPEC-TYPE in the doc string.
      
      * doc/lispref/display.texi (Defining Faces): Clarify the
      description of 'face-spec-set's SPEC-TYPE argument.  (Bug#27246)
      187a71df