Coder Social home page Coder Social logo

Comments (11)

kiennq avatar kiennq commented on August 15, 2024

Can you provide a mini emacs config that I can try to repro?
I'm using dash-20190920.1035 and it seems working fine.

Can you see if there's any error spilled in Message buffer?

from emacs-mini-modeline.

shanyouli avatar shanyouli commented on August 15, 2024

When I downgraded emacs from 27.0.50 to 26.3, I found that this problem did not occur with the following configuration. But when I restarted the computer, there was another problem running.

the mini emacs config is this,

(push "~/Work/emacs-test/dash.el" load-path)
(push "~/Work/emacs-test/swiper" load-path)
(push "~/Work/emacs-test/emacs-mini-modeline" load-path)

(require 'mini-modeline)
(mini-modeline-mode +1)
(require 'ivy)
(require 'swiper)
(require 'counsel)
(toggle-debug-on-error)
(ivy-mode +1)
(global-set-key (kbd "M-x") 'counsel-M-x)
(global-set-key (kbd "C-s") 'swiper)

Perform the operation as follows:
f
Among them mini-modeline, dash.el, swiper are the latest version。

from emacs-mini-modeline.

kiennq avatar kiennq commented on August 15, 2024

Seem like a regression of #11, we've advised minibuffer setup and exit hook with resize-mini-windows.
That seems break ivy.

from emacs-mini-modeline.

kiennq avatar kiennq commented on August 15, 2024

@QiangF Do you have objection if I'm removing those hooks?
It interferes with Counsel-M-x and also I'm not sure if it's working efficiently in mini-modeline too.

@shanyouli: can you try this branch and see if the problem persists?

from emacs-mini-modeline.

shanyouli avatar shanyouli commented on August 15, 2024

This bug was fixed in bug/12. If there is no other place in my problem that needs my help, I will close the issue after one day.
By the way, this package is very good and thank you for taking the time to solve my problem.

from emacs-mini-modeline.

kiennq avatar kiennq commented on August 15, 2024

You're welcome. 😸

from emacs-mini-modeline.

QiangF avatar QiangF commented on August 15, 2024

@QiangF Do you have objection if I'm removing those hooks?
It interferes with Counsel-M-x and also I'm not sure if it's working efficiently in mini-modeline too.

@kiennq No problem. My issue only happens with pyim, I will advice the pyim function instead.

from emacs-mini-modeline.

kiennq avatar kiennq commented on August 15, 2024

@QiangF: Thanks. Also can you try if pyim works with latest version first?
From what I see, #10 happens when resize-mini-windows set to grow-only. Once it's set to t of nil, with your new duration code, the mini buffer will not be quickly resized.
From its document, it makes sense since only grow-only looks at echo area (which is normally blank with mini-modeline).

from emacs-mini-modeline.

QiangF avatar QiangF commented on August 15, 2024

No, the latest version still doesn't prevent the resizing during consecutive messaging.

(eval (progn
        (setq resize-mini-windows t)
        (setq mini-modeline-truncate-p nil)
        (run-at-time 0.3 nil (lambda () (message  "a\nb\nc")))
        (run-at-time 0.6 nil (lambda () (message  "a\nb\nc")))
        (run-at-time 0.9 nil (lambda () (message  "a\nb\nc")))))

As you see in the above test code, when the minibuffer resizes, only the first of the three line is left. The minibuffer must have been resized somewhere other than in mini-modeline-display.

from emacs-mini-modeline.

kiennq avatar kiennq commented on August 15, 2024

Doesn't seems happen to me.
4195b894-92a4-4041-9d05-709fe53324e1

It must has been resized somewhere else.

from emacs-mini-modeline.

QiangF avatar QiangF commented on August 15, 2024

I will report back once I found the real cause. Thank you!

from emacs-mini-modeline.

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.