Comments (11)
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.
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:
Among them mini-modeline, dash.el, swiper are the latest version。
from emacs-mini-modeline.
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.
@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.
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.
You're welcome. 😸
from emacs-mini-modeline.
@QiangF Do you have objection if I'm removing those hooks?
It interferes withCounsel-M-x
and also I'm not sure if it's working efficiently inmini-modeline
too.
@kiennq No problem. My issue only happens with pyim, I will advice the pyim function instead.
from emacs-mini-modeline.
@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.
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.
It must has been resized somewhere else.
from emacs-mini-modeline.
I will report back once I found the real cause. Thank you!
from emacs-mini-modeline.
Related Issues (20)
- Modeline background is all white HOT 2
- Feature request - option not to hide mode line
- mini-modeline hides messages HOT 1
- With 2 window opening the same file, pressing `C-g` sometimes scrolls to the position in the other window. HOT 7
- optionally dont display any messages in the echo area HOT 2
- the call to redisplay makes startup unresponsive for few seconds during startup HOT 2
- [new feature] echo messages in the right part of the minibuffer HOT 5
- Emacs uses CPU when this mode is enabled HOT 6
- Question: how to force mini-modeline to show a string for a duration of at least 2 seconds after a hotkey HOT 2
- (setq mini-modeline-display-gui-line t) is not honored if emacs is started in server mode HOT 3
- mini-modeline does not works correctly when using emacs daemon HOT 1
- minibuffer sometimes fails to show with emacs 28
- mini-modeline-display-gui-line for terminal?
- mini-modeline-echo-duration is not respected
- make-indirect-buffer not possible when mini-modeline-display-gui-line is enabled HOT 1
- How to display message between modeline-l and modeline-r HOT 1
- Text positioning issues on Emacs 29
- flicker when typing on the second line after org heading on Emacs 29 HOT 1
- y-or-no-p prompt not visible occasionally HOT 1
- minbuffer window not resized when used with vertico-mode HOT 1
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 emacs-mini-modeline.