emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: Jorge Morais Neto <jorge13515@gmail.com>,
	org mode <Emacs-orgmode@gnu.org>
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	[thread overview]
Message-ID: <87bmuhhkmw.fsf@kyleam.com> (raw)
In-Reply-To: <CAJR3QnfS_LAWspY3OorBZ2t2DAn=ZhGvkBNDRiyv0XxU8RUTow@mail.gmail.com>

Hello,

Jorge Morais Neto <jorge13515@gmail.com> 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 ‘make test’ (there were two unexpected test failures, but
> they regard functionality I don’t 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 "<path to org mode repo>/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 ‘sudo make install’), [1] scared 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 ELPA?
> 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
> ‘sudo make install’.  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.

-- 
Kyle

  reply	other threads:[~2017-02-04 18:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-04 18:08 I have org-plus-contrib from ELPA. How do I temporarily test Org from git? Jorge Morais Neto
2017-02-04 18:32 ` Kyle Meyer [this message]
2017-02-04 18:38   ` Kyle Meyer
2017-02-04 18:48   ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bmuhhkmw.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=jorge13515@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).