emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Update org-mode
@ 2011-04-01 15:20 Dror Atariah
  2011-04-01 16:08 ` Ian Barton
                   ` (4 more replies)
  0 siblings, 5 replies; 23+ messages in thread
From: Dror Atariah @ 2011-04-01 15:20 UTC (permalink / raw)
  To: emacs-orgmode

I tried to follow the update process described here:
http://orgmode.org/worg/org-faq.html under:
How do I keep current with bleeding edge development?

The only change I made was the place where I checked out the new version. Instead of ~/elisp I have ~/Library/elisp.

Everything went smooth, except that I had to add "sudo" before the "make install". Without the sudo, I got an "access denied" error. Anyway, at the end, I got no warnings and it seems like the process was smooth. But when I checked the version of org-mode in aquamacs it was still 6.33x

I am using Emacs 23.3.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
 of 2011-03-19 on braeburn.aquamacs.org - Aquamacs Distribution 2.2 on a mac OS 10.6.7.

What should I do in order to fix it?

Thanks in advance,
Dror

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

* Re: Update org-mode
  2011-04-01 15:20 Update org-mode Dror Atariah
@ 2011-04-01 16:08 ` Ian Barton
  2011-04-01 16:24 ` Jambunathan K
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 23+ messages in thread
From: Ian Barton @ 2011-04-01 16:08 UTC (permalink / raw)
  To: emacs-orgmode

On 01/04/11 16:20, Dror Atariah wrote:
> I tried to follow the update process described here:
> http://orgmode.org/worg/org-faq.html under:
> How do I keep current with bleeding edge development?
>
> The only change I made was the place where I checked out the new version. Instead of ~/elisp I have ~/Library/elisp.
>
> Everything went smooth, except that I had to add "sudo" before the "make install". Without the sudo, I got an "access denied" error. Anyway, at the end, I got no warnings and it seems like the process was smooth. But when I checked the version of org-mode in aquamacs it was still 6.33x
>
> I am using Emacs 23.3.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
>   of 2011-03-19 on braeburn.aquamacs.org - Aquamacs Distribution 2.2 on a mac OS 10.6.7.
>
> What should I do in order to fix it?
>

If you had to use sudo it sounds as though your Makefile might be wrong. 
You should have something like:

# Where local software is found
prefix=~/Library/elisp

Ian.

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

* Re: Update org-mode
  2011-04-01 15:20 Update org-mode Dror Atariah
  2011-04-01 16:08 ` Ian Barton
@ 2011-04-01 16:24 ` Jambunathan K
  2011-04-05 15:31   ` Dror Atariah
  2011-04-01 17:08 ` Bernt Hansen
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 23+ messages in thread
From: Jambunathan K @ 2011-04-01 16:24 UTC (permalink / raw)
  To: Dror Atariah; +Cc: emacs-orgmode

Dror Atariah <drorata@gmail.com> writes:

> I tried to follow the update process described here:
> http://orgmode.org/worg/org-faq.html under:
> How do I keep current with bleeding edge development?

Search for ELPA in FAQ. Maybe that will work well for you ...

Jambunathan K.

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

* Re: Update org-mode
  2011-04-01 15:20 Update org-mode Dror Atariah
  2011-04-01 16:08 ` Ian Barton
  2011-04-01 16:24 ` Jambunathan K
@ 2011-04-01 17:08 ` Bernt Hansen
  2011-04-01 17:39   ` Nick Dokos
  2011-04-01 17:58 ` Yagnesh Raghava Yakkala
  2011-04-02 20:13 ` Christian Moe
  4 siblings, 1 reply; 23+ messages in thread
From: Bernt Hansen @ 2011-04-01 17:08 UTC (permalink / raw)
  To: Dror Atariah; +Cc: emacs-orgmode

Dror Atariah <drorata@gmail.com> writes:

> I tried to follow the update process described here:
> http://orgmode.org/worg/org-faq.html under:
> How do I keep current with bleeding edge development?
>
> The only change I made was the place where I checked out the new version. Instead of ~/elisp I have ~/Library/elisp.
>
> Everything went smooth, except that I had to add "sudo" before the
> "make install". Without the sudo, I got an "access denied"
> error. Anyway, at the end, I got no warnings and it seems like the
> process was smooth. But when I checked the version of org-mode in
> aquamacs it was still 6.33x
>
> I am using Emacs 23.3.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
>  of 2011-03-19 on braeburn.aquamacs.org - Aquamacs Distribution 2.2 on a mac OS 10.6.7.
>
> What should I do in order to fix it?

Hi Dror,

I track the latest git code at least weekly.  I skip the compile and
make install steps completely and run the code uncompiled from the git
repository directly.

I just update the code and M-x org-reload (or restart Emacs) and I'm
done.

I put the directory that org-mode is loaded from early in my load path
so that the git version is loaded instead of whatever out-of-date
version the system has.

Unless you need to provide the updated org-mode to other users there's
no need to install it system wide - it's just another step that can trip
you up.

Regards,
Bernt

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

* Re: Re: Update org-mode
  2011-04-01 17:08 ` Bernt Hansen
@ 2011-04-01 17:39   ` Nick Dokos
  2011-04-01 18:14     ` Bernt Hansen
  0 siblings, 1 reply; 23+ messages in thread
From: Nick Dokos @ 2011-04-01 17:39 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: nicholas.dokos, emacs-orgmode, Dror Atariah

Bernt Hansen <bernt@norang.ca> wrote:

> Dror Atariah <drorata@gmail.com> writes:
> 
> > I tried to follow the update process described here:
> > http://orgmode.org/worg/org-faq.html under:
> > How do I keep current with bleeding edge development?
> >
> > The only change I made was the place where I checked out the new version. Instead of ~/elisp I have ~/Library/elisp.
> >
> > Everything went smooth, except that I had to add "sudo" before the
> > "make install". Without the sudo, I got an "access denied"
> > error. Anyway, at the end, I got no warnings and it seems like the
> > process was smooth. But when I checked the version of org-mode in
> > aquamacs it was still 6.33x
> >
> > I am using Emacs 23.3.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
> >  of 2011-03-19 on braeburn.aquamacs.org - Aquamacs Distribution 2.2 on a mac OS 10.6.7.
> >
> > What should I do in order to fix it?
> 
> Hi Dror,
> 
> I track the latest git code at least weekly.  I skip the compile and
> make install steps completely and run the code uncompiled from the git
> repository directly.
> 
> I just update the code and M-x org-reload (or restart Emacs) and I'm
> done.
> 

... and do ``make info'' to get the doc changes, right?

Nick

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

* Re: Update org-mode
  2011-04-01 15:20 Update org-mode Dror Atariah
                   ` (2 preceding siblings ...)
  2011-04-01 17:08 ` Bernt Hansen
@ 2011-04-01 17:58 ` Yagnesh Raghava Yakkala
  2011-04-01 19:35   ` Dror Atariah
  2011-04-02 20:13 ` Christian Moe
  4 siblings, 1 reply; 23+ messages in thread
From: Yagnesh Raghava Yakkala @ 2011-04-01 17:58 UTC (permalink / raw)
  To: Dror Atariah; +Cc: emacs-orgmode


hi Dror,


Dror Atariah <drorata@gmail.com> writes:

> I tried to follow the update process described here:
> http://orgmode.org/worg/org-faq.html under:
> How do I keep current with bleeding edge development?
>
> The only change I made was the place where I checked out the new version. Instead of ~/elisp I have ~/Library/elisp.

may be problem with the path setting, 

#+begin_src elisp
(setq load-path (cons
                 (expand-file-name "~/Library/elisp")
                 load-path))
(require 'org-install)
#+end_src

may solve the problem.

>
> Everything went smooth, except that I had to add "sudo" before the
> "make install". Without the sudo, I got an "access denied"
> error. Anyway, at the end, I got no warnings and it seems like the
> process was smooth. But when I checked the version of org-mode in
> aquamacs it was still 6.33x
>
> I am using Emacs 23.3.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
>  of 2011-03-19 on braeburn.aquamacs.org - Aquamacs Distribution 2.2 on a mac OS 10.6.7.
>
> What should I do in order to fix it?
>
> Thanks in advance,
> Dror
>
>
>
>
>

Yagnesh
--
You may be infinitely smaller than some things, but you're infinitely
larger than others.

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

* Re: Re: Update org-mode
  2011-04-01 17:39   ` Nick Dokos
@ 2011-04-01 18:14     ` Bernt Hansen
  0 siblings, 0 replies; 23+ messages in thread
From: Bernt Hansen @ 2011-04-01 18:14 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs-orgmode, Dror Atariah

Nick Dokos <nicholas.dokos@hp.com> writes:

> Bernt Hansen <bernt@norang.ca> wrote:
>
>> Dror Atariah <drorata@gmail.com> writes:
>> 
>> > I tried to follow the update process described here:
>> > http://orgmode.org/worg/org-faq.html under:
>> > How do I keep current with bleeding edge development?
>> >
>> > The only change I made was the place where I checked out the new version. Instead of ~/elisp I have ~/Library/elisp.
>> >
>> > Everything went smooth, except that I had to add "sudo" before the
>> > "make install". Without the sudo, I got an "access denied"
>> > error. Anyway, at the end, I got no warnings and it seems like the
>> > process was smooth. But when I checked the version of org-mode in
>> > aquamacs it was still 6.33x
>> >
>> > I am using Emacs 23.3.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
>> >  of 2011-03-19 on braeburn.aquamacs.org - Aquamacs Distribution 2.2 on a mac OS 10.6.7.
>> >
>> > What should I do in order to fix it?
>> 
>> Hi Dror,
>> 
>> I track the latest git code at least weekly.  I skip the compile and
>> make install steps completely and run the code uncompiled from the git
>> repository directly.
>> 
>> I just update the code and M-x org-reload (or restart Emacs) and I'm
>> done.
>> 
>
> ... and do ``make info'' to get the doc changes, right?

Yes - I do that but not for every update - normally just when new
releases come out.

Thanks for catching this.

Regards,
Bernt

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

* Re: Update org-mode
  2011-04-01 17:58 ` Yagnesh Raghava Yakkala
@ 2011-04-01 19:35   ` Dror Atariah
  2011-04-01 20:03     ` Nick Dokos
  0 siblings, 1 reply; 23+ messages in thread
From: Dror Atariah @ 2011-04-01 19:35 UTC (permalink / raw)
  To: Emacs-orgmode

> #+begin_src elisp
> (setq load-path (cons
>                 (expand-file-name "~/Library/elisp")
>                 load-path))
> (require 'org-install)
> #+end_src
> 
@Yagnesh: where should I plug this code into?

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

* Re: Re: Update org-mode
  2011-04-01 19:35   ` Dror Atariah
@ 2011-04-01 20:03     ` Nick Dokos
  2011-04-03  8:12       ` Dror Atariah
  0 siblings, 1 reply; 23+ messages in thread
From: Nick Dokos @ 2011-04-01 20:03 UTC (permalink / raw)
  To: Dror Atariah; +Cc: nicholas.dokos, Emacs-orgmode

Dror Atariah <drorata@gmail.com> wrote:

> > #+begin_src elisp
> > (setq load-path (cons
> >                 (expand-file-name "~/Library/elisp")
> >                 load-path))
> > (require 'org-install)
> > #+end_src
> > 
> @Yagnesh: where should I plug this code into?
> 

In your .emacs (or equivalent emacs initialization file.)

If your emacs is set up correctly, you should be able to visit the
relevant section in the Emacs manual by evaluating the following form:

   (info "(emacs)Init file")

Put the cursor after the closing parenthesis and type C-x C-e

Nick

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

* Re: Update org-mode
  2011-04-01 15:20 Update org-mode Dror Atariah
                   ` (3 preceding siblings ...)
  2011-04-01 17:58 ` Yagnesh Raghava Yakkala
@ 2011-04-02 20:13 ` Christian Moe
  2011-04-02 20:45   ` Achim Gratz
                     ` (2 more replies)
  4 siblings, 3 replies; 23+ messages in thread
From: Christian Moe @ 2011-04-02 20:13 UTC (permalink / raw)
  To: Dror Atariah; +Cc: emacs-orgmode

In the Makefile, what settings do you have under these headings?

# Name of your emacs binary
# Where local software is found
# Where local lisp files go.
# Where info files go.

I'm one of the oddballs who compile and install every new Org version, 
because in the start I thought that was the "right" way, and it's 
become a habit.

The Makefile needs to point to the right paths for your Aquamacs 
application and its site-lisp and info subdirectories. I don't use 
Aquamacs, but mutatis mutandis it's probably similar to that for GNU 
Emacs on the Mac, namely:

  # Name of your emacs binary
  EMACS=/Applications/Emacs.app/Contents/MacOS/emacs

  # Where local software is found
  prefix=/Applications

  # Where local lisp files go.
  lispdir = $(prefix)/Emacs.app/Contents/Resources/site-lisp

  # Where info files go.
  infodir = $(prefix)/Emacs.app/Contents/Resources/info

I quickly found that git pulls would overwrite my hand-edited 
Makefile, and a hand-edited Makefile caused conflicts on the next 
pull, and I didn't understand git at all.

So I did a shell script that pulls org-mode, copies the Makefile, 
applies a patch with the above changes to the Makefile, compiles and 
installs, and then switches back the Makefile copy. Works for me.

Yours,
Christian



On 4/1/11 5:20 PM, Dror Atariah wrote:
> I tried to follow the update process described here:
> http://orgmode.org/worg/org-faq.html under:
> How do I keep current with bleeding edge development?
>
> The only change I made was the place where I checked out the new version. Instead of ~/elisp I have ~/Library/elisp.
>
> Everything went smooth, except that I had to add "sudo" before the "make install". Without the sudo, I got an "access denied" error. Anyway, at the end, I got no warnings and it seems like the process was smooth. But when I checked the version of org-mode in aquamacs it was still 6.33x
>
> I am using Emacs 23.3.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
>   of 2011-03-19 on braeburn.aquamacs.org - Aquamacs Distribution 2.2 on a mac OS 10.6.7.
>
> What should I do in order to fix it?
>
> Thanks in advance,
> Dror
>
>
>
>
>

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

* Re: Update org-mode
  2011-04-02 20:13 ` Christian Moe
@ 2011-04-02 20:45   ` Achim Gratz
  2011-04-02 21:02   ` Nick Dokos
  2011-04-03  8:08   ` Dror Atariah
  2 siblings, 0 replies; 23+ messages in thread
From: Achim Gratz @ 2011-04-02 20:45 UTC (permalink / raw)
  To: emacs-orgmode

Christian Moe <mail@christianmoe.com> writes:
> I quickly found that git pulls would overwrite my hand-edited
> Makefile, and a hand-edited Makefile caused conflicts on the next
> pull, and I didn't understand git at all.

You could set up your own local branch to track origin/master and
preferrably using rebase instead of merge.  That will result in the
following configuration (in .git/config):

[branch "local"]
        remote = origin
        merge = refs/heads/master
        rebase = true

From then on, you can just do "git pull" and your changes to the
Makefile will dutifully re-enacted by git.


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] 23+ messages in thread

* Re: Update org-mode
  2011-04-02 20:13 ` Christian Moe
  2011-04-02 20:45   ` Achim Gratz
@ 2011-04-02 21:02   ` Nick Dokos
  2011-04-03  5:45     ` Christian Moe
  2011-04-03  8:08   ` Dror Atariah
  2 siblings, 1 reply; 23+ messages in thread
From: Nick Dokos @ 2011-04-02 21:02 UTC (permalink / raw)
  To: mail; +Cc: nicholas.dokos, emacs-orgmode, Dror Atariah

Christian Moe <mail@christianmoe.com> wrote:

> I quickly found that git pulls would overwrite my hand-edited
> Makefile, and a hand-edited Makefile caused conflicts on the next
> pull, and I didn't understand git at all.
> 

In 

   http://thread.gmane.org/gmane.emacs.orgmode/17102/focus=17115

Bernt pointed out the existence of an FAQ that explains in detail
the procedure for setting up a local branch that will rebase your
local modifications on top of whatever you pull:

   http://orgmode.org/worg/org-faq.php#keeping-local-changes-current-with-Org-mode-development

Achim's reply in this thread also explains this, but the extra detail
in the FAQ might be helpful.

Nick

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

* Re: Update org-mode
  2011-04-02 21:02   ` Nick Dokos
@ 2011-04-03  5:45     ` Christian Moe
  0 siblings, 0 replies; 23+ messages in thread
From: Christian Moe @ 2011-04-03  5:45 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs-orgmode, Dror Atariah

Nick, Achim,

Thanks for this. Other git newbies should obviously ignore my clumsy 
solution and follow those instructions instead.

I guess I missed them because I just stopped looking when I had an 
approach that worked. Embarrassed now.

Dror may still want to check those targets in his Makefile against the 
contents of his Aquamacs.app package.

Yours,
Christian

On 4/2/11 11:02 PM, Nick Dokos wrote:
> Christian Moe<mail@christianmoe.com>  wrote:
>
>> I quickly found that git pulls would overwrite my hand-edited
>> Makefile, and a hand-edited Makefile caused conflicts on the next
>> pull, and I didn't understand git at all.
>>
>
> In
>
>     http://thread.gmane.org/gmane.emacs.orgmode/17102/focus=17115
>
> Bernt pointed out the existence of an FAQ that explains in detail
> the procedure for setting up a local branch that will rebase your
> local modifications on top of whatever you pull:
>
>     http://orgmode.org/worg/org-faq.php#keeping-local-changes-current-with-Org-mode-development
>
> Achim's reply in this thread also explains this, but the extra detail
> in the FAQ might be helpful.
>
> Nick
>
>
>
>

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

* Re: Update org-mode
  2011-04-02 20:13 ` Christian Moe
  2011-04-02 20:45   ` Achim Gratz
  2011-04-02 21:02   ` Nick Dokos
@ 2011-04-03  8:08   ` Dror Atariah
  2011-04-03  9:55     ` Christian Moe
  2011-04-03 11:31     ` Achim Gratz
  2 siblings, 2 replies; 23+ messages in thread
From: Dror Atariah @ 2011-04-03  8:08 UTC (permalink / raw)
  To: mail; +Cc: emacs-orgmode

@Christian: Here's my updated Makefile (at least the first part):

# Name of your emacs binary
EMACS=/Applications/Aquamacs.app/Contents/MacOS/Aquamacs

# Where local software is found
#prefix=/usr/local
prefix=~/Applications

# Where local lisp files go.
lispdir   = $(prefix)/Aquamacs.app/Contents/Resources/lisp

# Where info files go.
infodir = $(prefix)/Aquamacs.app/Contents/Resources/info

Running the "make install" finally (after make && make doc) yielded a rather long process with lots of output. However, when I reopened Aquamacs and and .org file, the version checked still showed 6.33x

Anything I should do otherwise?

Thnx!

On Apr 2, 2011, at 22:13 PM, Christian Moe wrote:

> In the Makefile, what settings do you have under these headings?
> 
> # Name of your emacs binary
> # Where local software is found
> # Where local lisp files go.
> # Where info files go.
> 
> I'm one of the oddballs who compile and install every new Org version, because in the start I thought that was the "right" way, and it's become a habit.
> 
> The Makefile needs to point to the right paths for your Aquamacs application and its site-lisp and info subdirectories. I don't use Aquamacs, but mutatis mutandis it's probably similar to that for GNU Emacs on the Mac, namely:
> 
> # Name of your emacs binary
> EMACS=/Applications/Emacs.app/Contents/MacOS/emacs
> 
> # Where local software is found
> prefix=/Applications
> 
> # Where local lisp files go.
> lispdir = $(prefix)/Emacs.app/Contents/Resources/site-lisp
> 
> # Where info files go.
> infodir = $(prefix)/Emacs.app/Contents/Resources/info
> 
> I quickly found that git pulls would overwrite my hand-edited Makefile, and a hand-edited Makefile caused conflicts on the next pull, and I didn't understand git at all.
> 
> So I did a shell script that pulls org-mode, copies the Makefile, applies a patch with the above changes to the Makefile, compiles and installs, and then switches back the Makefile copy. Works for me.
> 
> Yours,
> Christian
> 
> 
> 
> On 4/1/11 5:20 PM, Dror Atariah wrote:
>> I tried to follow the update process described here:
>> http://orgmode.org/worg/org-faq.html under:
>> How do I keep current with bleeding edge development?
>> 
>> The only change I made was the place where I checked out the new version. Instead of ~/elisp I have ~/Library/elisp.
>> 
>> Everything went smooth, except that I had to add "sudo" before the "make install". Without the sudo, I got an "access denied" error. Anyway, at the end, I got no warnings and it seems like the process was smooth. But when I checked the version of org-mode in aquamacs it was still 6.33x
>> 
>> I am using Emacs 23.3.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
>>  of 2011-03-19 on braeburn.aquamacs.org - Aquamacs Distribution 2.2 on a mac OS 10.6.7.
>> 
>> What should I do in order to fix it?
>> 
>> Thanks in advance,
>> Dror
>> 
>> 
>> 
>> 
>> 
> 

Dror Atariah
---------------------------------------------------------------
Landline:        +49-30-43024501
Mobile:         +49-176-67116376
Mobile (in IL): +972 54 5912389
IM:  		      drorata@gmail.com
		   drorata@hotmail.com

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

* Re: Re: Update org-mode
  2011-04-01 20:03     ` Nick Dokos
@ 2011-04-03  8:12       ` Dror Atariah
  2011-04-03  8:23         ` Jambunathan K
  0 siblings, 1 reply; 23+ messages in thread
From: Dror Atariah @ 2011-04-03  8:12 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: Emacs-orgmode

I have added the following:

>>> (setq load-path (cons
>>>                (expand-file-name "~/Library/elisp")
>>>                load-path))
>>> (require 'org-install)

No change in the way Aquamacs+org-mode behaves. In particular version still shows 6.33x... :(

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

* Re: Update org-mode
  2011-04-03  8:12       ` Dror Atariah
@ 2011-04-03  8:23         ` Jambunathan K
       [not found]           ` <F1BFD612-B50C-4247-8261-1058352CF0E4@gmail.com>
  0 siblings, 1 reply; 23+ messages in thread
From: Jambunathan K @ 2011-04-03  8:23 UTC (permalink / raw)
  To: Dror Atariah; +Cc: nicholas.dokos, Emacs-orgmode


Dror

Did you try installing with Package Manager/ELPA? It will be far much
simpler that way, I think ...

It is primarily designed to help new users of Emacs. You don't need to
learn git, tweak Makefiles, load-paths or battle with installing Info
manuals.

I would recommend ELPA anyday for users who are new to Emacs.

Jambunathan K.
-- 

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

* Re: Update org-mode
       [not found]             ` <81zko7hft2.fsf@gmail.com>
@ 2011-04-03  9:47               ` Dror Atariah
  2011-04-03 11:53                 ` Jambunathan K
  0 siblings, 1 reply; 23+ messages in thread
From: Dror Atariah @ 2011-04-03  9:47 UTC (permalink / raw)
  To: emacs-orgmode

It seems like I have to install the package manager.

I followed the instructions in the org-mode FAQ. Added:

(setq load-path (cons "~/Library/elisp" load-path))
(require 'package)
(package-initialize)

To my .emacs, where packages.el located in ~/Library/elisp.

Then, when I restart Aquamacs I get the following error:

Warning (initialization): An error occurred while loading `/Users/drorata/.emacs':

Symbol's value as variable is void: package-subdirectory-regexp

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.

What should I do?


Thanks for your time!!

Dror

On Apr 3, 2011, at 10:58 AM, Jambunathan K wrote:

> Dror Atariah <drorata@gmail.com> writes:
> 
>> Good morning Jambunathan,
>> 
>> I did consider this, however, I couldn't make this work for me
>> either. I think I'm running a too old version of Emacs/Aquamacs. If
>> you could help me set this up that would be great!!
> 
>> I am using Emacs 23.3.1 (i386-apple-darwin9.8.0, NS
>> apple-appkit-949.54) of 2011-03-19 on braeburn.aquamacs.org - Aquamacs
>> Distribution 2.2 on a mac OS 10.6.7.
> 
> I don't use Mac. But on my windows machine, I have installed
> ELPA/Orgmode on emacs-23.3.
> 
> Follow instructions in
> http://orgmode.org/worg/org-faq.html#installing-via-elpa
> 
> You have to install package manager first and then install new org-mode.
> 
> I don't know where exactly failure heppaned. Tell me which step
> failed. I would be able to help better.
> 
> Did Orgmode show up when you did M-x list-packages?
> 
> Jambunathan K.
> 

Dror Atariah
---------------------------------------------------------------
Landline:        +49-30-43024501
Mobile:         +49-176-67116376
Mobile (in IL): +972 54 5912389
IM:  		      drorata@gmail.com
		   drorata@hotmail.com

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

* Re: Update org-mode
  2011-04-03  8:08   ` Dror Atariah
@ 2011-04-03  9:55     ` Christian Moe
  2011-04-03 10:35       ` Dror Atariah
  2011-04-03 11:31     ` Achim Gratz
  1 sibling, 1 reply; 23+ messages in thread
From: Christian Moe @ 2011-04-03  9:55 UTC (permalink / raw)
  To: Dror Atariah; +Cc: emacs-orgmode

On 4/3/11 10:08 AM, Dror Atariah wrote:
> # Where local software is found
> #prefix=/usr/local
> prefix=~/Applications

Hi,

Try

prefix=/Applications

without the tilde.

Yours,
Christian

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

* Re: Update org-mode
  2011-04-03  9:55     ` Christian Moe
@ 2011-04-03 10:35       ` Dror Atariah
  0 siblings, 0 replies; 23+ messages in thread
From: Dror Atariah @ 2011-04-03 10:35 UTC (permalink / raw)
  To: mail; +Cc: emacs-orgmode

On Apr 3, 2011, at 11:55 AM, Christian Moe wrote:

> On 4/3/11 10:08 AM, Dror Atariah wrote:
>> # Where local software is found
>> #prefix=/usr/local
>> prefix=~/Applications
> 
> Hi,
> 
> Try
> 
> prefix=/Applications
> 
> without the tilde.

That made the trick! I'll try to follow and solve also the package-manager path.

THANKS!!!

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

* Re: Update org-mode
  2011-04-03  8:08   ` Dror Atariah
  2011-04-03  9:55     ` Christian Moe
@ 2011-04-03 11:31     ` Achim Gratz
  1 sibling, 0 replies; 23+ messages in thread
From: Achim Gratz @ 2011-04-03 11:31 UTC (permalink / raw)
  To: emacs-orgmode

Dror Atariah <drorata@gmail.com> writes:
> # Where local lisp files go.
> lispdir   = $(prefix)/Aquamacs.app/Contents/Resources/lisp

I'm going out on a limb here, but you probably should better have:

lispdir   = $(prefix)/Aquamacs.app/Contents/Resources/site-lisp/org-mode


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] 23+ messages in thread

* Re: Update org-mode
  2011-04-03  9:47               ` Dror Atariah
@ 2011-04-03 11:53                 ` Jambunathan K
  0 siblings, 0 replies; 23+ messages in thread
From: Jambunathan K @ 2011-04-03 11:53 UTC (permalink / raw)
  To: Dror Atariah; +Cc: emacs-orgmode

Dror Atariah <drorata@gmail.com> writes:

> It seems like I have to install the package manager.
>
> I followed the instructions in the org-mode FAQ. Added:
>
> (setq load-path (cons "~/Library/elisp" load-path))
> (require 'package)
> (package-initialize)

Add this line at the end of the init file. This ensures that the
load-path would point to the elpa version of org.

>
> To my .emacs, where packages.el located in ~/Library/elisp.
>
> Then, when I restart Aquamacs I get the following error:
>
> Warning (initialization): An error occurred while loading `/Users/drorata/.emacs':
>
> Symbol's value as variable is void: package-subdirectory-regexp

http://repo.or.cz/w/emacs.git/blob_plain/1a0a666f941c99882093d7bd08ced15033bc3f0c:/lisp/emacs-lisp/package.el

I just verified that above version of package.el works fine with my
emacs-23.

If you report successful installation with the above steps I will update
the FAQ so that folks are able to use ELPA to install org on emacs-23
versions.

Steps are simple:

1. M-x list-packages
2. locate org line that reads something like "org 20110403 available ...") 
3. Press 'i' to install to mark org for installation
4. Press 'x' to actually install the package

5. Reboot emacs (Recommended)

6. Do M-x locate-library RET org 
   and see that you see the following line

   Library is file ~/.emacs.d/elpa/org-20110403/org.elc

Jambunathan K.












>
> Dror
>
> On Apr 3, 2011, at 10:58 AM, Jambunathan K wrote:
>
>> Dror Atariah <drorata@gmail.com> writes:
>> 
>>> Good morning Jambunathan,
>>> 
>>> I did consider this, however, I couldn't make this work for me
>>> either. I think I'm running a too old version of Emacs/Aquamacs. If
>>> you could help me set this up that would be great!!
>> 
>>> I am using Emacs 23.3.1 (i386-apple-darwin9.8.0, NS
>>> apple-appkit-949.54) of 2011-03-19 on braeburn.aquamacs.org - Aquamacs
>>> Distribution 2.2 on a mac OS 10.6.7.
>> 
>> I don't use Mac. But on my windows machine, I have installed
>> ELPA/Orgmode on emacs-23.3.
>> 
>> Follow instructions in
>> http://orgmode.org/worg/org-faq.html#installing-via-elpa
>> 
>> You have to install package manager first and then install new org-mode.
>> 
>> I don't know where exactly failure heppaned. Tell me which step
>> failed. I would be able to help better.
>> 
>> Did Orgmode show up when you did M-x list-packages?
>> 
>> Jambunathan K.
>> 
>
> Dror Atariah
> ---------------------------------------------------------------
> Landline:        +49-30-43024501
> Mobile:         +49-176-67116376
> Mobile (in IL): +972 54 5912389
> IM:  		      drorata@gmail.com
> 		   drorata@hotmail.com
>
>
>

-- 

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

* Re: Update org-mode
  2011-04-01 16:24 ` Jambunathan K
@ 2011-04-05 15:31   ` Dror Atariah
  2011-04-05 17:03     ` Ian Barton
  0 siblings, 1 reply; 23+ messages in thread
From: Dror Atariah @ 2011-04-05 15:31 UTC (permalink / raw)
  To: Jambunathan K; +Cc: emacs-orgmode

Let me summarize the steps I carried out eventually, to use the package manager. Note, I am using emacs 23 based editor which was shipped with org-mode 6.33.

* Updating
Follow the steps:
** Intsall the package manager
*** Download the =packages.el= file from
http://repo.or.cz/w/emacs.git/blob_plain/1a0a666f941c99882093d7bd08ced15033bc3f0c:/lisp/emacs-lisp/package.el.

Save in in =~/Library/elisp= for example.
*** Add the following code to the =.emacs=:
#+BEGIN_SRC elisp

(setq load-path (cons "~/Library/elisp" load-path))
(require 'package)
(package-initialize)

#+END_SRC

*** Verify
To verify this part, in /emacs/ hit =M-x list-packages RET org=. Here
you should see a list of optional packages. /Note:/ you may ignore the
warning: =failed to download org-mode archive=.
** Updating org-mode
*** Enter the =list-packages=
Hit =M-x list-packages RET=.

In there mark for installation by =i= the org package and the =x= for
the actual installation.
*** Restart emacs
*** Verify
Hit =M-x locate-library RET org= to verify the installation. You should now
have org-mode up and running.

Thank you all!
Dror

On Apr 1, 2011, at 18:24 PM, Jambunathan K wrote:

> Dror Atariah <drorata@gmail.com> writes:
> 
>> I tried to follow the update process described here:
>> http://orgmode.org/worg/org-faq.html under:
>> How do I keep current with bleeding edge development?
> 
> Search for ELPA in FAQ. Maybe that will work well for you ...
> 

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

* Re: Re: Update org-mode
  2011-04-05 15:31   ` Dror Atariah
@ 2011-04-05 17:03     ` Ian Barton
  0 siblings, 0 replies; 23+ messages in thread
From: Ian Barton @ 2011-04-05 17:03 UTC (permalink / raw)
  To: emacs-orgmode

On 05/04/11 16:31, Dror Atariah wrote:
> Let me summarize the steps I carried out eventually, to use the package manager. Note, I am using emacs 23 based editor which was shipped with org-mode 6.33.
>
> * Updating
> Follow the steps:
> ** Intsall the package manager
> *** Download the =packages.el= file from
> http://repo.or.cz/w/emacs.git/blob_plain/1a0a666f941c99882093d7bd08ced15033bc3f0c:/lisp/emacs-lisp/package.el.
>
> Save in in =~/Library/elisp= for example.
> *** Add the following code to the =.emacs=:
> #+BEGIN_SRC elisp
>
> (setq load-path (cons "~/Library/elisp" load-path))
> (require 'package)
> (package-initialize)
>
> #+END_SRC
>
> *** Verify
> To verify this part, in /emacs/ hit =M-x list-packages RET org=. Here
> you should see a list of optional packages. /Note:/ you may ignore the
> warning: =failed to download org-mode archive=.
> ** Updating org-mode
> *** Enter the =list-packages=
> Hit =M-x list-packages RET=.
>
> In there mark for installation by =i= the org package and the =x= for
> the actual installation.
> *** Restart emacs
> *** Verify
> Hit =M-x locate-library RET org= to verify the installation. You should now
> have org-mode up and running.
>
> Thank you all!
> Dror
>
Glad you got it working. Thanks for posting the follow up to the list, 
which will probably help someone in future.

Ian.

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

end of thread, other threads:[~2011-04-05 17:03 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-01 15:20 Update org-mode Dror Atariah
2011-04-01 16:08 ` Ian Barton
2011-04-01 16:24 ` Jambunathan K
2011-04-05 15:31   ` Dror Atariah
2011-04-05 17:03     ` Ian Barton
2011-04-01 17:08 ` Bernt Hansen
2011-04-01 17:39   ` Nick Dokos
2011-04-01 18:14     ` Bernt Hansen
2011-04-01 17:58 ` Yagnesh Raghava Yakkala
2011-04-01 19:35   ` Dror Atariah
2011-04-01 20:03     ` Nick Dokos
2011-04-03  8:12       ` Dror Atariah
2011-04-03  8:23         ` Jambunathan K
     [not found]           ` <F1BFD612-B50C-4247-8261-1058352CF0E4@gmail.com>
     [not found]             ` <81zko7hft2.fsf@gmail.com>
2011-04-03  9:47               ` Dror Atariah
2011-04-03 11:53                 ` Jambunathan K
2011-04-02 20:13 ` Christian Moe
2011-04-02 20:45   ` Achim Gratz
2011-04-02 21:02   ` Nick Dokos
2011-04-03  5:45     ` Christian Moe
2011-04-03  8:08   ` Dror Atariah
2011-04-03  9:55     ` Christian Moe
2011-04-03 10:35       ` Dror Atariah
2011-04-03 11:31     ` 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).