From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Which Emacs version used to build Emacs packages with emacs-checkout? Date: Fri, 08 Sep 2017 23:31:51 +0300 Message-ID: <87h8wdc4p4.fsf@gmail.com> References: <877exa5oph.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqPwI-0002KS-I1 for help-guix@gnu.org; Fri, 08 Sep 2017 16:31:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqPwF-00053H-FB for help-guix@gnu.org; Fri, 08 Sep 2017 16:31:46 -0400 Received: from mail-wr0-x232.google.com ([2a00:1450:400c:c0c::232]:34478) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dqPwF-0004l2-69 for help-guix@gnu.org; Fri, 08 Sep 2017 16:31:43 -0400 Received: by mail-wr0-x232.google.com with SMTP id v109so6432509wrc.1 for ; Fri, 08 Sep 2017 13:31:41 -0700 (PDT) In-Reply-To: <877exa5oph.fsf@gmail.com> (Oleg Pykhalov's message of "Thu, 07 Sep 2017 21:49:14 +0300") 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: Oleg Pykhalov Cc: help-guix@gnu.org Oleg Pykhalov (2017-09-07 21:49 +0300) wrote: > Hello Guix, > > Here is a =emacs-checkout= snippet which works for me. Enjoy it if > somebody need it. > > I'm little bit confused about Emacs **version** that is used inside > =emacs-build-systems= and inputs which use =emacs-minimal=. > > If I define a new package with =-checkout= suffix and install it, for > example =guix package -i emacs@26.0.50-1.f0eb70d= it works fine. > > As I notice all packages which uses =emacs-build-system= will use > original Guix Emacs version package. Am I right? Right, by default 'emacs-build-system' uses the current 'emacs-minimal' package. > Then, all Emacs packages will be build by =emacs-minimal= which is > original Guix Emacs version. Yes. Note that this default emacs can be overrided on a package level by using #:emacs keyword in the arguments. See 'emacs-auctex' package for example. > I found =(setq load-prefer-newer t)= way to avoid loading old compiled > elisp files, but it's not what I really want. This (I mean 'load-prefer-newer') is one of my favourite setting :-) But it is not clear for me, what do you really want? > Thoughts? :-) Sorry, but I don't understand what you are asking about :-) -- Alex