From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: [OT] Requiring packages which may be missing? Date: Mon, 24 Apr 2017 05:16:25 -0500 Message-ID: <87o9vmkt52.fsf@alphapapa.net> References: <8760hudw4g.fsf@fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2b2t-0001XW-DP for emacs-orgmode@gnu.org; Mon, 24 Apr 2017 06:16:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2b2q-0008Q5-9j for emacs-orgmode@gnu.org; Mon, 24 Apr 2017 06:16:39 -0400 Received: from [195.159.176.226] (port=48726 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d2b2q-0008N4-4Z for emacs-orgmode@gnu.org; Mon, 24 Apr 2017 06:16:36 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1d2b2f-00026e-QG for emacs-orgmode@gnu.org; Mon, 24 Apr 2017 12:16:25 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org I find that the best way is to store the entire ~/.emacs.d directory (including the /elpa subdirectory) in a git repository. This makes it easy to keep your entire config in sync between machines, and it means you keep your init file in sync with the versions of packages. Otherwise you may find that when you install your init file on a new machine and install the same packages, you get newer versions that have breaking changes, and it usually happens when you don't have time to fix it. If for some reason you don't want to do that, the use-package macro makes it easy to install packages, like: (use-package org :ensure t) That will install org using the package system, if it's not already installed.