From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: [PATCH 0/4] emacs: Various fixes. Date: Fri, 5 Feb 2016 15:13:43 +0300 Message-ID: <1454674427-6963-1-git-send-email-alezost@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRfHU-0000aQ-I9 for guix-devel@gnu.org; Fri, 05 Feb 2016 07:14:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRfHP-0003fr-O2 for guix-devel@gnu.org; Fri, 05 Feb 2016 07:14:32 -0500 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]:35308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRfHP-0003eP-FI for guix-devel@gnu.org; Fri, 05 Feb 2016 07:14:27 -0500 Received: by mail-lf0-x241.google.com with SMTP id j99so2775211lfi.2 for ; Fri, 05 Feb 2016 04:14:27 -0800 (PST) Received: from localhost.localdomain ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id zk9sm2241314lbb.3.2016.02.05.04.14.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 05 Feb 2016 04:14:25 -0800 (PST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org This patchset fixes a couple of issues discovered in bug #22550 (see the bottom of ). [PATCH 1/4] emacs: Factorize searching for Emacs packages. [PATCH 2/4] emacs: Find Emacs packages in a system profile. [PATCH 3/4] system: Fix EMACSLOADPATH. This is an easy fix, however I've just thought that we can get rid of EMACSLOADPATH completely. Since now our Emacs can load packages from guix directories ("~/.guix-profile" and "/run/current-system/profile") there is no need to use "/etc/emacs/site-start.el" anymore, because Emacs will load "guix-autoloads.el" and "geiser-autoloads.el" from a system profile. So I think this patch is OK as a current fix, but eventually we should remove "guix-init.el" and "/etc/emacs/site-start.el". I'll send a patch for it later. [PATCH 4/4] doc: Document 'guix-edit' Emacs command.