emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-install ?
@ 2011-06-30 16:17 Giovanni Ridolfi
  2011-06-30 18:09 ` Michael Markert
  2011-06-30 18:22 ` Memnon Anon
  0 siblings, 2 replies; 8+ messages in thread
From: Giovanni Ridolfi @ 2011-06-30 16:17 UTC (permalink / raw)
  To: emacs-orgmode

Hello everyone,

GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO
Org-mode version 7.5 9c582ceed8c4ffc1b83f719f8bcabbc2e23027b2 

I used to have a 
\lisp\org-install.el
file in my load path. This file was there since 
20th October 2010 and everythig has been fine.

I've just found that in the latest version of org-mode 
there's no  "\lisp\org-install.el" anymore.

For this reason I cannot call babel from my .emacs

(org-babel-do-load-languages ....
anymore, because shows the error:
 Symbol's function definition is void: org-babel-do-load-languages

If I comment babel's lines with a just opened Emacs

I cannot open a capture buffer 
    C-c c 
    Symbol's function definition is void: org-capture

However I can run the *agenda* C-c a command that, correctly,
loads org and shows me the buffer with agenda options.

I'm puzzled.

cheers,

Giovanni

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

* Re: org-install ?
  2011-06-30 16:17 org-install ? Giovanni Ridolfi
@ 2011-06-30 18:09 ` Michael Markert
  2011-06-30 18:22 ` Memnon Anon
  1 sibling, 0 replies; 8+ messages in thread
From: Michael Markert @ 2011-06-30 18:09 UTC (permalink / raw)
  To: Giovanni Ridolfi; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 834 bytes --]

On 30 Jun 2011, Giovanni Ridolfi wrote:

> Hello everyone,
>
> GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO
> Org-mode version 7.5 9c582ceed8c4ffc1b83f719f8bcabbc2e23027b2
>
> I used to have a
> \lisp\org-install.el
> file in my load path. This file was there since
> 20th October 2010 and everythig has been fine.
>
> I've just found that in the latest version of org-mode
> there's no  "\lisp\org-install.el" anymore.
>
> For this reason I cannot call babel from my .emacs
>
> <snip>

That file is autogenerated, so try a `make' or at least a `make
autoloads'.

> However I can run the *agenda* C-c a command that, correctly,
> loads org and shows me the buffer with agenda options.

I think that "works" because of the emacs bundled org-mode. What is the
content of `org-version'? (C-h v org-version)

Michael

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: org-install ?
  2011-06-30 16:17 org-install ? Giovanni Ridolfi
  2011-06-30 18:09 ` Michael Markert
@ 2011-06-30 18:22 ` Memnon Anon
  2011-07-01  9:26   ` Giovanni Ridolfi
  1 sibling, 1 reply; 8+ messages in thread
From: Memnon Anon @ 2011-06-30 18:22 UTC (permalink / raw)
  To: emacs-orgmode

Giovanni Ridolfi <giovanni.ridolfi@yahoo.it> writes:

> GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO
> Org-mode version 7.5 9c582ceed8c4ffc1b83f719f8bcabbc2e23027b2 
>
> I used to have a 
> \lisp\org-install.el
> file in my load path. This file was there since 
> 20th October 2010 and everythig has been fine.
>
> I've just found that in the latest version of org-mode 
> there's no  "\lisp\org-install.el" anymore.

ma@mymachine:~/tmp/bin/org-mode$ git pull
remote: Counting objects: 588, done.
remote: Compressing objects: 100% (536/536), done.
remote: Total 538 (delta 413), reused 0 (delta 0)
Receiving objects: 100% (538/538), 111.62 KiB | 3 KiB/s, done.
Resolving deltas: 100% (413/413), completed with 46 local objects.
From git://orgmode.org/org-mode
   4f3a31d..ffa016b  master     -> origin/master
Updating 4f3a31d..ffa016b
[...]
ma@mymachine:~/tmp/bin/org-mode$ make clean
[...]
ma@mymachine:~/tmp/bin/org-mode$ make
[...]
ma@mymachine:~/tmp/bin/org-mode$ ls -alh lisp/org-install.*
-rw-r--r-- 1 ma ma 66K 30. Jun 20:07 lisp/org-install.el
-rw-r--r-- 1 ma ma 61K 30. Jun 20:07 lisp/org-install.elc

Its still there.

> I'm puzzled.

So am I.

Memnon

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

* Re: org-install ?
  2011-06-30 18:22 ` Memnon Anon
@ 2011-07-01  9:26   ` Giovanni Ridolfi
  2011-07-01  9:56     ` Michael Markert
  0 siblings, 1 reply; 8+ messages in thread
From: Giovanni Ridolfi @ 2011-07-01  9:26 UTC (permalink / raw)
  To: Memnon Anon, Michael Markert; +Cc: emacs-orgmode

Memnon Anon <gegendosenfleisch@googlemail.com> writes:

Memnon and Michael, thank you for your time,

this is just for archival purpose.

> Giovanni Ridolfi <giovanni.ridolfi@yahoo.it> writes:
>
>> GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO
>> Org-mode version 7.5 9c582ceed8c4ffc1b83f719f8bcabbc2e23027b2 
>>
>> I used to have a 
>> \lisp\org-install.el
>> file in my load path. This file was there since 
>> 20th October 2010 and everythig has been fine untill today.
>>
>> I've just found that in the latest version of org-mode 
>> there's no  "\lisp\org-install.el" anymore.
>
> ma@mymachine:~/tmp/bin/org-mode$ git pull
[...]
>    4f3a31d..ffa016b  master     -> origin/master
> [...]
> ma@mymachine:~/tmp/bin/org-mode$ make clean
> [...]
> ma@mymachine:~/tmp/bin/org-mode$ make
> [...]
> ma@mymachine:~/tmp/bin/org-mode$ ls -alh lisp/org-install.*
> -rw-r--r-- 1 ma ma 66K 30. Jun 20:07 lisp/org-install.el
>
> Its still there.

I am on a windows machine where I cannot have git neither cygwin,
since I have only user permission.

This morning (in Italy, 8.00 UTC) I downloaded the tar.gz of
Org-mode version 7.5 311b09d92644f39040087327d6a1dbeb09a9ab6e

and the org-install.el file is not in the tar.gz file.

I surfed the git repository with my browser and found that
in the /org/lisp directory:

http://orgmode.org/w/?p=org-mode.git;a=tree;f=lisp;h=5be11d857b3b180d058ad25b5a985d0ac798e41b;hb=311b09d92644f39040087327d6a1dbeb09a9ab6e

there's no org-install.el.

This is (now) obvious, since org-install.el is generated by make, as can be
read in the makefile.
-----------------------
# The following variables need to be defined by the maintainer
LISPF  = [snip]
LISPFILES0  = $(LISPF:%=lisp/%)
LISPFILES   = $(LISPFILES0) lisp/org-install.el
[...]
mv org-install.el lisp # ! aha! :-/
------------------------

However searching the history of makefile
http://orgmode.org/w/?p=org-mode.git;a=history;f=Makefile;hb=912ca556015c745a035d481b18d3e3bf8e930955

I was not able to find when this procedure was introduced. 
Moreover the commits arount 20th October 2010 leave 
untouched such part of the makefile.
Where does my org-install.el come from? Impossible to know.

Even it is a complex file! this is its head:

  ;;;### (autoloads (org-customize org-reload org-require-autoloaded-modules
  ;;;;;;  org-submit-bug-report org-cycle-agenda-files org-switchb
  ;;;;;;  org-map-entries org-open-link-from-string org-open-at-point-global
  ;;;;;;  org-insert-link-global org-store-link org-run-like-in-org-mode
  ;;;;;;  turn-on-orgstruct++ turn-on-orgstruct orgstruct-mode org-global-cycle
  ;;;;;;  org-mode org-babel-do-load-languages) "org" "lisp/org.el"
  ;;;;;;  (19641 15028))
  ;;; Generated autoloads from lisp/org.el

So I have some questions and answers: 

- (Since we are aiming to release org 7.6) will the org-install.el be
  generated during such process?
- and during the compilation of Emacs 24?  

+ I checked  version 6.21b (2009-02-02), shipped with Emacs 23.1,
  and it seems to me that there's no org-install file.
  so probably it will be generated during the compilation of Emacs 24.

- Is it possible that, after 20th october 2010, something changed and 
  the install file is generated *only* with the make command? 

+ well looking through the history of makefile it seems that org-install
  has been generated at least since 
  2008-01-31 Carsten Dominik Release 5.18  release_5.18.
  bah?!

cheers,
Giovanni 
/who have to find a way to create the org-install.el without using make
 or using make, but without compiling org-mode. No .elc file around,
 please! :-)
Perhaps it is time to get Emacs 24 or package manager ;-)

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

* Re: org-install ?
  2011-07-01  9:26   ` Giovanni Ridolfi
@ 2011-07-01  9:56     ` Michael Markert
  0 siblings, 0 replies; 8+ messages in thread
From: Michael Markert @ 2011-07-01  9:56 UTC (permalink / raw)
  To: Giovanni Ridolfi; +Cc: Memnon Anon, emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1451 bytes --]

On 1 Jul 2011, Giovanni Ridolfi wrote:

> <snip>

> So I have some questions and answers:
>
> - (Since we are aiming to release org 7.6) will the org-install.el be
> generated during such process?
> - and during the compilation of Emacs 24?

The emacs-bundled org-mode org-install.el is empty (if it is
there). It's purpose is to provide an easy way to hook it with emacs.

> + I checked  version 6.21b (2009-02-02), shipped with Emacs 23.1,
> and it seems to me that there's no org-install file.
> so probably it will be generated during the compilation of Emacs 24.
>
> - Is it possible that, after 20th october 2010, something changed and
> the install file is generated *only* with the make command?
Can't answer that, but it would be strange if it shipped before.

> + well looking through the history of makefile it seems that
> org-install has been generated at least since 2008-01-31 Carsten
> Dominik Release 5.18 release_5.18.  bah?!
>
> cheers, Giovanni /who have to find a way to create the org-install.el
> without using make or using make, but without compiling org-mode. No
> .elc file around, please! :-) Perhaps it is time to get Emacs 24 or
> package manager ;-)

Because of the autoload problems mentioned in another thread I built an
elisp file to have something to play with.

Put it in the base folder and run it with `emacs -Q -l gen-autoloads.el'
or directly via emacs, but make sure that you are in the base-folder.

Michael


[-- Attachment #1.2: gen-autoload.el --]
[-- Type: text/plain, Size: 2530 bytes --]

(setq org-lisp-files '(org.el
		       org-agenda.el
		       org-ascii.el
		       org-attach.el
		       org-archive.el
		       org-bbdb.el
		       org-beamer.el
		       org-bibtex.el
		       org-capture.el
		       org-clock.el
		       org-colview.el
		       org-colview-xemacs.el
		       org-compat.el
		       org-pcomplete.el
		       org-crypt.el
		       org-ctags.el
		       org-datetree.el
		       org-docview.el
		       org-entities.el
		       org-exp.el
		       org-exp-blocks.el
		       org-docbook.el
		       org-faces.el
		       org-feed.el
		       org-footnote.el
		       org-freemind.el
		       org-gnus.el
		       org-habit.el
		       org-html.el
		       org-icalendar.el
		       org-id.el
		       org-indent.el
		       org-info.el
		       org-inlinetask.el
		       org-jsinfo.el
		       org-irc.el
		       org-latex.el
		       org-list.el
		       org-mac-message.el
		       org-macs.el
		       org-mew.el
		       org-mhe.el
		       org-mks.el
		       org-mobile.el
		       org-mouse.el
		       org-publish.el
		       org-plot.el
		       org-protocol.el
		       org-remember.el
		       org-rmail.el
		       org-special-blocks.el
		       org-src.el
		       org-table.el
		       org-taskjuggler.el
		       org-timer.el
		       org-vm.el
		       org-w3m.el
		       org-wl.el
		       org-xoxo.el
		       ob.el
		       ob-table.el
		       ob-lob.el
		       ob-ref.el
		       ob-exp.el
		       ob-tangle.el
		       ob-comint.el
		       ob-eval.el
		       ob-keys.el
		       ob-awk.el
		       ob-C.el
		       ob-calc.el
		       ob-ditaa.el
		       ob-haskell.el
		       ob-perl.el
		       ob-sh.el
		       ob-R.el
		       ob-dot.el
		       ob-mscgen.el
		       ob-latex.el
		       ob-lisp.el
		       ob-ledger.el
		       ob-python.el
		       ob-sql.el
		       ob-asymptote.el
		       ob-emacs-lisp.el
		       ob-matlab.el
		       ob-ruby.el
		       ob-sqlite.el
		       ob-clojure.el
		       ob-ocaml.el
		       ob-sass.el
		       ob-css.el
		       ob-gnuplot.el
		       ob-octave.el
		       ob-screen.el
		       ob-plantuml.el
		       ob-org.el
		       ob-js.el
		       ob-scheme.el))

(require 'autoload)
(find-file (expand-file-name "lisp/org-install.el"))
(erase-buffer)
(mapc (lambda (x)
        (let* ((name (symbol-name x))
               (generated-autoload-name (file-name-sans-extension name)))
          (generate-file-autoloads name)))
      org-lisp-files)
(insert "\n(provide (quote org-install))\n")
(save-buffer)

[-- Attachment #1.3: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: org-install?
  2016-06-14 17:06 org-install? Rustom Mody
  2016-06-14 17:21 ` org-install? Kaushal Modi
@ 2016-06-14 18:28 ` Grant Rettke
  1 sibling, 0 replies; 8+ messages in thread
From: Grant Rettke @ 2016-06-14 18:28 UTC (permalink / raw)
  To: Rustom Mody; +Cc: emacs-orgmode

On Tue, Jun 14, 2016 at 12:06 PM, Rustom Mody <rustompmody@gmail.com> wrote:
> What is the setup procedure recommended for git-installed org?

1. Clone it to ~/src
2. Generate autoloads and Compiling Org without make:
http://orgmode.org/worg/org-hacks.html
3. Before the packaging stuff loads and runs in your config:
4. Always load the newest file: (setq load-prefer-newer t)
5. Load Org-Mode
(add-to-list 'load-path "~/src/org-mode/lisp")
(add-to-list 'load-path "~/src/org-mode/contrib/lisp")
(require 'org)

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

* Re: org-install?
  2016-06-14 17:06 org-install? Rustom Mody
@ 2016-06-14 17:21 ` Kaushal Modi
  2016-06-14 18:28 ` org-install? Grant Rettke
  1 sibling, 0 replies; 8+ messages in thread
From: Kaushal Modi @ 2016-06-14 17:21 UTC (permalink / raw)
  To: Rustom Mody, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1215 bytes --]

As I understand, the worg pages are not official pages. They can be
contributed to by anyone interested.

I would rather refer to http://orgmode.org/manual/Installation.html to
official org installation instructions.

In a nutshell, to install org from git,

1. Clone the git repo
2. Copy default.mk to local.mk and make changes in that as needed.
Typically one would simply need to change just the prefix variable. Change
any variable as you need in local.mk
3. make cleanall && make && make install

On Tue, Jun 14, 2016 at 1:12 PM Rustom Mody <rustompmody@gmail.com> wrote:

> There are a number of documentation pages, eg
> http://orgmode.org/worg/org-tutorials/org4beginners.html
> http://orgmode.org/worg/org-faq.html
>
> that recommend to use
> (require 'org-install)
>
> However org-install itself says:
>
> ;; The file org-install is obsolete.
> ;;
> ;; It is provided here so that (require 'org-install) does not
> ;; trigger an error for users with obsolete Emacs configuration.
> ;; You can safely remove (require 'org-install) from your config."
>
>
> And contains nothing else!!
>
> So what exactly is the case?
> What is the setup procedure recommended for git-installed org?
>
-- 

-- 
Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 2158 bytes --]

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

* org-install?
@ 2016-06-14 17:06 Rustom Mody
  2016-06-14 17:21 ` org-install? Kaushal Modi
  2016-06-14 18:28 ` org-install? Grant Rettke
  0 siblings, 2 replies; 8+ messages in thread
From: Rustom Mody @ 2016-06-14 17:06 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 579 bytes --]

There are a number of documentation pages, eg
http://orgmode.org/worg/org-tutorials/org4beginners.html
http://orgmode.org/worg/org-faq.html

that recommend to use
(require 'org-install)

However org-install itself says:

;; The file org-install is obsolete.
;;
;; It is provided here so that (require 'org-install) does not
;; trigger an error for users with obsolete Emacs configuration.
;; You can safely remove (require 'org-install) from your config."


And contains nothing else!!

So what exactly is the case?
What is the setup procedure recommended for git-installed org?

[-- Attachment #2: Type: text/html, Size: 933 bytes --]

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

end of thread, other threads:[~2016-06-14 18:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-30 16:17 org-install ? Giovanni Ridolfi
2011-06-30 18:09 ` Michael Markert
2011-06-30 18:22 ` Memnon Anon
2011-07-01  9:26   ` Giovanni Ridolfi
2011-07-01  9:56     ` Michael Markert
2016-06-14 17:06 org-install? Rustom Mody
2016-06-14 17:21 ` org-install? Kaushal Modi
2016-06-14 18:28 ` org-install? Grant Rettke

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