From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Hinsen Subject: Re: Integrate guix-installed Emacs packages with locally compiled Emacs pretest Date: Tue, 13 Mar 2018 07:46:46 +0100 Message-ID: <08bc6875-6b18-d2f9-8bba-57961f24c4e9@fastmail.net> References: <0a7c19a61f53d913aa16a3209201cfcf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evdi1-00040E-71 for help-guix@gnu.org; Tue, 13 Mar 2018 02:46:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evdhy-0005uG-4v for help-guix@gnu.org; Tue, 13 Mar 2018 02:46:53 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:43403) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1evdhx-0005qA-RV for help-guix@gnu.org; Tue, 13 Mar 2018 02:46:50 -0400 In-Reply-To: <0a7c19a61f53d913aa16a3209201cfcf@disroot.org> Content-Language: en-US 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: help-guix@gnu.org On 13/03/2018 00:49, Jorge wrote: > Hi. I want to use Guix to install notmuch (with the Emacs interface) and > emacs-guix; however, since Guix does not have Emacs 26, I would like to keep > using my locally-compiled Emacs 26.0.91. Is that possible? Would it be quicker > to learn Guix packaging and package Emacs 26.0.91 for Guix? With Emacs, everything is possible :-) You'd have to do two things in your Emacs configuration: - add the notmuch elisp directory from Guix to load-path - make sure that your Guix profile is on exec-path You probably want the latter anyway, so the additional effort looks small. On the other hand, packaging Emacs 26 for Guix is a nice exercise and useful for lots of other people, so I don't want do discourage you from trying! A third option is to use the notmuch executable from Guix but installing the e-lisp part via elpa into your non-Guix Emacs. Even with somewhat different versions, this should work fine, since the notmuch command line interface is very stable. Konrad.