-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrapped text shifts left when company auto-complete comes up #53
Comments
Perhaps you have to use the same version of company to reproduce (most recent, from MELPA, right?). |
Then that would indicate a regression in company-mode. |
I'll try to post exact versions including other package versions and a screencast gif with repro later. |
The other possibility is that someone broke the window display code in Emacs again, given that this happened three times in the last four major versions... If you can provide a backtrace that would be more informative than versions. Maybe also have a look in your NEWS file for relevant changes |
I haven't tried olivetti yet, but the relevant change in Company might be the switch to using Perhaps it interferes with stuff this mode does? |
Nah, all this code does is essentially call set-window-margins on window-size-change-functions hook. There's no code here that could do what's being reported.
I've reopened on the off-chance that there's a rather elaborate regression in Emacs master that might change the way margins are set, but probably not.
If I had to guess I'd say that the company-mode change from display prop to after-string could be messing up Emacs's ability to accurately count the window width columns, but since I can't reproduce it (with current company-mode) it's just a guess.
|
All right, thank you for trying. Let's wait for @codygman with more details, then. |
emacs: 28.0.50
olivetti version:
;; Package-Version: 20200702.601
;; Version: 1.11.1
Given text like this and a configuration where olivetti wraps the line:
That second line will shift to the left and it's very visually distracting lately, though I could easily ignore it at first.
Related:
company-mode/company-mode#272
zk-phi/sublimity#21
The text was updated successfully, but these errors were encountered: