Git Product home page Git Product logo

Comments (8)

minad avatar minad commented on July 17, 2024

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.

poulpoulsen avatar poulpoulsen commented on July 17, 2024

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.

minad avatar minad commented on July 17, 2024

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.

protesilaos avatar protesilaos commented on July 17, 2024

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.

minad avatar minad commented on July 17, 2024

@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.

protesilaos avatar protesilaos commented on July 17, 2024

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.

minad avatar minad commented on July 17, 2024

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.

protesilaos avatar protesilaos commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.