summaryrefslogtreecommitdiff
path: root/lisp/char-fold.el
AgeCommit message (Collapse)Author
2026-01-01; Add 2026 to copyright years.Sean Whitton
2025-01-01Update copyright year to 2025Paul Eggert
Run "TZ=UTC0 admin/update-copyright".
2024-01-04Avoid `defconst` for vars which we modifyStefan Monnier
If we `setq` or let-bind a var, then presumably it's not a const. * lisp/bookmark.el (bookmark-bmenu-buffer): * lisp/char-fold.el (char-fold-table): * lisp/pcmpl-linux.el (pcmpl-linux-fs-modules-path-format) (pcmpl-linux-mtab-file): * lisp/emacs-lisp/bytecomp.el (byte-compile-log-buffer): * lisp/emacs-lisp/check-declare.el (check-declare-warning-buffer): * lisp/emacs-lisp/ert-x.el (ert-remote-temporary-file-directory): * lisp/erc/erc.el (erc-default-port): * lisp/net/tramp.el (tramp-unknown-id-string) (tramp-unknown-id-integer): * lisp/url/url-util.el (url-unreserved-chars):
2024-01-02; Add 2024 to copyright yearsPo Lu
2023-01-10Improve 'describe-char-fold-equivalences' docstringRobert Pluim
* lisp/char-fold.el (describe-char-fold-equivalences): Explain what the output looks like.
2023-01-01; Add 2023 to copyright years.Eli Zaretskii
2022-09-02Use `format-prompt' in `describe-char-fold-equivalences'Robert Pluim
* lisp/char-fold.el (describe-char-fold-equivalences): Use `format-prompt'.
2022-09-02Make single char entry easier for `describe-char-fold-equivalences'Robert Pluim
* lisp/char-fold.el (describe-char-fold-equivalences): Improve docstring. Pass t for 'allow-single' arg in call to `read-char-by-name' so that single characters can be entered directly.
2022-08-31Fix describe-char-fold-equivalences for composed charactersRobert Pluim
* lisp/char-fold.el (describe-char-fold-equivalences): Map `get-char-code-property' across all the component codepoints of the equivalent character rather than just the first one.
2022-08-30; Improve doc string of 'describe-char-fold-equivalences'Eli Zaretskii
* lisp/char-fold.el (describe-char-fold-equivalences): Autoload it. Doc fix.
2022-08-30Fix char-fold compilation warningLars Ingebrigtsen
* lisp/char-fold.el (require): Get string-join definition.
2022-08-30* lisp/char-fold.el (describe-char-fold-equivalences): New command.Juri Linkov
(char-fold--no-regexp): New internal variable. (char-fold--make-table): Use it to skip translation to regexp. Suggested by Robert Pluim <rpluim@gmail.com>. https://lists.gnu.org/archive/html/emacs-devel/2022-07/msg00864.html
2022-01-01Merge from origin/emacs-28Eli Zaretskii
836be7a112 ; * etc/refcards/ru-refcard.tex: Update Copyright year. 86cbc6ee4a * lisp/net/tramp-sh.el: Adapt copyright year ebe8772f65 ; Minor fixes related to copyright years 23c1ee6989 ; * test/manual/etags/ETAGS.good_N: Adjust to copyright ye... 8d3fc7ec89 * src/xfaces.c (face_for_font): Make 'hash' be uintptr_t. 19dcb237b5 ; Add 2022 to copyright years. # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex # lib/cdefs.h # lisp/erc/erc-dcc.el # lisp/erc/erc-imenu.el # lisp/erc/erc-replace.el # lisp/image-dired.el # lisp/progmodes/xref.el # m4/alloca.m4 # m4/byteswap.m4 # m4/errno_h.m4 # m4/getopt.m4 # m4/gnulib-common.m4 # m4/inttypes.m4 # m4/stddef_h.m4 # m4/stdint.m4 # m4/sys_socket_h.m4
2022-01-01; Add 2022 to copyright years.Eli Zaretskii
2021-12-12* lisp/char-fold.el (char-fold-override): Doc fix.Eli Zaretskii
2021-12-12* lisp/char-fold.el (char-fold-override): New defcustom (bug#52394).Juri Linkov
(char-fold--default-override): New defconst with the default value nil. (char-fold--previous): Add char-fold--default-override. (char-fold--make-table): Don't populate the table with default chars when char-fold-override or char-fold--default-override is non-nil. (char-fold-update-table): Add char-fold--default-override.
2021-09-22; More minor stylistic fixes found by checkdocStefan Kangas
2021-01-01Update copyright year to 2021Paul Eggert
Run "TZ=UTC0 admin/update-copyright".
2020-09-07* lisp/char-fold.el (char-fold-to-regexp): Handle lax-whitespace (bug#38539)Juri Linkov
2020-03-29Switch to literal mode with message when regexp is too big in char-fold searchJuri Linkov
* lisp/char-fold.el (char-fold-to-regexp): Don't use regexp-quote when the length of regexp reaches 5000. (Bug#40216) * lisp/isearch.el (isearch-search): On big regexp in char-fold mode gracefully fall back to literal mode, try to search again and display momentary-message about switching to literal mode. (isearch--momentary-message): Add optional arg SECONDS.
2020-01-01Update copyright year to 2020Paul Eggert
Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
2019-12-09Spelling fixesPaul Eggert
2019-07-29* lisp/char-fold.el: Rename char-fold-make-table to char-fold--make-table.Juri Linkov
2019-07-29Move some uncontroversial char-folding pairs from test data to default valuesJuri Linkov
* lisp/char-fold.el (char-fold--default-include) (char-fold--default-exclude): Add some default values. * test/lisp/char-fold-tests.el (char-fold--test-without-customization) (char-fold--test-with-customization): Move some test data to default values. Add more data for tests to pass. (Bug#35689)
2019-07-23Customizable char-fold with char-fold-symmetric, char-fold-include (bug#35689)Juri Linkov
* doc/emacs/search.texi (Lax Search): Document char-fold-symmetric, char-fold-include, char-fold-exclude. * lisp/char-fold.el (char-fold--default-include) (char-fold--default-exclude, char-fold--default-symmetric) (char-fold--previous): New defconsts. (char-fold-include, char-fold-exclude, char-fold-symmetric): New defcustoms. (char-fold-make-table): Use them. (char-fold-update-table): New function called at top-level. * test/lisp/char-fold-tests.el (char-fold--test-no-match-exactly) (char-fold--permutation): New functions. (char-fold--test-without-customization) (char-fold--test-with-customization): New tests.
2019-07-23Follow decomposition chains when constructing char-fold-tableRobert Pluim
* lisp/char-fold.el (char-fold-make-table): Decompose the decomposition of each character, adding equivalences to the original character, until no more decompositions are left.
2019-07-04* lisp/char-fold.el (char-fold-to-regexp): Implement arg LAX (bug#36398).Juri Linkov
* test/lisp/char-fold-tests.el (char-fold--test-multi-lax): New test.
2019-06-25Don't bind search-spaces-regexp around possible autoload (Bug#35802)Noam Postavsky
* 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.
2019-06-03* lisp/char-fold.el (char-fold-make-table): New functionJuri Linkov
with body extracted from INITVALUE of defconst (bug#35689). Bind search-spaces-regexp to nil (bug#35802). * test/lisp/char-fold-tests.el: Relocate helpers to file beginning. (char-fold--test-bug-35802): New test.
2019-05-25Go back to "Maintainer: emacs-devel@gnu.org"Paul Eggert
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.
2019-05-19Fixes for "Maintainer:" and related linesPaul Eggert
Mostly, this just removes "Maintainer: emacs-devel@gnu.org" lines, which are not that useful. It also cleans up and regularizes a few similar lines.
2018-12-31Merge from origin/emacs-26Paul Eggert
2fcf2df Fix copyright years by hand 26bed8b Update copyright year to 2019 2814292 Fix value of default frame height. (Bug#33921)
2019-01-01Update copyright year to 2019Paul Eggert
Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
2018-10-30Don't quote self-quoting pcase patternsMichael Heerdegen
* 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.
2018-08-05Rename src/regex.c to src/regex-emacs.c.Paul Eggert
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.
2018-01-01Update copyright year to 2018Paul Eggert
Run admin/update-copyright.
2017-11-25maint: shorten https://lists.gnu.org/archive/html/... linksPaul Eggert
2017-09-13Prefer HTTPS to FTP and HTTP in documentationPaul Eggert
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.
2016-12-31Update copyright year to 2017Paul Eggert
Run admin/update-copyright.
2016-05-17* lisp/char-fold.el: Rename from character-fold.el.Juri Linkov
* lisp/replace.el (replace-char-fold): Rename from replace-character-fold. * test/automated/char-fold-tests.el: Rename from character-fold-tests.el. http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00529.html