1. 04 Jun, 2019 17 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.
      ca7b6a44
    • 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).
      f4d32538
    • 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.
      ea09b9fe
    • 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.
      c4214e4d
    • Paul Eggert's avatar
      Update lispref spellfile · 88d44018
      Paul Eggert authored
      * doc/lispref/spellfile: Omit words no longer in the manual.
      How is this spellfile used?  Does anybody use it any more?
      88d44018
    • 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):
      Simplify.
      * src/.gdbinit (Lisp_Object_Printer.to_string): Return
      a string that says "make_fixnum", not "make_number".
      741d04a8
    • Paul Eggert's avatar
      Always allow at least double-precision bignums · 7f4558e3
      Paul Eggert authored
      Without this fix, Emacs can get into a tight loop reporting
      a range error when calculating timestamps.
      * doc/lispref/numbers.texi (Integer Basics):
      * src/alloc.c (syms_of_alloc): Document this.
      * src/bignum.c (make_bignum_bits): Always allow bignums
      of at least twice the width of (u)intmax_t.
      7f4558e3
    • 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
      after-change-functions.
      3f2bfe9a
    • 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.
      d414c93b
    • 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
      function.
      (sgml-mode):
      * lisp/nxml/nxml-mode.el (nxml-mode): Use it as
      font-lock-syntactic-face-function value.
      e04f93e1
    • 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
      enders.
      * test/lisp/textmodes/sgml-mode-tests.el (sgml-tests--quotes-syntax):
      Add more test cases.
      (sgml-mode-quote-in-long-text): New test.
      438e4804
    • 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
      method.
      
      * test/lisp/net/tramp-tests.el (tramp--test-instrument-test-case):
      Dump *all* Tramp buffers.
      (tramp-test02-file-name-dissect)
      (tramp-test02-file-name-dissect-simplified)
      (tramp-test02-file-name-dissect-separate): Check also wrong method.
      (tramp-test03-file-name-defaults): Check, that the respective
      Tramp package is loaded.
      (tramp-test04-substitute-in-file-name)
      (tramp-test05-expand-file-name)
      (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.
      7aaf5007
    • YAMAMOTO Mitsuharu's avatar
    • YAMAMOTO Mitsuharu's avatar
    • 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.
      f81b812d
  2. 03 Jun, 2019 5 commits
  3. 02 Jun, 2019 14 commits
  4. 01 Jun, 2019 4 commits
    • Glenn Morris's avatar
      ; Fix stray merge conflict · d101e877
      Glenn Morris authored
      d101e877
    • Alan Mackenzie's avatar
      Debug and disentangle the literal cacheing in CC Mode · bd5ca559
      Alan Mackenzie authored
      (Final Commit)
      
      * lisp/progmodes/cc-engine.el (c-semi-trim-near-cache): Correct a comparison
      with the wrong ...-limit variable.
      (c-semi-pp-to-literal): Remove a wrong setting of c-lit-pos-cache-limit.
      (c-full-get-near-cache-entry): Eliminate extravagant and unneeded coding.
      (c-state-cache-init, c-record-parse-state-state): No longer manipulate
      c-lit-pos-cache, which is no longer regarded as part of c-parse-state.
      
      * lisp/progmodes/cc-mode.el (c-basic-common-init): Call
      c-truncate-lit-pos-cache to initialize the literal cache.
      bd5ca559
    • Alan Mackenzie's avatar
    • Alan Mackenzie's avatar
      Tidy up the literal cacheing in CC Mode, optimizing c-full-pp-to-literal · 9dee49ed
      Alan Mackenzie authored
      (Intermediate commit)
      
      * lisp/progmodes/cc-engine.el, lisp/progmodes/cc-fonts.el
      * lisp/progmodes/cc-mode.el : Rename:
      c-state-semi-nonlit-pos-cache -> c-lit-pos-cache,
      c-state-semi-nonlit-pos-cache-limit -> c-lit-pos-cache-limit,
      c-state-semi-nonlit-near-cache -> c-semi-lit-near-cache,
      c-truncate-semi-nonlit-pos-cache -> c-truncate-lit-pos-cache,
      c-state-semi-trim-near-cache -> c-semi-trim-near-cache,
      c-state-semi-get-near-cache-entry -> c-semi-get-near-cache-entry,
      c-state-semi-put-near-cache-entry -> c-semi-put-near-cache-entry,
      c-state-semi-pp-to-literal -> c-semi-pp-to-literal,
      c-state-full-pp-to-literal -> c-full-pp-to-literal,
      c-state-semi-trim-cache -> c-trim-lit-pos-cache.
      
      * lisp/progmodes/cc-engine.el (c-semi-near-cache-limit): New variable.
      (c-truncate-lit-pos-cache): This now truncates the cache variables for all
      three lit- sub-caches.
      (c-semi-put-near-cache-entry): Increase c-semi-near-cache-limit to the
      position of the new entry.
      (c-full-near-cache-limit, c-full-lit-near-cache): New variables.
      (c-full-trim-near-cache, c-full-get-near-cache-entry)
      (c-full-put-near-cache-entry): New functions.
      (c-full-pp-to-literal): Amend to use the new functions, and to optimize the
      use of the available caches, similarly to c-semi-pp-to-literal.
      9dee49ed