unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Fredrik Salomonsson <plattfot@gmail.com>
To: zimoun <zimon.toutoune@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Questions about guix handling emacs packages
Date: Mon, 25 May 2020 13:12:47 -0700	[thread overview]
Message-ID: <CABZcOARx4XR0Q5u9rPCJboyg=kx-sXbYwrybfH3g90m4aRas6A@mail.gmail.com> (raw)
In-Reply-To: <CAJ3okZ3ZgJLfN7qOYpPMX-HSW0ZmwRfYU1VrB5YLX78vheNf8A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2905 bytes --]

Den mån 25 maj 2020 kl 07:58 skrev zimoun <zimon.toutoune@gmail.com>:
> Dear,

> Thank you for your feedback.

No problem.

> How do you load your profile? "guix package --search-paths" or '.
> "$GUIX_PROFILE/etc/profile"'?

> In my ~/.bash_profile, there is '. "$GUIX_PROFILE/etc/profile"' and I
> do not have any issue on a foreign distro.

I'm using the one installed when I ran the installer shell script i.e
the one ending up here: /etc/profile.d/guix.sh.

Which is doing:
`[ -f "$GUIX_PROFILE/etc/profile" ] && . "$GUIX_PROFILE/etc/profile"`

But this was just me being stupid. It works perfectly, I had just forgot
to reboot/relogin _after_ I installed emacs.

> Please could list which packages do you use which ae not (yet) packaged
in Guix?
> And you could give a try with "guix import elpa -r".  It should work
> with MELPA too.

Updated to the latest guix to make sure nothing has been added since I
ran this. Currently using commit:
b2d35dd9aeb3f6c566d53bfc9534abfd57860a51

Packages I'm missing are:
flymake-shellcheck
cargo
meson-mode
glsl-mode
buffer-move

And looks like all of them are trivial to package up using "guix import
elpa". Thanks for pointing that out. I'll give that a shot as it seems
like a good way to go through the process of contributing packages to
guix.

> Please could you report which packages do not work properly for you?

- emacs-lua-mode:

Getting this error:
Error (use-package): lua-mode/:catch: Unknown rx form ‘symbol’

Looks like this package is just outdated when I look at the version:

emacs melpa lua-mode = 20200508.1316
emacs-lua-mode = 20191204-1.1f596a9

- emacs-org-super-agenda:

First I missed this was packaged up in guix. But now when I try and
build it, one of its dependencies `emacs-ts` fails to build. One of the
tests are failing. I've attached the log

- emacs-magit:

This is just a minor thing. But the highlight/diff in the magit buffer
is more of a tight fit, which looks ugly. Where as if I use magit from
melpa the highlight/diff is a straight block. I've attached a screenshot
on how this looks. Left is emacs-magit, right is melpa magit.

- emacs-ledger-mode:

Does not work with flymake.

Looks like most of the packages that does not work for me are just
outdated. Exception being emacs-org-super-agenda.

> My personal experience about mixing Emacs packages from Guix and from
> package.el is really poor; it always breaks on one way or another.
> Therefore, I switched to all Emacs packages from Guix.

Yeah, that seems to be the best approach. And given how straight forward
it seems to be using "guix import elpa" to generate a package
definition. Then I don't see the need of mixing, as I can just either
use a local build of guix or a channel if I need something in a pinch.

Thanks for the help!
-- 
s/Fred[re]+i[ck]+/Fredrik/g

[-- Attachment #2: 5pcmmz1f1pqwr6nss43qa9bimdwk11-emacs-ts-0.1-2.395649a.drv.bz2 --]
[-- Type: application/x-bzip2, Size: 3039 bytes --]

[-- Attachment #3: 20200525_12h38m12s_grim.png --]
[-- Type: image/png, Size: 224313 bytes --]

  reply	other threads:[~2020-05-25 20:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-23  6:18 Questions about guix handling emacs packages Fredrik Salomonsson
2020-05-25 14:58 ` zimoun
2020-05-25 20:12   ` Fredrik Salomonsson [this message]
2020-05-26  8:26     ` zimoun
2020-05-30  2:13       ` Fredrik Salomonsson
2020-06-01  8:15         ` zimoun
2020-06-01 17:12           ` Fredrik Salomonsson
2020-06-02 10:25             ` zimoun
2020-06-02 17:34               ` Fredrik Salomonsson
2020-06-11  9:24                 ` Alexey Abramov
2020-06-11 16:50                   ` Fredrik Salomonsson
2020-05-31  2:29     ` Maxim Cournoyer
2020-06-01  3:42       ` Fredrik Salomonsson
2020-06-01 18:37         ` Maxim Cournoyer
2020-06-02 17:37           ` Fredrik Salomonsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABZcOARx4XR0Q5u9rPCJboyg=kx-sXbYwrybfH3g90m4aRas6A@mail.gmail.com' \
    --to=plattfot@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).