Comments (11)
Good catch. I will check. I may have missed some unwind-protect or made a mistake when removing the overlays.
from consult.
@travitch I cannot reproduce this on Emacs 27.1 with neither selectrum or icomplete-vertical. I would have noticed something severe like this. Maybe I misunderstood you? Please describe your setup. Emacs version etc, anything special? Can you try with emacs -Q and only loading consult+selectrum? Do you use Icomplete?
from consult.
Oh boy, thanks for looking. I can't reproduce with a -Q
, so I'll have to track down the culprit. I do not use icomplete, but I do have a bunch of other packages in play. Let me try to narrow it down.
from consult.
Ok cool, I guess it is your setup approaching Emacs bankruptcy ;) Would be great if you can come back to me here such that we can sort out any potential incompatibilities or at least document those. Note that preview is kind of an intrusive feature in how it is implemented, so I don't yet except it to be fully robust.
from consult.
Okay, I managed to get a small reproducing example that doesn't make much sense to me.
Using emacs -nw -Q
:
- Pasting the following into
*scratch*
and evaluating them just to load up selectrum, consult, and enableconsult-preview-mode
:
(add-to-list 'load-path "~/.emacs.d/straight/build/selectrum")
(add-to-list 'load-path "~/.emacs.d/straight/build/consult")
(require 'selectrum)
(require 'consult)
(selectrum-mode +1)
(consult-preview-mode)
- Split the frame (
C-x 3
) - Load another file into either frame (e.g.,
C-x C-f ~/.emacs.d/init.el
) - In that frame, run
M-x consult-line
and hitC-g
without typing anything
Given the current versions of selectrum and consult (the latest of both, I believe), I see the first line of the buffer stay highlighted. I suppose the key was just that split somehow.
- Selectrum hash 945f8fe18933a53b2012a1d179587d90a70bb536
- Consult hash a566057
from consult.
Ok, I guess I've been unfair towards your config ;) Taking a closer look now!
from consult.
No worries, there are all sorts of shady things in my config that were likely culprits
from consult.
Not so fast...
from consult.
Now I have shady things going on in my own config ;) Please check if a62ed91 fixes this for you!
from consult.
That did fix the problem for me, thanks! With that I've managed to completely replace ivy/swiper/counsel in my config
from consult.
Works for me too, now I had shady things going on in my config too - heap dump...
Thank you for the report!
With that I've managed to completely replace ivy/swiper/counsel in my config
This is amazing to hear! I've been an ido user for a long time and used a more barebone Emacs - never really used Ivy. Therefore this won't be an exact clone. But if you are missing something which would makes sense, let me know or even better, open a PR :)
from consult.
Related Issues (20)
- How to add advice to achieve for org buffer like to collapse all the headings after executing 'consult-org-heading'?
- How do I use `consult-line` (with live previews) with `ivy`?
- [Q] How do I hide the line numbers in, e.g., `consult-outline`?
- [Q/Bug] consult-grep (with ripgrep or ugrep) is slower than counsel-rg
- consult preview: "PDF document is damaged" but no problem viewing it directly from pdf-tools HOT 4
- [FR] Add the ability to change the initial query in `consult-completion-in-region` HOT 1
- how to use consult-fd on a list of files? HOT 6
- additional set of buffers in consult-buffer-sources
- How to search for upercase letters with outline-regexp?
- [feature request] preselect the item that is most close to current point in consult-imenu and consult-outline HOT 3
- Where is the cached stored?
- Intragration with package Breadcrumb
- Disable consult buffer preview for remote buffers
- Support project.el external roots
- consult-rg wiki advice
- [request] allow `:lookup` in `consult--multi` sources
- Handling buffer renames while switching buffers
- Decorating consult-imenu-multi output with the origin
- Add support to display the matched heading's sub-headings also as candidates in the consult-outline's completion HOT 3
- NetBSD/OpenBSD: find(1) does not support -iwholename
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 consult.