summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-15orderless-pattern-compiler: Create fewer intermediate data structuresDaniel Mendler
2024-02-15Replace orderless--prefix+pattern by orderless--compileDaniel Mendler
Reduce code duplication.
2024-02-14Extract orderless--filterDaniel Mendler
Make sure that orderless-pattern-compiler is only called once per orderless-all-completions and orderless-try-completion.
2024-02-14Optimize orderless-try-completion predicate calling conventionDaniel Mendler
Only allocate a rest argument list if the predicate is used on hash table candidates.
2023-11-10Regenerate texiDaniel Mendler
2023-11-10README: Update linkDaniel Mendler
2023-11-10README: Drop Selectrum documentationDaniel Mendler
2023-11-10Use hashed symbols everywhere for consistencyDaniel Mendler
2023-11-10Fix typo in defcustomDaniel Mendler
2023-11-10Avoid loading cl-lib at runtimeDaniel Mendler
Reduce the dependency footprint and load time. cl-lib is large and not used much at runtime in Orderless. In contrast, using cl-lib at compile time seems unavoidable given crucial features like cl-defun, cl-defstruct, cl-letf and cl-loop. Loading cl-lib at compile is a common pattern in many Emacs libs. See also this long thread on emacs-devel about the pros and cons of cl-lib: https://lists.gnu.org/archive/html/emacs-devel/2023-10/msg00731.html
2023-11-07Add support for completion-lazy-hilitDaniel Mendler
New protocol in upcoming Emacs 30
2023-10-25Work around inconsistency of `completion-table-with-context'Daniel Mendler
The function `completion-table-with-context' modifies the predicate such that the string arguments are prefixed. This behavior is inconsistent with the `completion-file-name-table', where the strings returned by `all-completions' are the same as the strings passed to the predicate. The behavior of `all-completions' seems more intuitive at first sight. This could be an unintended bug or oversight in `completion-table-with-context'. In `orderless-try-completion' we work around the inconsistency by checking if a prefix is already present in the string passed to the predicate. If not, the prefix is added. Fix #148
2023-10-25Remove obsolete variableDaniel Mendler
2023-09-19Merge pull request #147 from jgarte/jgarte-patch-1Omar Antolín Camarena
Fix wording in docstring
2023-09-19Fix wording in docstringjgart
2023-09-19Merge pull request #146 from jgarte/jgarte-patch-1Omar Antolín Camarena
Fix wording in docstring
2023-09-19Fix wording in docstringjgart
2023-08-01Merge pull request #143 from joshleeb/readme-initialism-regexp_fixOmar Antolín Camarena
Fix initialism regexp in README
2023-08-02Fix initialism regexp in READMEJosh Leeb-du Toit
2023-02-19Merge pull request #134 from minad/typosOmar Antolín Camarena
Fix typos and move image to separate branch
2023-02-19Fix typos and move image to separate branchDaniel Mendler
Take the image from a separate branch such that it is not distributed with the ELPA/MELPA packages.
2023-02-09Merge pull request #133 from minad/remove-skip-highlightingOmar Antolín Camarena
Remove orderless-skip-highlighting
2023-02-03Deprecate orderless-skip-highlightingDaniel Mendler
2023-02-03Remove orderless-skip-highlightingDaniel Mendler
This variable was added to support Selectrum, which has been deprecated now. Vertico and Corfu use a different technique to implement deferred highlighting for the visible candidates only. There are no other users of this variable. The problem of deferred highlighting must be solved more generally by improving the completion styles API itself in minibuffer.el. It is therefore better to not provide this variable here.
2023-01-29Fix typos in documentationOmar Antolín Camarena
2023-01-29Avoid length=Omar Antolín Camarena
For strings it makes no difference anyway.
2023-01-29Add a simple affix dispatcher, make it the default (fix #131)Omar Antolín Camarena
2022-12-25Release version 1.0!1.0Omar Antolín Camarena
2022-12-23Add note on how to use orderless from helm (fix #105)Omar Antolín
2022-11-28Bump version number (fix #116)0.8Omar Antolín
2022-11-13Correct case-folding when highlighting matches (fix #127)Omar Antolín
Highlighting of matches should be done with the same case-folding that filtering is done with! This is perhaps most noticeable with orderless-smart-case on, but was previously incorrect with it off since filtering used completion-ignore-case and highlighting used case-fold-search!
2022-10-23Merge pull request #65 from narendraj9/patch-1Omar Antolín Camarena
Add note about custom styles for `company-capf'
2022-10-23Name advice function, link to u/hvis's commentOmar Antolín
2022-09-17Flex matching: more efficient regexp, better highlightingOmar Antolín
Fix #119 using @minad's suggestion.
2022-09-17Merge pull request #120 from minad/fix-118Omar Antolín Camarena
Improve orderless-try-completion (Fix #118)
2022-09-17Avoid long linesOmar Antolín
I know, I know, but I'm used to a non-maximized Emacs frame.
2022-09-17Merge pull request #122 from minad/fix-121Omar Antolín Camarena
Fix 121
2022-09-13Update README regarding Prescient (Fix #121)Daniel Mendler
2022-09-08Improve orderless-try-completion (Fix #118)Daniel Mendler
orderless-try-completion abuses a "predicate" which throws as a fast loop over the completion candidate. - The predicate returns t such that all-completions returns a list (instead of nil as before). This fixes completion-table-with-predicate. - If multiple candidates match, we check that the matches are actually different. This ensures that we don't get incorrect results if the predicate is called twice on the same candidate or if duplicates exists.
2022-05-27Merge pull request #114 from tarsiiformes/quote-quoteOmar Antolín Camarena
Quote a single quote in docstring
2022-05-28Quote a single quote in docstringJonas Bernoulli
The byte-compiler recently got more fussy about quotes.
2022-04-18Use dircategory "Emacs misc features" for info manualOmar Antolín
Thanks to @hmelman for reporting this issue in oantolin/embark#491.
2022-04-06Fix typo, update info manualOmar Antolín
2022-04-06Merge pull request #112 from minad/doc-updateOmar Antolín Camarena
Use (orderless basic) as completion-styles (Fix #111)
2022-04-06Don't call Emacs 28 "unreleased"Omar Antolín
2022-04-06Tweak wording in discussion of basic completion styleOmar Antolín
2022-04-06README: Add partial-completion and basic overrides for filesDaniel Mendler
2022-04-06README: Add Mct to the list of completion systemsDaniel Mendler
2022-04-06Use (orderless basic) as completion-styles (Fix #111)Daniel Mendler
2022-03-12Merge pull request #109 from minad/ivy-autoloadOmar Antolín Camarena
Ivy: Do not auto register the highlighting function