From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Cross Subject: Re: [OT] Requiring packages which may be missing? Date: Tue, 25 Apr 2017 00:09:52 +1000 Message-ID: <87mvb5c2xb.fsf@gmail.com> References: <8760hudw4g.fsf@fu-berlin.de> <87o9vmkt52.fsf@alphapapa.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2egk-0004aG-Gr for emacs-orgmode@gnu.org; Mon, 24 Apr 2017 10:10:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2egf-0003pW-S4 for emacs-orgmode@gnu.org; Mon, 24 Apr 2017 10:10:02 -0400 Received: from mail-pg0-x233.google.com ([2607:f8b0:400e:c05::233]:35861) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d2egf-0003pB-Le for emacs-orgmode@gnu.org; Mon, 24 Apr 2017 10:09:57 -0400 Received: by mail-pg0-x233.google.com with SMTP id g2so13571985pge.3 for ; Mon, 24 Apr 2017 07:09:57 -0700 (PDT) In-reply-to: <87o9vmkt52.fsf@alphapapa.net> 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: Adam Porter Cc: emacs-orgmode@gnu.org You do need to be careful when sharing your .emacs.d between machines to ensure you use something like gitignore to exclude things you may not want to share across systems (such as auto-save files, various command history files etc). I've found the use of use-package and init.el in a git repo the best combination. With respect to packages changing, you can use the options in elpa to pin a package to a specific version. The use-package macro also support this. Tim Adam Porter writes: > 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. -- --- Tim Cross