From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: emacs-guix invalid byte opcode: op=183 ptr=25 Date: Thu, 28 Feb 2019 13:26:19 +0100 Message-ID: References: <20190228.192814.35659745992274650.kumagusu08@gmail.com> <87ef7sqjvz.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:50908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzKlt-0000re-2G for help-guix@gnu.org; Thu, 28 Feb 2019 07:26:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzKls-0006kB-5m for help-guix@gnu.org; Thu, 28 Feb 2019 07:26:40 -0500 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]:41308) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzKls-0006dw-07 for help-guix@gnu.org; Thu, 28 Feb 2019 07:26:40 -0500 Received: by mail-qt1-x842.google.com with SMTP id v10so23167418qtp.8 for ; Thu, 28 Feb 2019 04:26:30 -0800 (PST) In-Reply-To: <87ef7sqjvz.fsf@ambrevar.xyz> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Pierre Neidhardt Cc: help-guix Hi, I am confused and I have a really naive question. :-) When `guix package -i emacs-stuff', well the `emacs-stuff` is built or if it is available on a substitute then the package is pulled from there. So, a- does it pull the ".el" files and then byte-compile them locally? Or b- does it pull the ".elc" byte-compiled on the substitute? And in case of a-, which Emacs does it use? The first one in $PATH (don't think so!) or the one which is the companion of emacs-build-system? Therefore, if one runs Emacs version 24 (the one coming with `apt-get install emacs` on Debian 9) and `guix package -i emacs-stuff`, then it leads to incompatibilities. Right? It is "expected" and cannot be fixed otherwise we break the reproducibilty, I guess. Right? @Yoshinori Arai: <> Hum? I do not think so. My "advice" about Emacs and its packages on foreign distro is: - install Emacs from Guix (guix package -i emacs) because the version is more up to date (than Debian for example) - adapt the PATH or add `source ~/.guix-profile/etc/profile` to enable the correct Emacs (from Guix) - choose only one way to install emacs packages: from ELPA/MELPA *or* from Guix *and* it is not recommanded to mix the both. Last about the package emacs-guix, there is still corner cases on foreign distro; see [1] and [2]. [1] https://github.com/alezost/guix.el/issues/29 [2] https://github.com/alezost/guix.el#important-note-for-non-guixsd-users Hope that helps. All the best -- simon