Comments (8)
You can set vertico-count=10
and resize-mini-windows=nil
. But then the minibuffer will not resize at all and stay at 3 lines.
from vertico.
Hello,
the first variable works. Fine!
But unfortunately the second one don't.
The minibuffer height is ignored.
I discussed this with user protesilaos, because I use his configuration. His first idea about the reason was a posdible hardcoded setting in minibuffer.el.
but I'm not a developer and therefore I can't understand that in detail.
Is it possible for you to set the minibuffer height to e.g 2 for two lines?
I'm on Emacs 28 Fedora 34.
Perhaps there are differences in the Emacs versions?
Regards
Poul
from vertico.
I am not sure if you can resize the minibuffer to 2 and 3. But this seems to be a question unrelated to Vertico. Therefore I am closing this issue here. Generally feel free to continue a discussion when an issue is closed, I am only closing because this as a sign that nothing has to be done on the side of the project.
You may want to ask on some other channel for that, reddit, irc, some of the discords. Maybe @protesilaos can be of help here?
from vertico.
Is it possible for you to set the minibuffer height to e.g 2 for two lines?
I am playing with those in emacs -Q
:
(icomplete-mode 1)
(setq resize-mini-windows nil
max-mini-window-height 1)
(setq resize-mini-windows t
max-mini-window-height 1)
(setq resize-mini-windows t
max-mini-window-height 2)
Try C-h v
and input a single character to see the difference. It works.
As for the height of the completions' buffer, I need to experiment more with it. Let's move the discussion to my repo as vertico is not related to it.
from vertico.
@protesilaos Thanks! I think @poulpoulsen also wants to set a min-mini-window-height
or did I misunderstand that?
Let's move the discussion to my repo as vertico is not related to it.
Can you link here to the relevant discussion please? Maybe other people are interested in the outcome of your discussion.
from vertico.
Thanks! I think @poulpoulsen also wants to set a min-mini-window-height or did I misunderstand that?
You mean max-mini-window-height
? Because I do not have a min-mini-window-height
here.
Can you link here to the relevant discussion please? Maybe other people are interested in the outcome of your discussion.
Sure! https://gitlab.com/protesilaos/dotfiles/-/issues/37.
My relevant quote for posterity:
In general, Vertico is the better option. Its developer, Daniel Mendler, is an expert and produces high quality packages (consult, corfu, vertico, etc.). My prot-minibuffer.el started out as an experiment and I just stuck with it: it is not even a complete package, in that it does not define its features as a minor mode, whereas, say, my prot-vc.el does that.
from vertico.
You mean max-mini-window-height? Because I do not have a min-mini-window-height here.
Right, it does not exist. I think I didn't understand fully what @poulpoulsen is trying to achieve here. I think I got mostly confused since he was talking about the size of the minibuffer and the completions buffer, which of course there is none in Vertico.
And thanks for praising my packages in such high terms ;)
from vertico.
No worries: we will figure it out as we go.
And thanks for praising my packages in such high terms ;)
You are welcome!
from vertico.
Related Issues (20)
- find file when switching to the root of a drive I get all kinds of entries which are not folders or files HOT 1
- Error in post-command-hook (vertico--exhibit): (void-function compat--string-width) HOT 1
- File name column takes to much space (even truncated with custom code).)
- Error in `execute extended command` minibuffer
- Refresh on `backward-kill-word`
- The alternative to M-RET doesn't work or is poorly described
- Emacs 30 freezes if there isn't enough room due to window-size-fixed HOT 1
- Lagging cursor movement in Wayland
- Vertico distorts email attachments
- reject completions?
- Problematic completion Org mode commands
- Performance issues
- Pull request: don't delete right side of minibuffer after TAB HOT 1
- vertico-flat-mode with vertico-flat-max-lines > 1 does not respect (setq vertico-resize 'grow-only) HOT 5
- Query Regarding Functionality Similar to ivy-restrict-to-matches
- How to achieve fuzzy completion HOT 1
- Use a different sort strategy per command
- Error in post-command-hook (vertico--exhibit): (cyclic-function-indirection ConTeXt-mode)
- Keyboard macro and default M-x command selection
- Blank line among function completions with llama installed
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 vertico.