From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: I have org-plus-contrib from ELPA. How do I temporarily test Org from git? Date: Sat, 04 Feb 2017 13:32:39 -0500 Message-ID: <87bmuhhkmw.fsf@kyleam.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ca58h-0005Ir-MQ for Emacs-orgmode@gnu.org; Sat, 04 Feb 2017 13:32:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ca58e-0004Zw-8a for Emacs-orgmode@gnu.org; Sat, 04 Feb 2017 13:32:47 -0500 Received: from pb-smtp1.pobox.com ([64.147.108.70]:57415 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ca58e-0004Yc-2N for Emacs-orgmode@gnu.org; Sat, 04 Feb 2017 13:32:44 -0500 In-Reply-To: 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: Jorge Morais Neto , org mode Hello, Jorge Morais Neto writes: > Hi. I wanted to temporarily run git Org so I could test a fix by Nicolas > Goaziou. I have pulled the master branch and adapted local.mk. [...] > I have built and run =E2=80=98make test=E2=80=99 (there were two unexpect= ed test failures, but > they regard functionality I don=E2=80=99t use). In init.el I added > (add-to-list 'load-path > (concat user-emacs-directory > "locally_built_org/site-lisp")) You don't need to build or install anything. Make a test config file that looks something like this: (add-to-list 'load-path "/lisp/") (require 'org) You can put any other settings you want to test in here. Assuming the above file is called org-config.el, start emacs like so: emacs -q -l /path/to/test/config/file > At that point (just before =E2=80=98sudo make install=E2=80=99), [1] scar= ed me with the > warning "We strongly recommend to stick to a single installation method". > Does that mean I cannot install Org from git if I already have it from EL= PA? > I wanted Org from git to just override Org from ELPA. > 1: http://orgmode.org/org.html#Installation > > As a precaution, I have uninstalled ELPA org-plus-contrib before > =E2=80=98sudo make install=E2=80=99. After testing, I installed ELPA org= -plus-contrib > again. Was that really necessary? No, you can use "emacs -q" to avoid loading your main init file. --=20 Kyle