emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* I have org-plus-contrib from ELPA. How do I temporarily test Org from git?
@ 2017-02-04 18:08 Jorge Morais Neto
  2017-02-04 18:32 ` Kyle Meyer
  0 siblings, 1 reply; 4+ messages in thread
From: Jorge Morais Neto @ 2017-02-04 18:08 UTC (permalink / raw)
  To: org mode

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.  In that
file, I set:
      prefix = ~/.emacs.d/locally_built_org

      # Where local lisp files go.
      # $(prefix)/emacs/site-lisp/org
      lispdir= $(prefix)/site-lisp

      # Where local data files go.
      # $(prefix)/emacs/etc/org
      datadir = $(prefix)/etc

      # Where info files go.
      # infodir = $(prefix)/info
      infodir = /usr/local/emacs/share/info

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"))

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?

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: I have org-plus-contrib from ELPA. How do I temporarily test Org from git?
  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
  2017-02-04 18:38   ` Kyle Meyer
  2017-02-04 18:48   ` Achim Gratz
  0 siblings, 2 replies; 4+ messages in thread
From: Kyle Meyer @ 2017-02-04 18:32 UTC (permalink / raw)
  To: Jorge Morais Neto, org mode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: I have org-plus-contrib from ELPA. How do I temporarily test Org from git?
  2017-02-04 18:32 ` Kyle Meyer
@ 2017-02-04 18:38   ` Kyle Meyer
  2017-02-04 18:48   ` Achim Gratz
  1 sibling, 0 replies; 4+ messages in thread
From: Kyle Meyer @ 2017-02-04 18:38 UTC (permalink / raw)
  To: Jorge Morais Neto, org mode

Kyle Meyer <kyle@kyleam.com> writes:

[...]

> 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:

Oops, ignore the "Assuming .. org-conig.el" part.

-- 
Kyle

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: I have org-plus-contrib from ELPA. How do I temporarily test Org from git?
  2017-02-04 18:32 ` Kyle Meyer
  2017-02-04 18:38   ` Kyle Meyer
@ 2017-02-04 18:48   ` Achim Gratz
  1 sibling, 0 replies; 4+ messages in thread
From: Achim Gratz @ 2017-02-04 18:48 UTC (permalink / raw)
  To: emacs-orgmode

Kyle Meyer writes:
>> 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.

That still loads the site init files.  Besides, he might need something
else from ELPA for testing, so just starting up a bare-bones Emacs might
not be very helpful either.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-04 18:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2017-02-04 18:38   ` Kyle Meyer
2017-02-04 18:48   ` Achim Gratz

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).