bug#47199: recent emacs can't do powerline anymore

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

bug#47199: recent emacs can't do powerline anymore

markusffm

there appears only a blank mode-line, whereas in message buffer we read:

 

Error during redisplay: (eval (let* ((active (powerline-selected-window-active)) (mode-line-buffer-id (if active 'mode-line-buffer-id 'mode-line-buffer-id-inactive)) (mode-line (if active 'mode-line 'mode-line-inactive)) (face0 (if active 'powerline-active0 'powerline-inactive0)) (face1 (if active 'powerline-active1 'powerline-inactive1)) (face2 (if active 'powerline-active2 'powerline-inactive2)) (separator-left (intern (format "powerline-%s-%s" (powerline-current-separator) (car powerline-default-separator-dir)))) (separator-right (intern (format "powerline-%s-%s" (powerline-current-separator) (cdr powerline-default-separator-dir)))) (lhs (list (powerline-raw "%*" face0 'l) (when powerline-display-buffer-size (powerline-buffer-size face0 'l)) (when powerline-display-mule-info (powerline-raw mode-line-mule-info face0 'l)) (powerline-buffer-id `(mode-line-buffer-id ,face0) 'l) (when (and (boundp 'which-func-mode) which-func-mode) (powerline-raw which-func-format face0 'l)) (powerline-raw " " face0) (funcall separator-left face0 face1) (when (and (boundp 'erc-track-minor-mode) erc-track-minor-mode) (powerline-raw erc-modified-channels-object face1 'l)) (powerline-major-mode face1 'l) (powerline-process face1) (powerline-minor-modes face1 'l) (powerline-narrow face1 'l) (powerline-raw " " face1) (funcall separator-left face1 face2) (powerline-vc face2 'r) (when (bound-and-true-p nyan-mode) (powerline-raw (list (nyan-create)) face2 'l)))) (rhs (list (powerline-raw global-mode-string face2 'r) (funcall separator-right face2 face1) (unless window-system (powerline-raw (char-to-string 57505) face1 'l)) (powerline-raw "%4l" face1 'l) (powerline-raw ":" face1 'l) (powerline-raw "<" face1 'r) (funcall separator-right face1 face0) (powerline-raw " " face0) (powerline-raw "%6p" face0 'r) (when powerline-display-hud (powerline-hud face0 face2)) (powerline-fill face0 0)))) (concat (powerline-render lhs) (powerline-fill face2 (powerline-width rhs)) (powerline-render rhs)))) signaled (wrong-type-argument number-or-marker-p t)

 

needless to say that my good ol'e GNU Emacs 28.0.50 of 2020-10-29 can do powerline!



Reply | Threaded
Open this post in threaded view
|

bug#47199: recent emacs can't do powerline anymore

Lars Ingebrigtsen
[hidden email] writes:

> there appears only a blank mode-line, whereas in message buffer we read:
>
> Error during redisplay: (eval (let* ((active (powerline-selected-window-active))

I tried installing the powerline package and then saying `M-x
powerline-center-theme' in the latest Emacs 28, and I got no errors.

Do you have a recipe to reproduce this problem, preferably starting from
"emacs -Q"?

--
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



Reply | Threaded
Open this post in threaded view
|

bug#47199: recent emacs can't do powerline anymore

J.P.
In reply to this post by markusffm
[hidden email] writes:

> there appears only a blank mode-line

I think this has been fixed with

  https://github.com/milkypostman/powerline/pull/185

which became

  commit cfff1cfe63793ea1a8bcfcae50c296558384cf08
  Author: Theophilos Giannakopoulos <[hidden email]>
  Date:   Tue Mar 16 21:10:53 2021 -0400
 
      Change :scale arugment from t to 1 (#185)
     
      * Change :scale arugment from t to 1
     
      t is no longer accepted as :scale argument for create-image, but using 1
      has the same behavior as before.
     
      Fixes #184.
     
      * Change other uses of :scale from t to 1
 
   powerline-separators.el | 2 +-
   powerline.el            | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)



Reply | Threaded
Open this post in threaded view
|

bug#47199: recent emacs can't do powerline anymore

Stefan Kangas
"J.P." <[hidden email]> writes:

> [hidden email] writes:
>
>> there appears only a blank mode-line
>
> I think this has been fixed with
>
>   https://github.com/milkypostman/powerline/pull/185
>
> which became
>
>   commit cfff1cfe63793ea1a8bcfcae50c296558384cf08
>   Author: Theophilos Giannakopoulos <[hidden email]>
>   Date:   Tue Mar 16 21:10:53 2021 -0400
>
>       Change :scale arugment from t to 1 (#185)
>
>       * Change :scale arugment from t to 1
>
>       t is no longer accepted as :scale argument for create-image, but using 1
>       has the same behavior as before.
>
>       Fixes #184.
>
>       * Change other uses of :scale from t to 1
>
>    powerline-separators.el | 2 +-
>    powerline.el            | 2 +-
>    2 files changed, 2 insertions(+), 2 deletions(-)

No further comments within 2 weeks, so I'm assuming that this has been
fixed.  I'm therefore closing this bug report.

If this conclusion is incorrect and this is still an issue, please reply
to this email (use "Reply to all" in your email client) and we can
reopen the bug report.