1. 09 Jun, 2019 1 commit
    • Stefan Kangas's avatar
      Checkdoc fixes in lisp/bookmark.el · fb6610f5
      Stefan Kangas authored
      * lisp/bookmark.el (bookmark-bmenu-inline-header-height)
      (bookmark-bmenu-marks-width, bookmark-map, bookmark-quit-flag)
      (bookmark-name-from-full-record, bookmark-set-internal)
      (bookmark-insert-annotation, bookmark--jump-via)
      (bookmark-bmenu-set-header, bookmark-show-annotation)
      (bookmark-bmenu-other-window-with-mouse, bookmark-bmenu-relocate):
      Checkdoc docstring fixes.  (Bug#35916)
  2. 08 Jun, 2019 4 commits
  3. 07 Jun, 2019 4 commits
    • Stefan Monnier's avatar
      * lisp/gnus: Further reduce assumptions about gnus-data format · da1974fa
      Stefan Monnier authored
      * lisp/gnus/gnus-registry.el (gnus-registry-fetch-message-id-fast)
      (gnus-registry-fetch-sender-fast, gnus-registry-fetch-recipients-fast)
      (gnus-registry--set/remove-mark): Don't hardcode assoc for gnus-data-find-in.
      * lisp/gnus/gnus-sum.el (gnus-data-update-list): Don't hardcode `nth 2`
      for gnus-data-pos.
      (gnus-summary-insert-old-articles, gnus-summary-insert-new-articles)
      (gnus-summary-first-article-p): Don't hardcode `car` for `gnus-data-number`.
      (gnus-summary-move-article, gnus-summary-expire-articles)
      (gnus-summary-delete-article): Don't hardcode assoc for gnus-data-find-in.
      * lisp/gnus/spam.el (spam-fetch-article-header): Don't hardcode `nth 3`
      for gnus-data-header.
    • Tak Kunihiro's avatar
      Make mouse-wheel-scroll-amount consistent among platforms · 9f4c945b
      Tak Kunihiro authored
      * lisp/term/ns-win.el (mouse-wheel-scroll-amount): Do not put any
      values on mouse-wheel-scroll-amount on ns.
    • Eli Zaretskii's avatar
      Resurrect display-line-number-mode in client frames · 9254885a
      Eli Zaretskii authored
      * lisp/linum.el (linum-on): Mention bug#35726 in a comment.
      * lisp/display-line-numbers.el
      (display-line-numbers--turn-on): Don't check for daemon.
    • John Shahid's avatar
      Consider line spacing and font height when deriving proc window size · ad9eadbe
      John Shahid authored
      * lisp/window.el (window-adjust-process-window-size): Use
        window-screen-lines instead of window-body-height.
      * lisp/term.el (term-mode): Use window-screen-lines to set the initial
        window height.
  4. 06 Jun, 2019 7 commits
  5. 05 Jun, 2019 4 commits
    • Alan Third's avatar
      Add native image rotation and cropping · 610fb73a
      Alan Third authored
      * lisp/image.el (image--get-imagemagick-and-warn): Only fallback to
      ImageMagick if native transforms aren't available.
      * src/dispextern.h (INIT_MATRIX, COPY_MATRIX, MULT_MATRICES): New
      macros for matrix manipulation.
      relevant locations.
      * src/image.c (x_set_image_rotation):
      (x_set_transform): New functions.
      (x_set_image_size): Use transform matrix for resizing under X and NS.
      (x_set_image_crop): New function.
      (lookup_image): Use the new transform functions.
      (Fimage_scaling_p, Fimage_transforms_p): Rename and update all
      * src/nsimage.m (ns_load_image): Remove rotation code.
      (ns_image_set_transform): New function.
      ([EmacsImage dealloc]): Release the saved transform.
      ([EmacsImage rotate:]): Remove unneeded method.
      ([EmacsImage setTransform:]): New method.
      * src/nsterm.h (EmacsImage): Add transform property and update method
      * src/nsterm.m (ns_dumpglyphs_image): Use the transform to draw the
      image correctly.
      * src/xterm.c (x_composite_image): Use PictOpSrc as we don't care
      about alpha values here.
      * doc/lispref/display.texi (Image Descriptors): Add :rotation.
      (ImageMagick Images): Remove :rotation.
    • Juri Linkov's avatar
      * lisp/wid-edit.el (widget-choose): Use display-buffer-in-direction · ec264e71
      Juri Linkov authored
      to display buffer in bottom direction with fit-window-to-buffer.
      * lisp/proced.el (proced-with-processes-buffer): Idem.  (Bug#35592)
    • Dario Gjorgjevski's avatar
      Do not use syntax-ppss-table in syntax-propertize when nil (Bug#36095) · dec14893
      Dario Gjorgjevski authored
      * lisp/emacs-lisp/syntax.el (syntax-propertize): Use (syntax-table)
      instead of syntax-ppss-table when the latter is nil.
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/syntax.el: Use syntax-ppss-table for syntax-propertize. · 0b3982b1
      Stefan Monnier authored
      `syntax-ppss` uses `syntax-ppss-table` while parsing the buffer as well
      as when it calls `syntax-propertize`, but `syntax-propertize` can also
      be called directly rather than via `syntax-ppss` so it needs to explicitly
      use `syntax-ppss-table` as well in order to avoid using sometimes one
      table and sometimes another.
      (syntax-ppss-table): Move before new use.
      (syntax-propertize): Use it.
  6. 04 Jun, 2019 13 commits
    • Paul Eggert's avatar
      Remove retired maintainers from comments · ca7b6a44
      Paul Eggert authored
      * lisp/international/quail.el, lisp/language/ind-util.el:
      * lisp/language/indian.el, lisp/mail/smtpmail.el, lisp/mwheel.el:
      * lisp/obsolete/longlines.el, lisp/progmodes/idlw-complete-structtag.el:
      * lisp/progmodes/idlw-help.el, lisp/progmodes/idlw-shell.el:
      * lisp/progmodes/idlw-toolbar.el, lisp/progmodes/idlwave.el:
      * lisp/progmodes/simula.el, lisp/ps-print.el, lisp/ps-samp.el:
      Remove Maintainer: lines for maintainers who have retired.
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/thunk.el (thunk-delay): Fix memory leak · f4d32538
      Stefan Monnier authored
      Get rid of references to the free variables of `body` once the thunk has
      been forced (bug#30626).
    • Stefan Monnier's avatar
    • Jackson Ray Hamilton's avatar
      Specify the matching chars for JSX open/close parenthesis · ea09b9fe
      Jackson Ray Hamilton authored
      * lisp/progmodes/js.el (js-jsx--syntax-propertize-tag): Indicate the
      matching parenthesis character (since JSX’s < and > aren’t typical
      parenthesis) for the sake of packages like rainbow-delimiters which
      need that information.
    • Jackson Ray Hamilton's avatar
      Revert "Add extra text property to fix issue with js2-mode integration" · c4214e4d
      Jackson Ray Hamilton authored
      This reverts commit 382a508e.
      We ended up deciding against using this in js2-mode.  Instead,
      js2-mode may eventually use js-mode’s syntax-propertize-function to
      set syntax-table text properties.
    • Paul Eggert's avatar
      Adjust comments/debug to match C bignum code · 741d04a8
      Paul Eggert authored
      * doc/lispintro/emacs-lisp-intro.texi (Digression into C):
      Adjust to match current C code.
      * lisp/emacs-lisp/ert.el (ert--force-message-log-buffer-truncation):
      * src/.gdbinit (Lisp_Object_Printer.to_string): Return
      a string that says "make_fixnum", not "make_number".
    • Stefan Monnier's avatar
    • Noam Postavsky's avatar
      Keep nxml-prolog-end up to date (Bug#18871) · 3f2bfe9a
      Noam Postavsky authored
      The change on 2016-01-16 "lisp/nxml: Use syntax-tables for comments"
      removed the update of nxml-prolog-end, although it already failed to
      work correctly after 2013-10-07 "* lisp/nxml/nxml-mode.el: Use
      lexical-binding and syntax-propertize."
      * lisp/nxml/nxml-rap.el: New function.
      * lisp/nxml/nxml-mode.el (nxml-mode): Add it to
    • Noam Postavsky's avatar
      Don't sgml-syntax-propertize-inside XML prolog (Bug#32823) · d414c93b
      Noam Postavsky authored
      * lisp/nxml/nxml-mode.el (nxml-syntax-propertize): New function.
      (nxml-mode): Use it as the syntax-propertize-function.
      * test/lisp/nxml/nxml-mode-tests.el (nxml-mode-doctype-and-quote-syntax)
      (nxml-mode-prolog-comment): New tests.
    • Noam Postavsky's avatar
      Don't fontify text outside of SGML/XML tags (Bug#33887) · e04f93e1
      Noam Postavsky authored
      * lisp/textmodes/sgml-mode.el (sgml-font-lock-syntactic-face): New
      * lisp/nxml/nxml-mode.el (nxml-mode): Use it as
      font-lock-syntactic-face-function value.
    • Noam Postavsky's avatar
      Fix some SGML syntax edge cases (Bug#33887) · 438e4804
      Noam Postavsky authored
      * lisp/textmodes/sgml-mode.el (sgml-syntax-propertize-rules): Handle
      single and double quotes symmetrically.  Don't skip quoted comment
      * test/lisp/textmodes/sgml-mode-tests.el (sgml-tests--quotes-syntax):
      Add more test cases.
      (sgml-mode-quote-in-long-text): New test.
    • Michael Albinus's avatar
      Stronger check for Tramp method · 7aaf5007
      Michael Albinus authored
      * lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
      * lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-maybe-open-connection):
      Use `tramp-get-connection-name'.
      * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link):
      * lisp/net/tramp-smb.el (tramp-smb-handle-make-symbolic-link):
      * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-make-symbolic-link):
      Don't check remote TARGET.
      * lisp/net/tramp.el (tramp-dissect-file-name): Check for proper method.
      (tramp-file-name-for-operation): Take only 2nd argument into
      account for file name handler.
      (tramp-file-name-handler): Suppress checks for `file-remote-p'.
      * test/lisp/net/tramp-archive-tests.el
      (tramp-archive-test02-file-name-dissect): Suppress check for wrong
      * test/lisp/net/tramp-tests.el (tramp--test-instrument-test-case):
      Dump *all* Tramp buffers.
      (tramp-test02-file-name-dissect-separate): Check also wrong method.
      (tramp-test03-file-name-defaults): Check, that the respective
      Tramp package is loaded.
      (tramp-test06-directory-file-name, tramp-test44-auto-load):
      Suppress check for wrong method.
      (tramp-test30-make-process): Remove instrumentation code.
      (tramp-test31-interrupt-process, tramp-test36-vc-registered):
      Guarantee that connection is established prior starting process.
    • Noam Postavsky's avatar
      Let untarring (and hence package installation) go faster (Bug#35909) · f81b812d
      Noam Postavsky authored
      * lisp/subr.el (progress-reporter-update)
      (progress-reporter-force-update, progress-reporter-do-update): Accept
      new optional argument, SUFFIX.
      * doc/lispref/display.texi (Progress): Document it.
      * etc/NEWS: Announce it.
      * lisp/tar-mode.el (tar-untar-buffer): Use a progress reporter instead
      of calling message.  Suppress message from write-region.  Let-bind
      write-region-inhibit-fsync to t.
  7. 03 Jun, 2019 5 commits
  8. 02 Jun, 2019 2 commits
    • Stefan Monnier's avatar
      * gnus-(sum|async).el: Eliminate assumptions about gnus-data format · e02f751e
      Stefan Monnier authored
      * lisp/gnus/gnus-async.el (gnus-async-with-semaphore): Use `declare`.
      (gnus-async-prefetch-next): Don't assume gnus-data-number == car.
      * lisp/gnus/gnus-sum.el (gnus-data-find-in): New function.
      (gnus-data-find, gnus-data-find-list): Use it.
      (gnus-summary-article-subject): Make it a function.
      (gnus--dummy-data-list): New const.
      (gnus-update-summary-mark-positions): Use it.
    • Stefan Monnier's avatar
      * gnus.el: Fix cycle in eager macroexpansion · 8047bd08
      Stefan Monnier authored
      * lisp/gnus/gnus-sum.el (gnus-data): Use cl-defstruct.
      (gnus-data-set-pos, gnus-data-set-header, gnus-data-set-mark)
      (gnus-data-set-number): Delete macros; use `setf` instead.
      (gnus-data-unread-p, gnus-data-read-p, gnus-data-pseudo-p, gnus-data-find)
      (gnus-summary-skip-intangible, gnus-summary-article-number):
      Redefine as inlinable functions rather than macros.
      * lisp/gnus/gnus.el: Adjust autoloads for the macros turned functions.