summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-09-10Version 1.21.2Daniel Mendler
2024-09-05orderless-expand-prefix: Support the values `prefix`, `substring` and `nil`Daniel Mendler
Using `completion-substring-try-completion` can be costly in comparison to prefix completion only via `try-completion`, in particular in the context of timer-based auto completion. As a compromise, default to `prefix` completion only. Performance should not be affected, while expansion is still provided. Depending on preference the expansion setting can be escalated to `substring` or even disabled, in case the restrictive Orderless (non-)expansion behavior is preferred.
2024-09-05Add `orderless-expand-substring` for literal substring expansionDaniel Mendler
If the customization option `orderless-expand-substring` is set to t, `orderless-try-completion` first tries to treat the input as literal substring and tries to expand it. If literal substring expansion fails, Orderless falls back to its regular behavior, and checks if there exists a single unique match to expand to. The option `orderless-expand-substring` is effective in the default completion UI and Corfu when pressing TAB, but does not affect Vertico. It makes the transition to Orderless a little friendlier for users accustomed to the Emacs built-in `basic` and `substring` completion styles. As an alternative to `orderless-expand-substring` one could define an alternative completion style `tab` as follows. (add-to-list 'completion-styles-alist '(tab completion-substring-try-completion ignore "Completion style which provides only TAB completion.")) I've used this `tab` configuration style for a long time in my personal configuration, but the goal is to improve out of the box behavior of Orderless and related packages. The following two configurations are equivalent: ;; NEW: Use orderless-expand-substring (setq completion-styles '(orderless basic) orderless-expand-substring t) ;; OLD: Use the tab style from above. (setq completion-styles '(tab orderless basic) orderless-expand-substring nil)
2024-09-03Drop obsolete function aliasesDaniel Mendler
2024-07-17Use Compat 30Daniel Mendler
2024-07-11orderless-annotation: Match against both prefix and suffix (Fix #176)Daniel Mendler
2024-07-09Fix affixation matching problem in orderless-annotationDaniel Mendler
2024-06-06orderless-not, orderless-annotation: Respect smart-case (Fix #174)Daniel Mendler
2024-04-01README: Clarification about completion-category-* variables (Fix #117)Daniel Mendler
2024-03-20Version 1.11.1Daniel Mendler
2024-03-20Add myself as co-maintainerDaniel Mendler
2024-03-12orderless-literal: Go back to regexp-quoteDaniel Mendler
Otherwise the duplicates created by the orderless-regexp and orderless-literal styles are not deleted.
2024-03-12orderless--literal-prefix-p: Pass START=2 to replace-regexp-in-stringDaniel Mendler
2024-03-12rx-to-string: Pass no-group argumentDaniel Mendler
2024-03-08Update copyright yearsDaniel Mendler
2024-03-08Use `orderless-escapable-split-on-space' as default component separatorDaniel Mendler
2024-03-08ReindentDaniel Mendler
2024-03-06Add orderless-kwd-read-onlyDaniel Mendler
2024-03-06orderless-kwd-mode: Support bookmark filteringDaniel Mendler
2024-03-05Merge pull request #169 from minad/add-kwdDaniel Mendler
Add orderless-kwd.el
2024-03-05orderless-kwd: Shorten linesDaniel Mendler
2024-03-05orderless-kwd-alist: Sort listDaniel Mendler
2024-03-05orderless-kwd-alist: Shorten keywordsDaniel Mendler
2024-03-05orderless-kwd-alist: Expand docstringDaniel Mendler
2024-03-05Add orderless-kwd--orig-buffer helperDaniel Mendler
2024-03-05Use window-buffer or current-bufferDaniel Mendler
2024-03-05orderless-kwd--buffer: Check category=bufferDaniel Mendler
2024-03-05orderless-kwd-key: Perform lookup in minibuffer-selected-windowDaniel Mendler
2024-03-05Add orderless-kwd.elDaniel Mendler
2024-03-05Change default syntax for annotation matching to &Omar Antolin Camarena
The @ sign is used for several other thing like user names on many services which have Emacs clients, and is also used to add words to local dictionaries in Jinx.
2024-03-04Merge pull request #167 from minad/minor-additionsOmar Antolín Camarena
Two minor additions & bugfixes
2024-03-03Rename orderless--anchored-quoted-regexp to orderless--literal-prefix-pDaniel Mendler
Clarify the relation to orderless-literal-prefix.
2024-03-03Rename orderless-prefix to orderless-literal-prefix and registerDaniel Mendler
Avoid confusion with orderless-prefixes. Registering orderless-literal-prefix with the ^ character has a modest advantage - it makes sure that the prefix optimization sets in.
2024-03-03Fix orderless--anchored-quoted-regexp: Detect \` instead of ^Daniel Mendler
This makes a difference for multi-line candidates. Multi-line candidates are uncommon, but they exist, e.g., for read-from-kill-ring.
2024-03-03Fix orderless--metadata: Always return non-nil metadata inside minibufferDaniel Mendler
Otherwise completion-extra-properties may not be taken into account if the metadata returned by the completion table is nil.
2024-03-03README: Document orderless-prefixDaniel Mendler
2024-03-03Extract orderless--metadata helper functionDaniel Mendler
The helper function can be reused for other style modifiers, for example a style matching against the group title returned by the `group-function', which is also specified by the completion metadata.
2024-03-03Add orderless-prefix matching styleDaniel Mendler
This matching style is useful as a return value of a style dispatcher like orderless-affix-dispatch. It matches literals as a prefix and triggers the prefix filter optimization, see `orderless--anchored-quoted-regexp'.
2024-02-29Merge pull request #166 from minad/fix-affix-dispatchOmar Antolín Camarena
orderless-affix-dispatch: Do not error on empty string
2024-02-29orderless-affix-dispatch: Do not error on empty stringDaniel Mendler
2024-02-25Work around bug in GitHub's org parserfix-github-orgOmar Antolin Camarena
Sadly neither =verbatim= nor ~code~ syntax seems to work in all cases, in particular, neither =,= nor ~,~ display a fixed-width comma. This fixes #155.
2024-02-23README: Add section for style modifiersDaniel Mendler
2024-02-23Add orderless--match-p helperDaniel Mendler
2024-02-21Merge pull request #162 from minad/annotation-matchingOmar Antolín Camarena
Annotation matching
2024-02-17Break long linesDaniel Mendler
2024-02-17README: Fix language after renaming of orderless-pattern-compilerDaniel Mendler
2024-02-17orderless-compile: Expand docstringDaniel Mendler
2024-02-17Simplify orderless--compile-componentDaniel Mendler
2024-02-17Update commentary, recommend (setq completion-styles '(orderless basic))Daniel Mendler
2024-02-17Rename orderless-without to orderless-notDaniel Mendler