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