1. 10 Jan, 2019 1 commit
    • Alan Third's avatar
      Add native image scaling (bug#33587) · a1b7a3f2
      Alan Third authored
      * configure.ac: Test for XRender outside of xft checks.
      * src/Makefile.in (XRENDER_LIBS): List XRender libs separately from
      xft libs.
      * lisp/image.el (image--get-imagemagick-and-warn): Allow resizing if
      native scaling is available.
      * src/dispextern.h: Add XRender and image scaling stuff.
      (struct image): Add XRender Pictures.
      * src/image.c (x_create_bitmap_mask):
      (image_create_x_image_and_pixmap): Handle XRender Picture.
      (scale_image_size):
      (compute_image_size): Make available when any form of scaling is
      enabled.
      (x_set_image_size): New function.
      (lookup_image): Set image size.
      (x_create_x_image_and_pixmap): Create XRender Picture when necessary.
      (x_put_x_image): Handle the case where desired size != actual size.
      (free_image): Free XRender Pictures.
      (Fimage_scaling_p): New function.
      (syms_of_image): Add image-scaling-p.
      * src/nsimage.m (ns_load_image): Remove NS specific resizing.
      ([EmacsImage setSizeFromSpec:]): Remove method.
      (ns_image_set_size): New function.
      * src/nsterm.m (ns_draw_fringe_bitmap): Cocoa and GNUstep both have
      the same compositing functions, so remove unnecessary difference.
      * src/xterm.c (x_composite_image): New function.
      (x_draw_image_foreground): Use new x_composite_image function.
      * doc/lispref/display.texi (Image Descriptors): Document
      image-scaling-p and add resizing descriptors.
      (ImageMagick Images): Remove resizing descriptors.
      a1b7a3f2
  2. 01 Jan, 2019 1 commit
  3. 16 Oct, 2018 1 commit
  4. 11 Sep, 2018 2 commits
  5. 08 Aug, 2018 1 commit
  6. 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
  7. 17 Jun, 2018 3 commits
    • Eli Zaretskii's avatar
      Fix last change · 849631c1
      Eli Zaretskii authored
      * etc/NEWS: Fix last added entry.
      
      * lisp/subr.el (dotimes-with-progress-reporter)
      (dolist-with-progress-reporter): Fix the advertised signature.
      
      * doc/lispref/display.texi (Progress): Fix last change.
      (Bug#31696)  (Bug#31697)
      849631c1
    • Tino Calancha's avatar
      Add new macro dolist-with-progress-reporter · edb1f85a
      Tino Calancha authored
      * lisp/subr.el (dolist-with-progress-reporter): New macro (Bug#31697).
      * lisp/cus-edit.el (custom-group-value-create): Use it.
      * lisp/dabbrev.el (dabbrev--progress-reporter): Delete variable.
      (dabbrev--find-expansion): Use dotimes-with-progress-reporter.
      
      * doc/lispref/display.texi: Document the macro.
      ; * etc/NEWS: Announce it.
      edb1f85a
    • Tino Calancha's avatar
      dotimes-with-progress-reporter: Polymorphic 2nd argument · 5099b3ab
      Tino Calancha authored
      * lisp/subr.el (dotimes-with-progress-reporter): Allow 2nd arg to be
      a string or a progress reporter (Bug#31696).
      * doc/lispref/display.texi (node Progress): Update manual.
      5099b3ab
  8. 16 Jun, 2018 1 commit
    • Eli Zaretskii's avatar
      Improve documentation of several recent changes · 0a6a2fb1
      Eli Zaretskii authored
      * src/xfaces.c (merge_face_ref): Fix a typo in the commentary.
      (evaluate_face_filter, filter_face_ref): Minor copyedits in
      the commentary.
      * doc/lispref/display.texi (Face Remapping):
      * doc/lispref/text.texi (Special Properties): Document the
      ':filter' face specs and their effects.  Document
      'face-filters-always-match'.
      
      * doc/emacs/files.texi (Visiting): Document the new
      possibility to visit large files literally in response to
      question asked by Emacs.
      * etc/NEWS: Mention the new possibility to visit large files
      literally.
      * lisp/files.el (files--ask-user-about-large-file): Use
      "literally" instead of "raw", for consistency with
      find-file-literally.
      
      * doc/lispref/frames.texi (Input Focus): Tell explicitly that
      focus-change events are sometimes supported on TTY frames.
      0a6a2fb1
  9. 01 Jun, 2018 1 commit
  10. 22 Apr, 2018 1 commit
  11. 13 Apr, 2018 1 commit
  12. 23 Mar, 2018 1 commit
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 31 Jan, 2018 1 commit
  19. 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
  20. 01 Jan, 2018 1 commit
  21. 22 Dec, 2017 2 commits
  22. 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
  23. 10 Dec, 2017 1 commit
  24. 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
  25. 27 Oct, 2017 1 commit
  26. 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
  27. 17 Oct, 2017 1 commit
  28. 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
  29. 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
  30. 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
  31. 09 Sep, 2017 1 commit
  32. 29 Jul, 2017 1 commit
  33. 20 Jul, 2017 1 commit
  34. 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