all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* el-get question
@ 2011-03-16  9:58 henry atting
  2011-03-16 14:19 ` Ted Zlatanov
  0 siblings, 1 reply; 6+ messages in thread
From: henry atting @ 2011-03-16  9:58 UTC (permalink / raw)
  To: help-gnu-emacs

I try to make el-get work with emacs but did not succeed so
far. I never used a `package manager` for emacs - and if the
oh so simple el-get will not reveal its hidden simplicity I
most probably never will.

I started with orgmode from git which was pulled correctly
as far as I can see but was never loaded after restarting emacs.
Emacs sticks to the builtin version. As far as I understand
it el-get should load the orgmode version under its control
automatically...

It would really appreciate it if anybody can provide me with an
example which causes el-get to pull orgmode from git for example
to ~/emacs_plus and load it automatically afterwards.

henry


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

* Re: el-get question
  2011-03-16  9:58 el-get question henry atting
@ 2011-03-16 14:19 ` Ted Zlatanov
  2011-03-16 16:38   ` henry atting
  0 siblings, 1 reply; 6+ messages in thread
From: Ted Zlatanov @ 2011-03-16 14:19 UTC (permalink / raw)
  To: help-gnu-emacs

On Wed, 16 Mar 2011 10:58:12 +0100 henry atting <nsmp_02@online.de> wrote: 

ha> I try to make el-get work with emacs but did not succeed so
ha> far. I never used a `package manager` for emacs - and if the
ha> oh so simple el-get will not reveal its hidden simplicity I
ha> most probably never will.

ha> I started with orgmode from git which was pulled correctly
ha> as far as I can see but was never loaded after restarting emacs.
ha> Emacs sticks to the builtin version. As far as I understand
ha> it el-get should load the orgmode version under its control
ha> automatically...

ha> It would really appreciate it if anybody can provide me with an
ha> example which causes el-get to pull orgmode from git for example
ha> to ~/emacs_plus and load it automatically afterwards.

You may want to post to the el-get development mailing list (also
available on nntp+news.gmane.org:gmane.emacs.el-get.devel).

Ted


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

* Re: el-get question
  2011-03-16 14:19 ` Ted Zlatanov
@ 2011-03-16 16:38   ` henry atting
  2011-03-16 18:11     ` Ted Zlatanov
  0 siblings, 1 reply; 6+ messages in thread
From: henry atting @ 2011-03-16 16:38 UTC (permalink / raw)
  To: help-gnu-emacs

Am 16.03.2011 15:19, schrieb Ted Zlatanov:
> On Wed, 16 Mar 2011 10:58:12 +0100 henry atting <nsmp_02@online.de> wrote: 
> 
> ha> I try to make el-get work with emacs but did not succeed so
> ha> far. I never used a `package manager` for emacs - and if the
> ha> oh so simple el-get will not reveal its hidden simplicity I
> ha> most probably never will.
> 
> ha> I started with orgmode from git which was pulled correctly
> ha> as far as I can see but was never loaded after restarting emacs.
> ha> Emacs sticks to the builtin version. As far as I understand
> ha> it el-get should load the orgmode version under its control
> ha> automatically...
> 
> ha> It would really appreciate it if anybody can provide me with an
> ha> example which causes el-get to pull orgmode from git for example
> ha> to ~/emacs_plus and load it automatically afterwards.
> 
> You may want to post to the el-get development mailing list (also
> available on nntp+news.gmane.org:gmane.emacs.el-get.devel).
> 

Thanks! With some effort I got it working now with orgmode from git; -
okay, it's not bad. Having said that I find it's too much work to do.
In my opinion a `git pull` to obtain the current orgmode version and
adding the directory to the load path is far less time consuming. So
most probably I will refrain from using el-get.

henry

-- 
http://literaturlatenight.de


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

* Re: el-get question
  2011-03-16 16:38   ` henry atting
@ 2011-03-16 18:11     ` Ted Zlatanov
  2011-03-17  7:01       ` henry atting
  0 siblings, 1 reply; 6+ messages in thread
From: Ted Zlatanov @ 2011-03-16 18:11 UTC (permalink / raw)
  To: help-gnu-emacs

On Wed, 16 Mar 2011 17:38:11 +0100 henry atting <nsmp_02@online.de> wrote: 

ha> Thanks! With some effort I got it working now with orgmode from git; -
ha> okay, it's not bad. Having said that I find it's too much work to do.
ha> In my opinion a `git pull` to obtain the current orgmode version and
ha> adding the directory to the load path is far less time consuming. So
ha> most probably I will refrain from using el-get.

I use el-get for the built-in recipes, but here are two Git-based
recipes mixed in with some built-in ones.  I prefer leaving emacs-w3m
uncompiled, in case you're wondering about the commented-out build prop.

(el-get 'wait (setq
               el-get-sources
               '(
                 (:name emacs_w3m
                        :type git
                        :url "https://github.com/sjatkinson/emacs-w3m.git"
                        :module "emacs-w3m"
                        ;;:build `("autoconf" ("./configure" ,(concat "--with-emacs=" el-get-emacs)) "make")
                        :build '("")
                        :info "doc"
                        :features w3m)
                 (:name zencoding-mode
                        :type git
                        :url "https://github.com/rooney/zencoding"
                        :module "zencoding-mode"
                        :build '("make")
                        :features zencoding-mode)
                 bbdb csv htmlize markdown-mode pg session tc)))

I also use package.el:

(setq package-archives '(("ELPA" . "http://tromey.com/elpa/")
                         ("marmalade" . "http://marmalade-repo.org/packages/")
                         ("gnu" . "http://elpa.gnu.org/packages/")))

...which may fit your needs as well, though el-get definitely handles
Git pulls better.  What may interest you is that the GNU ELPA has the
daily org-mode build, which you can see at

http://elpa.gnu.org/packages/

so if using the daily build suits you, you may be happy just using that
through the `package-list-packages' interface.

Ted


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

* Re: el-get question
  2011-03-16 18:11     ` Ted Zlatanov
@ 2011-03-17  7:01       ` henry atting
  2011-03-17 19:44         ` Ted Zlatanov
  0 siblings, 1 reply; 6+ messages in thread
From: henry atting @ 2011-03-17  7:01 UTC (permalink / raw)
  To: help-gnu-emacs

Am 16.03.2011 19:11, schrieb Ted Zlatanov:
> On Wed, 16 Mar 2011 17:38:11 +0100 henry atting <nsmp_02@online.de> wrote: 
> 
> ha> Thanks! With some effort I got it working now with orgmode from git; -
> ha> okay, it's not bad. Having said that I find it's too much work to do.
> ha> In my opinion a `git pull` to obtain the current orgmode version and
> ha> adding the directory to the load path is far less time consuming. So
> ha> most probably I will refrain from using el-get.
> 
> I use el-get for the built-in recipes, but here are two Git-based
> recipes mixed in with some built-in ones.  I prefer leaving emacs-w3m
> uncompiled, in case you're wondering about the commented-out build prop.
> 
> (el-get 'wait (setq
>                el-get-sources
>                '(
>                  (:name emacs_w3m
>                         :type git
>                         :url "https://github.com/sjatkinson/emacs-w3m.git"
>                         :module "emacs-w3m"
>                         ;;:build `("autoconf" ("./configure" ,(concat "--with-emacs=" el-get-emacs)) "make")
>                         :build '("")
>                         :info "doc"
>                         :features w3m)
>                  (:name zencoding-mode
>                         :type git
>                         :url "https://github.com/rooney/zencoding"
>                         :module "zencoding-mode"
>                         :build '("make")
>                         :features zencoding-mode)
>                  bbdb csv htmlize markdown-mode pg session tc)))
> 
> I also use package.el:
> 
> (setq package-archives '(("ELPA" . "http://tromey.com/elpa/")
>                          ("marmalade" . "http://marmalade-repo.org/packages/")
>                          ("gnu" . "http://elpa.gnu.org/packages/")))
> 
> ...which may fit your needs as well, though el-get definitely handles
> Git pulls better.  What may interest you is that the GNU ELPA has the
> daily org-mode build, which you can see at
> 
> http://elpa.gnu.org/packages/
> 
> so if using the daily build suits you, you may be happy just using that
> through the `package-list-packages' interface.

Thanks again! I now have these lines for the latest orgmode which works
pretty well

(setq el-get-sources
 '(
...
   (:name org-mode
;;     :build ("make clean" "make")
     :after (lambda ()
            (setq load-path (remove "~/rechner/emacs-trunk/lisp/org/"
load-path))
          ))
))

I found two or three threads on the web where people ran into the same
problems like me. One problem is the load path. If I e.g. install
`dired+` with el-get-install where is it afterwards? Why can't I load it
with load-library?

Anyway, I am using emacs more than 5 years now without some package
helper. To update modes like orgmode which I pull from git I have a
little script which updates all at once. The single *.el files I put in
a directory and generate autoloads. That's it.

I think I am happy knowing that there are ways to manage elisp code and
that they might work...

henry

-- 
http://literaturlatenight.de


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

* Re: el-get question
  2011-03-17  7:01       ` henry atting
@ 2011-03-17 19:44         ` Ted Zlatanov
  0 siblings, 0 replies; 6+ messages in thread
From: Ted Zlatanov @ 2011-03-17 19:44 UTC (permalink / raw)
  To: help-gnu-emacs

On Thu, 17 Mar 2011 08:01:27 +0100 henry atting <nsmp_02@online.de> wrote: 

ha> Thanks again! I now have these lines for the latest orgmode which works
ha> pretty well

ha> (setq el-get-sources
ha>  '(
ha> ...
ha>    (:name org-mode
ha> ;;     :build ("make clean" "make")
ha>      :after (lambda ()
ha>             (setq load-path (remove "~/rechner/emacs-trunk/lisp/org/"
ha> load-path))
ha>           ))
ha> ))

I'm glad you found the right recipe.

ha> I found two or three threads on the web where people ran into the same
ha> problems like me. One problem is the load path. If I e.g. install
ha> `dired+` with el-get-install where is it afterwards? Why can't I load it
ha> with load-library?

Ask the el-get developers, I started using it recently too :)

ha> Anyway, I am using emacs more than 5 years now without some package
ha> helper. To update modes like orgmode which I pull from git I have a
ha> little script which updates all at once. The single *.el files I put in
ha> a directory and generate autoloads. That's it.

I used to do that, until the script was 200 lines and using Mercurial,
Git, CVS, Subversion, and hacked curl chains.  It worked, sure, but I
didn't *like* to run it.  That's when I said "enough."

Ted


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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-16  9:58 el-get question henry atting
2011-03-16 14:19 ` Ted Zlatanov
2011-03-16 16:38   ` henry atting
2011-03-16 18:11     ` Ted Zlatanov
2011-03-17  7:01       ` henry atting
2011-03-17 19:44         ` Ted Zlatanov

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.