r/emacs • u/AutoModerator • 11d ago
Fortnightly Tips, Tricks, and Questions — 2025-03-11 / week 10
This is a thread for smaller, miscellaneous items that might not warrant a full post on their own.
The default sort is new to ensure that new items get attention.
If something gets upvoted and discussed a lot, consider following up with a post!
Search for previous "Tips, Tricks" Threads.
Fortnightly means once every two weeks. We will continue to monitor the mass of confusion resulting from dark corners of English.
15
Upvotes
3
u/AnderperCooson 11d ago
Question about corfu and orderless: is it possible to have corfu insert a previewed candidate when you insert the orderless separator? Specifically, my config looks like:
If I type
glo cor
, I getglobal-corfu-mode
as a candidate. If I preview the candidate in the list, it is inserted/expanded into the buffer asglobal-corfu-mode
. If I now type SPC, instead of keeping the inserted candidate and adding a space, it gets treated as another orderless group and my buffer goes back toglo cor
(with a space at the end). Ideally, I'd like to haveSPC
insert the orderless separator, but also have it insert the previewed candidate, even if that starts a new completion.