1. 05 Jun, 2019 1 commit
    • Eli Zaretskii's avatar
      Fix styling of Unicode codepoints in manuals · f68b33f5
      Eli Zaretskii authored
      * doc/lispref/nonascii.texi (Character Properties):
      * doc/lispref/display.texi (Glyphless Chars)
      (Bidirectional Display):
      * doc/emacs/search.texi (Lax Search):
      * doc/emacs/text.texi (Quotation Marks):
      * doc/emacs/basic.texi (Inserting Text): Canonicalize the
      style of "U+NNNN CHARACTER NAME".  (Bug#35885)
      f68b33f5
  2. 12 Apr, 2019 1 commit
  3. 13 Mar, 2019 1 commit
    • Martin Rudalics's avatar
      Document restrictions when setting window margins, fringes or scroll bars · bc75589b
      Martin Rudalics authored
      * src/window.c (Fset_window_margins, Fset_window_fringes)
      (Fset_window_scroll_bars): In doc-strings tell that a window
      must be large enough to accommodate fringes, sroll bars and
      margins of the desired size.
      * doc/lispref/display.texi (Fringe Size/Pos, Scroll Bars)
      (Display Margins): Tell that windows must be large enough to
      accommodate fringes, sroll bars and margins of the desired
      size.
      bc75589b
  4. 04 Mar, 2019 1 commit
  5. 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
  6. 01 Jan, 2019 1 commit
  7. 11 Sep, 2018 2 commits
  8. 08 Aug, 2018 1 commit
  9. 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
  10. 01 Jun, 2018 1 commit
  11. 22 Apr, 2018 1 commit
  12. 13 Apr, 2018 1 commit
  13. 23 Mar, 2018 1 commit
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 31 Jan, 2018 1 commit
  20. 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
  21. 01 Jan, 2018 1 commit
  22. 22 Dec, 2017 2 commits
  23. 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
  24. 10 Dec, 2017 1 commit
  25. 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
  26. 27 Oct, 2017 1 commit
  27. 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
  28. 17 Oct, 2017 1 commit
  29. 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
  30. 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
  31. 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
  32. 09 Sep, 2017 1 commit
  33. 29 Jul, 2017 1 commit
  34. 20 Jul, 2017 1 commit
  35. 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
  36. 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