-
-
Notifications
You must be signed in to change notification settings - Fork 389
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
Helm odd highlighting with emacs-27 #2213
Comments
UPDATE: With last emacs-27 (16 December) the code above is only working on some faces, many faces in helm being now broken, for now don't know what to do to fix these faces (helm-header, symlinks etc...). |
I seems that now it is no more possible to add a face with |
Fixed now by commit 1e240a0ecdc in emacs master branch. |
I'm still seeing this issue, I have to manually add |
Fernando Vásquez <notifications@github.com> writes:
I'm still seeing this issue, I have to manually add :extend t in my
theme to see lines properly in helm, should I have to do that from
emacs 27 onwards?
Yes, this is a new annoyance that will be part of Emacs-27.
See
https://github.com/thierryvolpiatto/emacs-tv-config/blob/master/init.el#L2283
to fix it.
…--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
|
@deviantfero It could actually just depend on the theme you are using. For instance, I am using modus-operandi which extends the necessary Helm faces for Emacs 27. |
Helm should add And you should probably use the same trick as Magit here: https://github.com/magit/magit/blob/master/lisp/magit-diff.el#L492 |
Dmitry Gutov <notifications@github.com> writes:
Helm should add :extend t to the faces that need it, then the themes wouldn't need to do that anymore.
And you should probably use the same trick as Magit here: https://github.com/magit/magit/blob/master/lisp/magit-diff.el#L492
Terrible to have to do this on our side, it would have been much better
to add to the faces that need it in Emacs with :extend==nil and nobody
would have been annoyed.
…--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
|
That ship has sailed, unfortunately. But it's still better to do in one place, instead of putting it on theme authors' shoulders. |
Dmitry Gutov <notifications@github.com> writes:
That ship has sailed, unfortunately.
That's sad.
But it's still better to do in one place, instead of putting it on theme authors' shoulders.
Yes I agree, I was just hooping Emacs changes its mind before releasing
Emacs-27.
Thanks.
…--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
|
Now fixed all face with |
Thank you @thierryvolpiatto. Also, FYI @protesilaos, you may want to update your themes. |
Thank you @manuel-uberti! Will review this thread and act accordingly. |
A recent commit in Helm adds the necessary ':extend' attribute to the relevant faces (only relevant for >= Emacs27). See emacs-helm/helm@d19592f This attribute is always retained regardless of the active theme, unless it is explicitly overridden. Meaning that support for it on the theme side is no longer required. Thanks to Manuel Uberti for bringing this issue to my attention: emacs-helm/helm#2213
Thanks, let me know if some faces are not working, I may have done errors when rewriting. |
I updated both Helm and the Modus themes this morning and everything seems to look good as expected. I'll report here if something's missing. |
Expected behavior
Same behavior as with emacs-26
Actual behavior (from
emacs-helm.sh
if possible, see note at the bottom)Face are not extended to EOL due to emacs bug #37774
Same bug as magit #3986
Workaround: Use emacs-26 or use this code in init file:
The text was updated successfully, but these errors were encountered: