Comments (5)
Hi Omar, you weren't very active on github any more so I hope you are doing well
Hi Clemens! I'm fine, just busy with work. I hope you are doing well too.
This is an interesting sounding bug. I'll see if I can figure it out. I use org mode a lot, but don't really use tags much, so I wouldn't have noticed this myself. Thanks for reporting.
from orderless.
Good to hear, I'm fine, too. Just spend to much time in Emacs while I actually wanted to start learning more about Browser APIs 😆
I have looked a bit into it and the problem seems to be that orderless-filter
let binds completion-regexp-list
which affects the completion table org-tags-completion-function
which uses all-completions
and try-completion
internally (which make use of completion-regexp-list
internally).
I tried to simply rebind completion-regexp-list
around the table and this will fix the described problem but when you partially input a tag it won't narrow down the list or insert a completion but continues to show all completions. I think it's related to how try-completion action is handled by orderless (the org completion table needs to be passed to try-completion
while orderless-try-completion
delegates to orderless-filter
which uses all-completions
which means the table does not get passed the right flag.)
from orderless.
I wonder why the org-set-tags-command
doesn't use completing-read-multiple
for this. If you change the completing-read
call to completing-read-multiple
:
(org-trim (completing-read-multiple
"Tags: "
org-last-tags-completion-table
nil nil (org-make-tag-string current-tags)
'org-tags-history))
things seem to work OK.
from orderless.
Yeah, there are also problems with helm and selectrum which would be fixed by using completing-read-multiple
, see here which contains some discussion about this, I wanted to fix it upstream as mentioned there but wasn't motivated enough to proceed.
from orderless.
I believe this can be closed since it is simply not the fault of Orderless. Substring also does not work. See https://github.com/minad/vertico#org-set-tags-command for some workaround. And one can always use completing-read-multiple
as a replacement.
from orderless.
Related Issues (20)
- Multiple matches, and/or over specifying candidates HOT 2
- I can't get the suggsted configuration for integration with Company to work. HOT 3
- Confusing highlighting when using `orderless-flex` style HOT 3
- Orderless with a single component HOT 3
- possible bug in completion style for repeated pattern HOT 12
- It doesn't seem to affect `C-x b` the same way as, e.g., `M-x` HOT 2
- Add simple affix dispatcher HOT 11
- I've been thinking about using it for Embark and maybe removing the `embark-define-keymap` macro in favor of `defvar-keymap`. HOT 1
- FEATURE REQUEST: Consider making your personal configuration the default (doc does not help get to that solution) HOT 8
- How to disable orderless for company or corfu HOT 8
- Get file basename? HOT 19
- Use company, orderless, company-fuzzy, auctex, and ispell all together. HOT 6
- Orderless doesn't work as desired. HOT 2
- Case sensitive matching HOT 4
- Add `orderless-limit` customizable variable HOT 8
- orderless and directories HOT 4
- Full matched candidate is often not the first one HOT 3
- Debugger entered--Lisp error: (error "rx `not' syntax error: 101") HOT 4
- Possible conflict between orderless and AUCTeX HOT 28
- Orderless matches all TRAMP methods HOT 23
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orderless.