1. 25 Apr, 2019 3 commits
    • Stephen Berman's avatar
      Make wdired-mode ignore ls file indicators · 6d8e0fc5
      Stephen Berman authored
      * lisp/wdired.el (wdired--restore-dired-filename-prop): When
      dired-listing-switches includes "F" or "classify", don't treat
      appended indicator characters as part of the file name (bug#34915).
      
      * test/lisp/wdired-tests.el (wdired-test-bug34915): New test.
      6d8e0fc5
    • Alan Mackenzie's avatar
      Fix some corner cases in the recognition of C++ raw strings. · efb8921a
      Alan Mackenzie authored
      These are where changing the identifier in a raw string delimiter causes
      different delimiters to match eachother.
      
      * lisp/progmodes/cc-engine.el (c-raw-string-end-delim-disrupted): New
      variable.
      (c-before-change-check-raw-strings): Use new variable.
      (c-after-change-unmark-raw-strings): When typing into an opening delimiter or
      altering its close delimiter causes the opening delimiter to match a later
      closing delimiter, clear all syntax-table char properties from the opening
      delimiter onwards, and set c-new-END to point max.  Also, when changing a
      closing delimiter, check whether its new value matches a previously open
      opening delimiter earlier in the buffer, and amend the syntax-table text
      properties appropriately.
      efb8921a
    • Michael R. Mauger's avatar
      * lisp/progmodes/sql.el · a1386fa6
      Michael R. Mauger authored
      (sql-is-sqli-buffer-p): New function.
      (sql-generate-unique-sqli-buffer-name): Refactor and use it.
      (sql-product-interactive): Simplify name logic.
      * test/lisp/progmodes/sql-tests.el
      (sql-tests-placeholder-filter-harness): New macro.
      (sql-tests-placeholder-filter-simple)
      (sql-tests-placeholder-filter-ampersand)
      (sql-tests-placeholder-filter-period): Refactored tests and use macro.
      (sql-tests-buffer-naming-harness): New macro.
      (sql-tests-buffer-naming-default)
      (sql-tests-buffer-naming-multiple)
      (sql-tests-buffer-naming-explicit)
      (sql-tests-buffer-naming-universal-argument)
      (sql-tests-buffer-naming-existing): New tests.
      a1386fa6
  2. 24 Apr, 2019 5 commits
  3. 23 Apr, 2019 3 commits
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/timer-list.el: Fix header-line alignment · 1828e9a9
      Stefan Monnier authored
      Enable lexical-binding.
      (cl-print-compiled, cl-print-compiled-button): Declare.
      (timer-list-mode): Add spacing to align the header.
      1828e9a9
    • Mattias Engdegård's avatar
      Rename auto-revert-notify-watch-descriptor-hash-list · ecab8835
      Mattias Engdegård authored
      * lisp/autorevert.el
      (auto-revert-notify-watch-descriptor-hash-list):
      Rename to auto-revert--buffers-by-watch-descriptor.  Improved doc string.
      (auto-revert-notify-rm-watch, auto-revert-notify-add-watch,
      auto-revert-notify-handler): Use new name.
      ecab8835
    • Alan Mackenzie's avatar
      Optimize for typing characters into long C++ raw strings. · 0d5caa9a
      Alan Mackenzie authored
      * lisp/progmodes/cc-fonts.el (c-font-lock-complex-decl-prepare)
      (c-font-lock-objc-methods) (c-font-lock-declarations, c-font-lock-enum-tail)
      (c-font-lock-cut-off-declarators, c-font-lock-enclosing-decls): If the chunk
      been fontified consists entirely of comments and strings, don't attempt to
      perform the function's action.
      
      * lisp/progmodes/cc-mode.el (c-before-change-check-unbalanced-strings): Don't
      expand (c-new-BEG c-new-END) unnecessarily to the entire raw string being
      fontified.
      (c-fl-decl-start, c-fl-decl-end): When in a (raw or otherwise) string, don't
      return a position outside of the string (which used to cause unneeded
      fontification).
      0d5caa9a
  4. 22 Apr, 2019 4 commits
  5. 21 Apr, 2019 5 commits
    • Basil L. Contovounesios's avatar
      Move side-effect-free from unsafep.el to subr.el · 3a618e5f
      Basil L. Contovounesios authored
      * lisp/emacs-lisp/unsafep.el: Move side-effect-free property setting
      from here...
      * lisp/subr.el: ...to here, as function declarations for modularity.
      3a618e5f
    • Mauro Aranda's avatar
      Avoid false positives and false negatives of Info-quoted face · 9d7e08dd
      Mauro Aranda authored
      * lisp/info.el (Info-mode-font-lock-keywords): Modify the regexp, for
      matching single quotes of opening single quote and closing single
      quote, and avoid matching text followed by a curly quote when it is
      not quoting. (Bug#35202)
      9d7e08dd
    • Michael R. Mauger's avatar
      * lisp/progmodes/sql.el Bug#35307 · 515f5782
      Michael R. Mauger authored
      (sql-product-alist): Added :prompt-cont-regexp for ms.
      
      Looking for experience with Microsofts SQLCMD interpreter and
      adjustments needed for Emacs to support it.
      515f5782
    • Michael R. Mauger's avatar
      * lisp/progmodes/sql.el Bug#24483 · d76fea29
      Michael R. Mauger authored
      (sql-interactive-remove-continuation-prompt): Properly protect `sql-prompt-cont-regexp'.
      (sql-interactive-mode): Same.
      d76fea29
    • Michael R. Mauger's avatar
      * lisp/progmodes.sql.el · 23d8cfb9
      Michael R. Mauger authored
      (sql-product-alist): Corrected :terminator defns.
      (sql-debug-send): New variable.
      (sql-send-string): Use it and correct buffer context.
      (sql-send-magic-terminator): Use `sql-input-sender'.
      (sql-placeholders-filter): Bug#11481 Don't recursively replace placeholders
      * test/lisp/progmodes/sql-tests.el
      (sql-test-placeholder-filter): Test placeholder functionality.
      23d8cfb9
  6. 20 Apr, 2019 8 commits
  7. 19 Apr, 2019 12 commits