From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: Re: Emacs load path Date: Wed, 30 Dec 2015 13:16:13 +0100 Message-ID: References: <87h9j2jk2t.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEFfq-0004C5-S0 for guix-devel@gnu.org; Wed, 30 Dec 2015 07:16:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aEFfq-0005Wz-1H for guix-devel@gnu.org; Wed, 30 Dec 2015 07:16:14 -0500 In-Reply-To: <87h9j2jk2t.fsf@gmail.com> 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: Alex Kost Cc: Guix-devel , KAction@gnu.org On Mon, Dec 28, 2015 at 11:15 PM, Alex Kost wrote: > Federico Beffa (2015-12-28 01:16 +0300) wrote: > > [...] >> 1. (setq load-path (append '("/usr/local/share/emacs/site-lisp/") load-path)) > > This is very unusual. Why 'append' instead of 'cons'? Anyway an > idiomatic way is: (add-to-list 'load-path "dir") Alex, this isn't useful. Obviously it's coming from my .emacs file where I add more than one directory... But this is looking at trees for the forest... A useful approach would be to fix the problem such that if a user installs emacs with guix the above steps happen automatically without any user intervention. Fede