1. 28 Feb, 2020 2 commits
  2. 27 Feb, 2020 6 commits
  3. 26 Feb, 2020 6 commits
  4. 24 Feb, 2020 2 commits
  5. 23 Feb, 2020 5 commits
    • Alan Mackenzie's avatar
      CC Mode: Protect against consecutive calls to before-change-functions ... · 3bce7ec3
      Alan Mackenzie authored
      without an intervening call to after-change-functions.  This would have been a
      workaround to bug #38691 had the causes of that bug not been removed.
      
      * lisp/progmodes/cc-mode.el (c-just-done-before-change): Add an extra value to
      this variable, 'whole-buffer, this being set by c-before-change as a signal to
      c-after-change that although c-before-change has run, it has assumed the
      entire buffer as the change region.
      (c-before-change, c-after-change): Adapt to the new meaning of the above.
      3bce7ec3
    • Noam Postavsky's avatar
      Shorten some ppss struct field names · ba7004b2
      Noam Postavsky authored
      * lisp/emacs-lisp/syntax.el (ppss): Capitalize docstrings.
      (ppss-comment-depth): Renamed from ppss-comment-nesting.
      (ppss-quoted-p): Renamed from ppss-after-quote-p.
      (ppss-min-depth): Renamed from ppss-minimum-paren-depth.
      (ppss-open-parens): Renamed from ppss-open-paren-positions.
      * etc/NEWS: Announce the ppss-* accessors.
      ba7004b2
    • Alan Mackenzie's avatar
      Java Mode: Fix fontification of variable decl inside `for' · 693749c6
      Alan Mackenzie authored
      * lisp/progmodes/cc-engine.el (c-forward-declarator): In place of a test for
      C++ Mode, test for either C++ Mode or Java Mode.
      693749c6
    • Alan Mackenzie's avatar
      CC Mode: Fontify foo in "const auto foo :" correctly · 884b68ca
      Alan Mackenzie authored
      * lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): While attempting to
      find a declaration's identifier, recast the latest found id. as that
      identifier when there is no other type identifier and the result of the most
      recent c-forward-type call is 'maybe or 'found.  In the latter case, remove
      the id. from the found types list, too.
      884b68ca
    • Juri Linkov's avatar
      * lisp/replace.el (occur-engine-line): Revert part of fb163130 (bug#39597) · aff8bca7
      Juri Linkov authored
      ; Do not merge to master.
      aff8bca7
  6. 22 Feb, 2020 3 commits
    • Dmitry Gutov's avatar
      Move more logic to vc-ignore from vc-default-ignore · dd575643
      Dmitry Gutov authored
      * lisp/vc/vc-dir.el (vc-dir-ignore):
      Pass relative file names to vc-ignore.
      
      * lisp/vc/vc.el (vc-ignore): Move the responsibility of
      constructing the ignore pattern (right now, most often a relative
      file name) using a file name received from the user, here.
      (vc-default-ignore): ...from here (bug#37189, see discussion).
      Also clarify the docstring.
      dd575643
    • Eli Zaretskii's avatar
      Warn about the likes of "[:alnum:]" in regexps · 2aed279b
      Eli Zaretskii authored
      * doc/lispref/searching.texi (Char Classes): Warn about erroneous
      usage of named character classes.  Suggested by Stephen Leake
      <stephen_leake@stephe-leake.org>.
      2aed279b
    • Wolfgang Scherer's avatar
      Don't write absolute filenames and duplicate strings to CVS ignore files · 0273f261
      Wolfgang Scherer authored
      * lisp/vc/vc-cvs.el (vc-cvs-ignore): Expand filename correctly
      and pass on only the basename as the pattern.
      (vc-cvs-append-to-ignore) Do not write duplicate strings to
      .cvsignore.  New optional parameter SORT to more explicitly
      control sorting of the ignore entries.  (Bug#37215)
      * lisp/vc/pcvs.el (cvs-mode-ignore): Call 'vc-cvs-append-to-ignore'
      with SORT argument.
      0273f261
  7. 21 Feb, 2020 5 commits
  8. 20 Feb, 2020 5 commits
  9. 17 Feb, 2020 5 commits
    • Paul Eggert's avatar
      Clarify when fixnums are used. · a2c4eeee
      Paul Eggert authored
      * doc/lispref/numbers.texi (Integer Basics): Clarify.
      Based on a suggestion by Noam Postavsky (Bug#39557#32).
      a2c4eeee
    • Paul Eggert's avatar
      Reorder discussion of integer basics · 4e5ac4b0
      Paul Eggert authored
      * doc/lispref/numbers.texi (Integer Basics): Put the fixnum/bignum
      discussion at the end of the section, not at the start (Bug#39557).
      4e5ac4b0
    • Mattias Engdegård's avatar
      Make OMake support slightly less expensive (bug#39595) · f765aad2
      Mattias Engdegård authored
      When run with -p or -P, OMake regurgitates error messages that
      prevented further progress, indented by 6 spaces.  Use that fact
      to ameliorate the modification done to other error message regexps.
      
      * lisp/progmodes/compile.el (compilation-parse-errors):
      When 'omake' is enabled, allow error messages to be indented by 0 or 6
      spaces instead of any number of spaces, to avoid pathological
      behaviour.
      (compilation-error-regexp-alist-alist): Anchor the 'omake' pattern to
      bol for performance.  Repair the 'ruby-Test::Unit' pattern, which
      relied on the previously over-generous 'omake' hack.
      * etc/compilation.txt (OMake): Add examples.
      * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data)
      (compile-test-error-regexps): Add test for OMake (indented error).
      f765aad2
    • Mattias Engdegård's avatar
      Speed up 'msft' and 'watcom' compilation error regexps · 39410cfc
      Mattias Engdegård authored
      They have similar structure, and both suffer from being able to
      match leading spaces in multiple ways which leads to bad performance
      when backtracking (bug#39595).
      
      * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
      Improved 'msft' and 'watcom' regexps.
      39410cfc
    • Mattias Engdegård's avatar
      Speed up 'maven' compilation error message regexp · 96a269d0
      Mattias Engdegård authored
      Anchor the regexp at line-start to prevent quadratic behaviour when
      it doesn't match (bug#39595).  It's unclear whether the type tag, like
      [ERROR], is always present; we keep it optional just in case.
      
      * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
      Rewrite 'maven' regexp, using rx for clarity.
      * etc/compilation.txt (maven): More examples.
      * test/lisp/progmodes/compile-tests.el
      (compile-tests--test-regexps-data): No leading spaces; they seems to
      stem from a misunderstanding in bug#11517.
      96a269d0
  10. 16 Feb, 2020 1 commit