1. 01 Jan, 2017 1 commit
  2. 17 May, 2016 1 commit
  3. 01 Jan, 2016 1 commit
  4. 04 Dec, 2015 1 commit
    • Artur Malabarba's avatar
      * lisp/character-fold.el: Remove special case-folding support · 30f3432e
      Artur Malabarba authored
      (character-fold-to-regexp): Remove special code for
      case-folding.  Char-fold search still respects the
      `case-fold-search' variable (i.e., f matches F).  This only
      removes the code that was added to ensure that f also matched
      all chars that F matched.  For instance, after this commit, f
      no longer matches 𝔽.
      
      This was necessary because the logic created a regexp with
      2^(length of the string) redundant paths.  So, when a very
      long string "almost" matched, Emacs took a very long time to
      figure out that it didn't.  This became particularly relevant
      because isearch's lazy-highlight does a search bounded by (1-
      match-end) (which, in most circumstances, is a search that
      almost matches).  A recipe for this can be found in bug#22090.
      30f3432e
  5. 01 Dec, 2015 1 commit
    • Artur Malabarba's avatar
      * lisp/character-fold.el: Add back multi-char matching · 61a4b57f
      Artur Malabarba authored
      (character-fold-to-regexp): Uncomment recently commented code
      and make the algorithm "dummer" by not checking every possible
      combination.  This will miss some possible matches, but it
      greatly reduces regexp size.
      
      * test/automated/character-fold-tests.el
      (character-fold--test-fold-to-regexp): Comment out test of
      functionality no longer supported.
      61a4b57f
  6. 30 Nov, 2015 1 commit
  7. 29 Nov, 2015 1 commit
  8. 28 Nov, 2015 4 commits
  9. 27 Nov, 2015 3 commits
  10. 30 Oct, 2015 1 commit
  11. 28 Oct, 2015 2 commits
    • Artur Malabarba's avatar
      * lisp/character-fold.el (character-fold-to-regexp): Fix case · 020e8505
      Artur Malabarba authored
      where string ends in space
      020e8505
    • Artur Malabarba's avatar
      * lisp/character-fold.el: Make compatible with lax-whitespace · 4281f722
      Artur Malabarba authored
      (character-fold-to-regexp): Rework internals to play nice with
      lax-whitespacing.
      
      When the user types a space, we want to match the table entry for
      ?\s, which is generally a regexp like "[ ...]".  However, the
      `search-spaces-regexp' variable doesn't "see" spaces inside these
      regexp constructs, so we need to use "\\( \\|[ ...]\\)" instead (to
      manually expose a space).
      
      Furthermore, the lax search engine acts on a bunch of spaces, not
      on individual spaces, so if the string contains sequential spaces
      like "  ", we need to keep them grouped together like this:
      "\\(  \\|[ ...][ ...]\\)".
      4281f722
  12. 25 Oct, 2015 1 commit
    • Artur Malabarba's avatar
      * lisp/character-fold.el: Many improvements · f5f18f95
      Artur Malabarba authored
      (character-fold-search-forward, character-fold-search-backward):
      New command
      (character-fold-to-regexp): Remove lax-whitespace hack.
      (character-fold-search): Remove variable.  Only isearch and
      query-replace use char-folding, and they both have their own
      variables to configure that.
      f5f18f95
  13. 19 Aug, 2015 1 commit
    • Artur Malabarba's avatar
      * isearch.el (isearch-search-fun-default): Revert a5bdb872 · 7eed7399
      Artur Malabarba authored
      Remove usage of `isearch-lax-whitespace' inside the `iearch-word'
      clause of `isearch-search-fun-default'. That lax variable does not
      refer to lax-whitespacing.  Related to (bug#21777).
      This reverts commit a5bdb872.
      
      * character-fold.el (character-fold-search): Set to nil
      Default to nil for now, until someone implements proper
      lax-whitespacing with char-fold searching.
      7eed7399
  14. 05 Aug, 2015 1 commit
  15. 05 Jul, 2015 1 commit
  16. 01 Jul, 2015 1 commit
  17. 25 Jun, 2015 3 commits
  18. 24 Jun, 2015 1 commit
    • Artur Malabarba's avatar
      * lisp/character-fold.el: New file (Bug#20887) · 795c9189
      Artur Malabarba authored
      (character-fold-to-regexp): New function.
      
      * lisp/replace.el (replace-search): Check value of
      `character-fold-search'.
      
      * lisp/isearch.el: Move character-folding code to
      character-fold.el
      (isearch-toggle-character-fold): New command.
      (isearch-mode-map): Bind it to "\M-sf".
      (isearch-mode): Check value of `character-fold-search'.
      795c9189