summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-11Bump version number for GNU ELPA debut!0.7Omar Antolín
2022-01-11Add "This file is part of GNU Emacs"Omar Antolín Camarena
2022-01-11Assign copyright to FSFOmar Antolín Camarena
2022-01-11Merge pull request #94 from minad/strict-initialismOmar Antolín Camarena
Remove strict initialism code by @noctuid
2022-01-11Remove strict initialism code by @noctuidDaniel Mendler
The function `orderless--separated-by` has also been added by @noctuid. However with the removal of the strict initialism code, the contributions by @noctuid are pushed below the 15 lines limit. The function `orderless--separated-by` has only 11 lines. (cl-defun orderless--separated-by (sep rxs &optional (before "") (after "")) "Return a regexp to match the rx-regexps RXS with SEP in between. If BEFORE is specified, add it to the beginning of the rx sequence. If AFTER is specified, add it to the end of the rx sequence." (rx-to-string `(seq ,before ,@(cl-loop for (sexp . more) on rxs collect `(group ,sexp) when more collect `,sep) ,after)))
2021-11-29Fix small bug in the alist case of try-completionOmar Antolín
2021-11-29Reword sentence for clarityOmar Antolín
2021-11-29Mention Corfu and consult-completion-in-region (fix #99)Omar Antolín
2021-11-25Merge pull request #98 from minad/fix-tryOmar Antolín Camarena
Fix orderless-try-completion for hash tables and alists
2021-11-25SimplifyDaniel Mendler
2021-11-25Fix orderless-try-completion for hash tables and alistsDaniel Mendler
2021-11-25Merge pull request #97 from minad/optimize-tryOmar Antolín Camarena
Optimize orderless-try-completion
2021-11-24Optimize orderless-try-completionDaniel Mendler
2021-11-21Have orderless-try-completion return t for exact match (fix #95)Omar Antolín
2021-09-12Extend prefix optimization to anchored quoted regexps (fix #81)Omar Antolín
2021-09-08Implement ^literal optimization discussed in #79Omar Antolín
If orderless finds that some component of the pattern compiles to a regexp of the form ^literal it will now take the first such regexp and add the literal to the prefix which which it calls all-completions. That's a slight lie: it actually looks for regexps of the form \(?:^literal\) since that is what the pattern compiler actually produces. With this change people can now add a style dispatcher that adds a ^ to the first component to use with certain completion-at-point functions that can really take advantage of knowing a prefix to return fewer completions. Some even (incorrectly) refuse to return all possible completions for an empty string! See the discussion in #79 and the issues linked therein.
2021-08-12Merge pull request #77 from minad/fix-split2Omar Antolín Camarena
orderless-escapable-split-on-space: Fix escaping mistake
2021-08-12orderless-escapable-split-on-space: Fix escaping mistakeDaniel Mendler
My patch 268e56d436ef66c8d9630482cb4dae1e7ff44ee4 was not correct.
2021-08-11Merge pull request #76 from minad/fix-splitOmar Antolín Camarena
Fix orderless-escapable-split-on-space
2021-08-10Fix orderless-escapable-split-on-spaceDaniel Mendler
* Currently escaped backslash also escapes space * Allocate match-data only once
2021-08-06Delete duplicate regexps (fix #73)Omar Antolín
In the common case where people search for a string with no special regexp characters and are using both the orderless-regexp and orderless-literal matching styles, a regexp containing blah\|blah was produced. This takes care of that case.
2021-07-21Merge pull request #70 from minad/groupOmar Antolín Camarena
Use minibuffer customization group
2021-07-21Use minibuffer customization groupDaniel Mendler
The completion customization group is defined by completion.el, which is unrelated to minibuffer completion.
2021-06-13Update manual to mention VerticoOmar Antolín Camarena
2021-06-13Mention orderless works fine with Vertico (fix #59)Omar Antolín Camarena
2021-06-09Make strict initialism independent of syntax tables (fix #60)Omar Antolín Camarena
I think it's probably less surprising to use the immutable [:alpha:] rather than [:word:] which is up to the current syntax table.
2021-06-03Merge pull request #58 from minad/add-face-text-propertyOmar Antolín Camarena
Use add-face-text-property
2021-06-03Use add-face-text-propertyDaniel Mendler
2021-05-18Merge pull request #56 from minad/readme-fixOmar Antolín Camarena
README: Add variable category to orderless+initialism sample
2021-05-18README: Add variable category to orderless+initialism sampleDaniel Mendler
Marginalia provides the command, symbol and variable categories.
2021-05-17Omit null components (fix #55)Omar Antolín
2021-05-16orderless+initialism example requires Marginalia (see #54)Omar Antolín
2021-05-16Bump version number0.6Omar Antolín
2021-05-07Merge pull request #51 from minad/disable-initialismOmar Antolín Camarena
Only enable regexp and literal matching styles by default
2021-05-07Only enable regexp and literal matching styles by defaultDaniel Mendler
* Avoid performance issues with initialism when filtering long candidates (#39) * README: Update default matching styles * README: Document `orderless-define-completion-style` * README: Update `without-if-bang` such that it ignores "!"
2021-05-07Merge pull request #50 from minad/typoOmar Antolín Camarena
fix typo
2021-05-07fix typoDaniel Mendler
2021-04-07Merge pull request #46 from minad/remove-pattern-compiler-variableOmar Antolín Camarena
Remove pattern compiler variable
2021-04-07Remove pattern compiler variableDaniel Mendler
It is unlikely that a user wants to customize this variable. If the pattern compiler is to be replaced there is still the advice mechanism.
2021-03-23Fix bug when all matching styles return nilOmar Antolín
2021-03-23Merge pull request #44 from minad/invalid-regexpOmar Antolín Camarena
Minor invalid regexp improvements
2021-03-23update readmeDaniel Mendler
2021-03-23orderless-default-pattern-compiler: Ignore nil componentsDaniel Mendler
2021-03-23orderless-regexp: Return "null matcher" if regexp is invalidDaniel Mendler
Is there a better way to ignore components? Allow the component compilers to return nil and ignore the nils?
2021-03-23orderless-filter: Remove unnecessary condition-caseDaniel Mendler
2021-03-23Add literal matching to default styles and document (fix #42)Omar Antolín
There is some misguided consensus that any candidate should be able to match itself... :P
2021-03-23Document that orderless-regexp matches invalid regexps literallyOmar Antolín
2021-03-23Make orderless-regexp match invalid regexps literallyOmar Antolín
2021-02-27Merge pull request #40 from minad/masterOmar Antolín Camarena
orderless-try-completions: Remove _metadata argument
2021-02-27orderless-try-completions: Remove _metadata argumentDaniel Mendler