help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questions about guix handling emacs packages


From: Alexey Abramov
Subject: Re: Questions about guix handling emacs packages
Date: Thu, 11 Jun 2020 11:24:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux)

Hi,

Fredrik Salomonsson <plattfot@gmail.com> writes:

> Hi Zimoun,
>
> zimoun <zimon.toutoune@gmail.com> writes:
>
>> Yes and no. :-)
>> You can see for example this blog entry [1].
>>
>> [1] https://guix.gnu.org/blog/2017/creating-bundles-with-guix-pack/
>
> Thanks for the link. Will give guix pack a try when I'm back at my
> machine at work. Right now I'm working from home so I don't need to have
> emacs on my work machine. Tramp covers that bit for me.
>
>>> > Is it fixed now for you?
>>>
>>> emacs-magit - yes. emacs-ts is still failing.
>>
>> Could you open a bug report for this?
>
> I was too slow :). Did a `guix pull` and updated to
> 86a03090afa711dfa2f141caee820b66d7942bc3 and it is now fixed. Will
> create a bug report for emacs-lua-mode and emacs-ledger-mode as those
> two are still broken for me.
>
> Thanks again for all your help.

AFAIK emacs-ts is failing on check. There are couple of PRs in the upstream:

https://github.com/alphapapa/ts.el/pull/9
https://github.com/alphapapa/ts.el/pull/8

Regarding the magit highlighting, emacs 27 has a new face attribute
:extend. You can read about the issue here 
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37774

,----[ C-h i d m emacs s :extend ]
|    This is one of the few faces that has the ‘:extend t’ attribute by
| default, which implies that the same face is used to highlight the text
| and space between end of line and the window border.  To highlight only
| the text you could set this attribute to ‘nil’.
`----

Magit fix is on the master already 
https://github.com/magit/magit/commit/891ebdca58ef498ff3b94c8ac2921cc6b72c3d25

In the meantime you can do something like this:

--8<---------------cut here---------------start------------->8---
(dolist (face '(magit-diff-hunk-heading
                  magit-diff-hunk-heading-highlight
                  magit-diff-hunk-heading-selection
                  magit-diff-hunk-region
                  magit-diff-lines-heading
                  magit-diff-lines-boundary
                  magit-diff-conflict-heading
                  magit-diff-added
                  magit-diff-removed
                  magit-diff-our
                  magit-diff-base
                  magit-diff-their
                  magit-diff-context
                  magit-diff-added-highlight
                  magit-diff-removed-highlight
                  magit-diff-our-highlight
                  magit-diff-base-highlight
                  magit-diff-their-highlight
                  magit-diff-context-highlight
                  magit-diff-whitespace-warning
                  magit-diffstat-added
                  magit-diffstat-removed
                  magit-section-heading
                  magit-section-heading-selection
                  magit-section-highlight
                  magit-section-secondary-heading
                  magit-diff-file-heading
                  magit-diff-file-heading-highlight
                  magit-diff-file-heading-selection))
    (set-face-attribute face nil :extend t))
--8<---------------cut here---------------end--------------->8---

-- 
Alexey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]