1. 04 Jul, 2019 1 commit
  2. 26 Jun, 2019 1 commit
    • Noam Postavsky's avatar
      Don't bind search-spaces-regexp around possible autoload (Bug#35802) · 648fdbbc
      Noam Postavsky authored
      * lisp/isearch.el (isearch-search-fun-default): Move possible autoload
      trigger outside let-binding of search-spaces-regexp.
      * lisp/char-fold.el (char-fold-make-table): Remove no longer needed
      workaround.
      
      * lisp/info.el (Info-search-whitespace-regexp):
      * lisp/isearch.el (search-whitespace-regexp):
      * src/search.c (syms_of_search) <search-spaces-regexp>: Add warning
      about adding capturing groups to the value.
      
      * test/lisp/char-fold-tests.el: Remove, binding search-spaces-regexp
      to a different should be considered a bug.
      648fdbbc
  3. 03 Jun, 2019 1 commit
  4. 25 May, 2019 1 commit
    • Paul Eggert's avatar
      Go back to "Maintainer: emacs-devel@gnu.org" · f744797a
      Paul Eggert authored
      Restore lines saying "Maintainer: emacs-devel@gnu.org" when there is
      no special maintainer for a file.  Although this wasn't documented
      it was common practice and removing the lines didn't have consensus.
      f744797a
  5. 20 May, 2019 1 commit
  6. 01 Jan, 2019 1 commit
  7. 30 Oct, 2018 1 commit
    • Michael Heerdegen's avatar
      Don't quote self-quoting pcase patterns · 049bd5d2
      Michael Heerdegen authored
      * admin/bzrmerge.el:
      * lisp/char-fold.el:
      * lisp/dired.el:
      * lisp/emacs-lisp/derived.el:
      * lisp/emacs-lisp/easy-mmode.el:
      * lisp/emacs-lisp/easymenu.el:
      * lisp/emacs-lisp/eieio-core.el:
      * lisp/emacs-lisp/package.el:
      * lisp/emacs-lisp/smie.el:
      * lisp/faces.el:
      * lisp/filesets.el:
      * lisp/progmodes/modula2.el:
      * lisp/progmodes/octave.el:
      * lisp/progmodes/opascal.el:
      * lisp/progmodes/perl-mode.el:
      * lisp/progmodes/prolog.el:
      * lisp/progmodes/ruby-mode.el:
      * lisp/progmodes/sh-script.el:
      * lisp/server.el:
      * lisp/subr.el:
      * lisp/textmodes/css-mode.el:
      * test/lisp/emacs-lisp/pcase-tests.el: Don't quote self-quoting
      'pcase' patterns.
      049bd5d2
  8. 06 Aug, 2018 1 commit
    • Paul Eggert's avatar
      Rename src/regex.c to src/regex-emacs.c. · e5652268
      Paul Eggert authored
      This is in preparation for using Gnulib regex for etags,
      to avoid collisions in include directives.
      * src/regex-emacs.c: Rename from src/regex.c.
      * src/regex-emacs.h: Rename from src/regex.h.  All uses changed.
      * test/src/regex-emacs-tests.el: Rename from test/src/regex-tests.el.
      e5652268
  9. 01 Jan, 2018 1 commit
  10. 26 Nov, 2017 1 commit
  11. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  12. 01 Jan, 2017 1 commit
  13. 17 May, 2016 1 commit
  14. 01 Jan, 2016 1 commit
  15. 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
  16. 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
  17. 30 Nov, 2015 1 commit
  18. 29 Nov, 2015 1 commit
  19. 28 Nov, 2015 4 commits
  20. 27 Nov, 2015 3 commits
  21. 30 Oct, 2015 1 commit
  22. 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
  23. 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
  24. 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
  25. 05 Aug, 2015 1 commit
  26. 05 Jul, 2015 1 commit
  27. 01 Jul, 2015 1 commit
  28. 25 Jun, 2015 3 commits
  29. 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