emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug? Installing from git master
@ 2008-02-29 20:41 Sebastian
  2008-02-29 20:44 ` Carsten Dominik
  0 siblings, 1 reply; 23+ messages in thread
From: Sebastian @ 2008-02-29 20:41 UTC (permalink / raw)
  To: [emacs-orgmode]

Hallo list,

just pulled the current GIT repo and installed org-mode doing


sh# make
sh# make install


Now, when I try to

M-x org-publish-current-project

I get the message

Cannot open load file: org-irc

I can see that org-irc.el is in my repo but does not get installed (and
not compiled), while org-publish.el, obviously depending on org-irc does.


sh# ls -1 /usr/local/share/emacs/site-lisp/org*
/usr/local/share/emacs/site-lisp/org.el
/usr/local/share/emacs/site-lisp/org.elc
/usr/local/share/emacs/site-lisp/org-export-latex.el
/usr/local/share/emacs/site-lisp/org-export-latex.elc
/usr/local/share/emacs/site-lisp/org-install.el
/usr/local/share/emacs/site-lisp/org-install.elc
/usr/local/share/emacs/site-lisp/org-mac-message.el
/usr/local/share/emacs/site-lisp/org-mac-message.elc
/usr/local/share/emacs/site-lisp/org-mouse.el
/usr/local/share/emacs/site-lisp/org-mouse.elc
/usr/local/share/emacs/site-lisp/org-publish.el
/usr/local/share/emacs/site-lisp/org-publish.elc


Is this the intended behaviour?


BTW: an INSTALL file would be nice, describing the interesting make
targets with just a few words (or place a small section in the README).


** Another little bug:

sh# make doc
makeinfo --html --number-sections --no-split -o org.html org.texi
/home/sebastian/emacs/lisp/ext/org-mode//org.texi:5111: Next field of
node `Keyword search' not pointed to (perhaps incorrect sectioning?).
/home/sebastian/emacs/lisp/ext/org-mode//org.texi:5140: This node (Stuck
projects) has the bad Prev.
/home/sebastian/emacs/lisp/ext/org-mode//org.texi:5111: Prev field of
node `Keyword search' not pointed to.
/home/sebastian/emacs/lisp/ext/org-mode//org.texi:5090: This node
(Timeline) has the bad Next.
makeinfo: Removing output file `org.html' due to errors; use --force to
preserve.
make: *** [org.html] Error 1



No docs created.


** General question:

What goes into the master branch? What grade of stability can I expect
when using it? And what kinds of failures are you intersted in? Is there
some kind of file anywhere describing a timline for the development I
should read (in place of asking questions)?

I ask, because I am not shure, if you are interested in posts like this
one. I'm new to this list and every project has it's way of developing.
Some add code for some weeks and then from time to time do a freeze or
have special flag days for bug hunting and do a release then. Other
projects try to keep the master branch in a stable state and try to fix
issues in there as soon as possible.



Regards,

    Sebastian

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

* Re: Bug? Installing from git master
  2008-02-29 20:41 Bug? Installing from git master Sebastian
@ 2008-02-29 20:44 ` Carsten Dominik
  2008-02-29 21:11   ` Manish
                     ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Carsten Dominik @ 2008-02-29 20:44 UTC (permalink / raw)
  To: Sebastian; +Cc: [emacs-orgmode]

Pull again, this should work now.

- Carsten

On Feb 29, 2008, at 9:41 PM, Sebastian wrote:

> Hallo list,
>
> just pulled the current GIT repo and installed org-mode doing
>
>
> sh# make
> sh# make install
>
>
> Now, when I try to
>
> M-x org-publish-current-project
>
> I get the message
>
> Cannot open load file: org-irc
>
> I can see that org-irc.el is in my repo but does not get installed  
> (and
> not compiled), while org-publish.el, obviously depending on org-irc  
> does.
>
>
> sh# ls -1 /usr/local/share/emacs/site-lisp/org*
> /usr/local/share/emacs/site-lisp/org.el
> /usr/local/share/emacs/site-lisp/org.elc
> /usr/local/share/emacs/site-lisp/org-export-latex.el
> /usr/local/share/emacs/site-lisp/org-export-latex.elc
> /usr/local/share/emacs/site-lisp/org-install.el
> /usr/local/share/emacs/site-lisp/org-install.elc
> /usr/local/share/emacs/site-lisp/org-mac-message.el
> /usr/local/share/emacs/site-lisp/org-mac-message.elc
> /usr/local/share/emacs/site-lisp/org-mouse.el
> /usr/local/share/emacs/site-lisp/org-mouse.elc
> /usr/local/share/emacs/site-lisp/org-publish.el
> /usr/local/share/emacs/site-lisp/org-publish.elc
>
>
> Is this the intended behaviour?
>
>
> BTW: an INSTALL file would be nice, describing the interesting make
> targets with just a few words (or place a small section in the  
> README).
>
>
> ** Another little bug:
>
> sh# make doc
> makeinfo --html --number-sections --no-split -o org.html org.texi
> /home/sebastian/emacs/lisp/ext/org-mode//org.texi:5111: Next field of
> node `Keyword search' not pointed to (perhaps incorrect sectioning?).
> /home/sebastian/emacs/lisp/ext/org-mode//org.texi:5140: This node  
> (Stuck
> projects) has the bad Prev.
> /home/sebastian/emacs/lisp/ext/org-mode//org.texi:5111: Prev field of
> node `Keyword search' not pointed to.
> /home/sebastian/emacs/lisp/ext/org-mode//org.texi:5090: This node
> (Timeline) has the bad Next.
> makeinfo: Removing output file `org.html' due to errors; use --force  
> to
> preserve.
> make: *** [org.html] Error 1
>
>
>
> No docs created.
>
>
> ** General question:
>
> What goes into the master branch? What grade of stability can I expect
> when using it? And what kinds of failures are you intersted in? Is  
> there
> some kind of file anywhere describing a timline for the development I
> should read (in place of asking questions)?
>
> I ask, because I am not shure, if you are interested in posts like  
> this
> one. I'm new to this list and every project has it's way of  
> developing.
> Some add code for some weeks and then from time to time do a freeze or
> have special flag days for bug hunting and do a release then. Other
> projects try to keep the master branch in a stable state and try to  
> fix
> issues in there as soon as possible.
>
>
>
> Regards,
>
>    Sebastian
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Bug? Installing from git master
  2008-02-29 20:44 ` Carsten Dominik
@ 2008-02-29 21:11   ` Manish
  2008-02-29 21:34     ` Carsten Dominik
  2008-02-29 21:18   ` Sebastian
  2008-02-29 21:27   ` Sebastian
  2 siblings, 1 reply; 23+ messages in thread
From: Manish @ 2008-02-29 21:11 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: [emacs-orgmode]

On Sat, Mar 1, 2008 at 2:14 AM, Carsten Dominik <dominik@science.uva.nl> wrote:
> Pull again, this should work now.
>

  ,----
  | ~/elisp/org-mode $ git pull      <-- zms: second pull to show that
we are current
  | Already up-to-date.
  | ~/elisp/org-mode $ make
  | emacs -batch -q -eval "(progn (add-to-list (quote load-path)
\".\") (add-to-list (quote load-path)
\"/usr/local/share/emacs/site-lisp\"))" -f batch-byte-compile
org-irc.el
  |
  | In toplevel form:
  | org-irc.el:53:1:Error: Symbol's value as variable is void:
mouse-1-click-follows-link
  | make: *** [org-irc.elc] Error 1
  |
  `----

-- Manish

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

* Re: Bug? Installing from git master
  2008-02-29 20:44 ` Carsten Dominik
  2008-02-29 21:11   ` Manish
@ 2008-02-29 21:18   ` Sebastian
  2008-02-29 21:27   ` Sebastian
  2 siblings, 0 replies; 23+ messages in thread
From: Sebastian @ 2008-02-29 21:18 UTC (permalink / raw)
  To: [emacs-orgmode]

Carsten Dominik schrieb:
> Pull again, this should work now.
>
> - Carsten

Still the same...
I'm cloning git://repo.or.cz/org-mode.git
Is that correct?

Actually it is not realy a problem for me since I see that the only
target that fails seems to be the HTML docs (I prefer PDF anyway).

Regards, Sebastian

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

* Re: Bug? Installing from git master
  2008-02-29 20:44 ` Carsten Dominik
  2008-02-29 21:11   ` Manish
  2008-02-29 21:18   ` Sebastian
@ 2008-02-29 21:27   ` Sebastian
  2008-03-03 10:33     ` Bastien
  2 siblings, 1 reply; 23+ messages in thread
From: Sebastian @ 2008-02-29 21:27 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: [emacs-orgmode]

Carsten Dominik schrieb:
> Pull again, this should work now.
>
> - Carsten
>
> On Feb 29, 2008, at 9:41 PM, Sebastian wrote:
>

Oups - you meant the export. YES that works now


Thanks, now I know why the branch is called 'master' ;)



The only old error when exporting is this one (must be something wrong
in my configuration):
org-publish-update-timestamp: Setting file times: datei oder Verzeichnis
nicht gefunden,
/home/sebastian/.org-timestamps/_home_sebastian_develop_htdocs_fairprinter-gmbh_87.230.101.100.doc_Konfiguration-bind.org.timestamp

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

* Re: Bug? Installing from git master
  2008-02-29 21:11   ` Manish
@ 2008-02-29 21:34     ` Carsten Dominik
  2008-02-29 21:45       ` Manish
  0 siblings, 1 reply; 23+ messages in thread
From: Carsten Dominik @ 2008-02-29 21:34 UTC (permalink / raw)
  To: Manish; +Cc: [emacs-orgmode]

Fixed, thanks.

- Carsten
On Feb 29, 2008, at 10:11 PM, Manish wrote:

> On Sat, Mar 1, 2008 at 2:14 AM, Carsten Dominik <dominik@science.uva.nl 
> > wrote:
>> Pull again, this should work now.
>>
>
>  ,----
>  | ~/elisp/org-mode $ git pull      <-- zms: second pull to show that
> we are current
>  | Already up-to-date.
>  | ~/elisp/org-mode $ make
>  | emacs -batch -q -eval "(progn (add-to-list (quote load-path)
> \".\") (add-to-list (quote load-path)
> \"/usr/local/share/emacs/site-lisp\"))" -f batch-byte-compile
> org-irc.el
>  |
>  | In toplevel form:
>  | org-irc.el:53:1:Error: Symbol's value as variable is void:
> mouse-1-click-follows-link
>  | make: *** [org-irc.elc] Error 1
>  |
>  `----
>
> -- Manish

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

* Re: Bug? Installing from git master
  2008-02-29 21:34     ` Carsten Dominik
@ 2008-02-29 21:45       ` Manish
  2008-02-29 22:09         ` Bastien
  0 siblings, 1 reply; 23+ messages in thread
From: Manish @ 2008-02-29 21:45 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: [emacs-orgmode]

> On Feb 29, 2008, at 10:11 PM, Manish wrote:
>
>  > On Sat, Mar 1, 2008 at 2:14 AM, Carsten Dominik <dominik@science.uva.nl
>  > > wrote:
>  >> Pull again, this should work now.
>  >>
>  >
>  >  ,----
>  >  | ~/elisp/org-mode $ git pull      <-- zms: second pull to show that
>  > we are current
>  >  | Already up-to-date.
>  >  | ~/elisp/org-mode $ make
>  >  | emacs -batch -q -eval "(progn (add-to-list (quote load-path)
>  > \".\") (add-to-list (quote load-path)
>  > \"/usr/local/share/emacs/site-lisp\"))" -f batch-byte-compile
>  > org-irc.el
>  >  |
>  >  | In toplevel form:
>  >  | org-irc.el:53:1:Error: Symbol's value as variable is void:
>  > mouse-1-click-follows-link
>  >  | make: *** [org-irc.elc] Error 1
>  >  |
>  >  `----
>  >

On Sat, Mar 1, 2008 at 3:04 AM, Carsten Dominik <dominik@science.uva.nl> wrote:
> Fixed, thanks.
>

`make' now completes.  Though it still produces following warnings:

  ,----
  | <snipped compilation messages>
  |
  | In org-irc-erc-store-link:
  | org-irc.el:159:44:Warning: reference to free variable `erc-default-port'
  |
  | In org-irc-get-erc-link:
  | org-irc.el:166:23:Warning: reference to free variable
  |     `erc-server-announced-name'
  | org-irc.el:167:23:Warning: reference to free variable `erc-session-port'
  |
  | In org-irc-visit-erc:
  | org-irc.el:180:38:Warning: reference to free variable `erc-default-port'
  | org-irc.el:189:33:Warning: reference to free variable `erc-session-port'
  | org-irc.el:190:33:Warning: reference to free variable
  |     `erc-server-announced-name'
  | org-irc.el:212:64:Warning: reference to free variable `chan'
  |
  | In end of data:
  | org-irc.el:223:1:Warning: the following functions are not known to
be defined:
  |     erc-current-logfile, erc-prompt, erc-default-target, erc-channel-p,
  |     erc-buffer-filter, erc-server-buffer, find-if, find,
  |     erc-get-server-nickname-list, erc-cmd-JOIN
  | Wrote /home/zms/elisp/org-mode/org-irc.elc
  |
  | <snipped compilation messages>
  `----

-- Manish

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

* Re: Bug? Installing from git master
  2008-02-29 21:45       ` Manish
@ 2008-02-29 22:09         ` Bastien
  2008-02-29 22:30           ` Manish
  0 siblings, 1 reply; 23+ messages in thread
From: Bastien @ 2008-02-29 22:09 UTC (permalink / raw)
  To: Manish; +Cc: [emacs-orgmode]

Manish <mailtomanish.sharma@gmail.com> writes:

> On Sat, Mar 1, 2008 at 3:04 AM, Carsten Dominik <dominik@science.uva.nl> wrote:
>
> `make' now completes.  Though it still produces following warnings:

Fixed, thanks!

-- 
Bastien

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

* Re: Bug? Installing from git master
  2008-02-29 22:09         ` Bastien
@ 2008-02-29 22:30           ` Manish
  2008-02-29 22:49             ` Bastien
  0 siblings, 1 reply; 23+ messages in thread
From: Manish @ 2008-02-29 22:30 UTC (permalink / raw)
  To: Bastien; +Cc: [emacs-orgmode]

On Sat, Mar 1, 2008 at 3:39 AM, Bastien <bzg@altern.org> wrote:
> Manish <mailtomanish.sharma@gmail.com> writes:
>
>  > On Sat, Mar 1, 2008 at 3:04 AM, Carsten Dominik <dominik@science.uva.nl> wrote:
>  >
>
> > `make' now completes.  Though it still produces following warnings:
>
>  Fixed, thanks!
>

Only following warnings are left now.

  ,----
  | In end of data:
  | org-irc.el:231:1:Warning: the following functions might not be defined at
  |     runtime: find-if, find
  | org-irc.el:231:1:Warning: the function `erc-current-logfile' is not known to
  |     be defined.
  | Wrote /home/zms/elisp/org-mode/org-irc.elc
  `----

-- Manish

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

* Re: Bug? Installing from git master
  2008-02-29 22:30           ` Manish
@ 2008-02-29 22:49             ` Bastien
  2008-02-29 23:05               ` Manish
  2008-03-01  2:36               ` Bernt Hansen
  0 siblings, 2 replies; 23+ messages in thread
From: Bastien @ 2008-02-29 22:49 UTC (permalink / raw)
  To: Manish; +Cc: [emacs-orgmode]

Manish <mailtomanish.sharma@gmail.com> writes:

> On Sat, Mar 1, 2008 at 3:39 AM, Bastien <bzg@altern.org> wrote:
>> Manish <mailtomanish.sharma@gmail.com> writes:
>>
>>  > On Sat, Mar 1, 2008 at 3:04 AM, Carsten Dominik <dominik@science.uva.nl> wrote:
>>  >
>>
>> > `make' now completes.  Though it still produces following warnings:
>>
>>  Fixed, thanks!
>
> Only following warnings are left now.
>
>   ,----
>   | In end of data:
>   | org-irc.el:231:1:Warning: the following functions might not be defined at
>   |     runtime: find-if, find
>   | org-irc.el:231:1:Warning: the function `erc-current-logfile' is not known to
>   |     be defined.
>   | Wrote /home/zms/elisp/org-mode/org-irc.elc
>   `----

Argh. Fixed.

Is _everyone_ pulling from git in this room??

-- 
Bastien

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

* Re: Bug? Installing from git master
  2008-02-29 22:49             ` Bastien
@ 2008-02-29 23:05               ` Manish
  2008-02-29 23:12                 ` Bastien
  2008-03-02 23:34                 ` Adam Spiers
  2008-03-01  2:36               ` Bernt Hansen
  1 sibling, 2 replies; 23+ messages in thread
From: Manish @ 2008-02-29 23:05 UTC (permalink / raw)
  To: Bastien; +Cc: [emacs-orgmode]

On Sat, Mar 1, 2008 at 4:19 AM, Bastien <bzg@altern.org> wrote:
> Manish <mailtomanish.sharma@gmail.com> writes:
>
>  > On Sat, Mar 1, 2008 at 3:39 AM, Bastien <bzg@altern.org> wrote:
>  >> Manish <mailtomanish.sharma@gmail.com> writes:
>  >>
>  >>  > On Sat, Mar 1, 2008 at 3:04 AM, Carsten Dominik <dominik@science.uva.nl> wrote:
>  >>  >
>  >>
>  >> > `make' now completes.  Though it still produces following warnings:
>  >>
>  >>  Fixed, thanks!
>  >
>  > Only following warnings are left now.
>  >
>  >   ,----
>  >   | In end of data:
>  >   | org-irc.el:231:1:Warning: the following functions might not be defined at
>  >   |     runtime: find-if, find
>  >   | org-irc.el:231:1:Warning: the function `erc-current-logfile' is not known to
>  >   |     be defined.
>  >   | Wrote /home/zms/elisp/org-mode/org-irc.elc
>  >   `----
>
>  Argh. Fixed.
>
>  Is _everyone_ pulling from git in this room??
>

I do.

`make' completes cleanly now.  Thanks.

The intention was definitely not to bug (no pun intended) the
maintainers/contributors.  I just assumed it would be helpful.  Would
you prefer that these reports (regarding master branch) be provided
when explicitly requested (since master should be expected to be
somewhat `unstable')?

-- Manish

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

* Re: Bug? Installing from git master
  2008-02-29 23:05               ` Manish
@ 2008-02-29 23:12                 ` Bastien
  2008-03-02 23:34                 ` Adam Spiers
  1 sibling, 0 replies; 23+ messages in thread
From: Bastien @ 2008-02-29 23:12 UTC (permalink / raw)
  To: Manish; +Cc: [emacs-orgmode]

Manish <mailtomanish.sharma@gmail.com> writes:

>>  Is _everyone_ pulling from git in this room??
>
> The intention was definitely not to bug (no pun intended) the
> maintainers/contributors.  I just assumed it would be helpful.  

It was!  No worry on that.

> Would you prefer that these reports (regarding master branch) be
> provided when explicitly requested (since master should be expected to
> be somewhat `unstable')?

No -- provide them when you *want* and we will fix them when we *can*.

I guess I was just a bit wary because I was caught in the middle of some
half-baked fix :)

-- 
Bastien

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

* Re: Bug? Installing from git master
  2008-02-29 22:49             ` Bastien
  2008-02-29 23:05               ` Manish
@ 2008-03-01  2:36               ` Bernt Hansen
  1 sibling, 0 replies; 23+ messages in thread
From: Bernt Hansen @ 2008-03-01  2:36 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg@altern.org> writes:

> Is _everyone_ pulling from git in this room??

I do :)

-Bernt

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

* Re: Bug? Installing from git master
  2008-02-29 23:05               ` Manish
  2008-02-29 23:12                 ` Bastien
@ 2008-03-02 23:34                 ` Adam Spiers
  2008-03-03  0:13                   ` Bastien Guerry
  1 sibling, 1 reply; 23+ messages in thread
From: Adam Spiers @ 2008-03-02 23:34 UTC (permalink / raw)
  To: emacs-orgmode

On Sat, Mar 01, 2008 at 04:35:14AM +0530, Manish wrote:
> On Sat, Mar 1, 2008 at 4:19 AM, Bastien <bzg@altern.org> wrote:
> > Manish <mailtomanish.sharma@gmail.com> writes:
> >
> >  > On Sat, Mar 1, 2008 at 3:39 AM, Bastien <bzg@altern.org> wrote:
> >  >> Manish <mailtomanish.sharma@gmail.com> writes:
> >  >>
> >  >>  > On Sat, Mar 1, 2008 at 3:04 AM, Carsten Dominik <dominik@science.uva.nl> wrote:
> >  >>  >
> >  >>
> >  >> > `make' now completes.  Though it still produces following warnings:
> >  >>
> >  >>  Fixed, thanks!
> >  >
> >  > Only following warnings are left now.
> >  >
> >  >   ,----
> >  >   | In end of data:
> >  >   | org-irc.el:231:1:Warning: the following functions might not be defined at
> >  >   |     runtime: find-if, find
> >  >   | org-irc.el:231:1:Warning: the function `erc-current-logfile' is not known to
> >  >   |     be defined.
> >  >   | Wrote /home/zms/elisp/org-mode/org-irc.elc
> >  >   `----
> >
> >  Argh. Fixed.
> >
> >  Is _everyone_ pulling from git in this room??

:-)

> I do.

Me too.

> `make' completes cleanly now.  Thanks.

... but only if you have erc installed (it's shipped with emacs 22 but
not emacs 21):

  $ make
  emacs -batch -q -eval "(progn (add-to-list (quote load-path) \".\") (add-to-list (quote load-path) \"/home/aspiers/lib/emacs/GNU_Emacs/21.3/gnu/linux/pre\"))" -f batch-byte-compile org-mouse.el
  Loading /usr/lib/emacs/21.3/i586-suse-linux/fns-21.3.1.el (source)...
  While compiling toplevel forms in file
  /home/aspiers/lib/emacs/major-modes/org-mode.git/org-mouse.el:
    !! File error (("Cannot open load file" "erc"))
  Done
  make: *** [org-mouse.elc] Error 1

This is because org-default-extensions defaults to (org-irc):

  emacs -batch -q -eval "(progn (setq debug-on-error t) (add-to-list (quote load-path) \".\") (add-to-list (quote load-path) \"/usr/local/share/emacs/site-lisp\") (require 'org))"
  Loading /usr/lib/emacs/21.3/i586-suse-linux/fns-21.3.1.el (source)...
  Debugger entered--Lisp error: (file-error "Cannot open load file" "erc")
    require(erc)
    eval-buffer(#<buffer  *load*> nil "org-irc" nil t)
    load-with-code-conversion("/home/aspiers/lib/emacs/major-modes/org-mode.git/org-irc.el" "org-irc" nil t)
    require(org-irc)
    mapc(require (org-irc))
    org-load-default-extensions()
    run-hooks(org-load-hook)
    byte-code("��!���!�" [provide org run-hooks org-load-hook] 2)
    require(org)
    (progn (setq debug-on-error t) (add-to-list (quote load-path) ".") (add-to-list (quote load-path) "/usr/local/share/emacs/site-lisp") (require (quote org)))
    eval((progn (setq debug-on-error t) (add-to-list (quote load-path) ".") (add-to-list (quote load-path) "/usr/local/share/emacs/site-lisp") (require (quote org))))
    command-line-1(("-eval" "(progn (setq debug-on-error t) (add-to-list (quote load-path) \".\") (add-to-list (quote load-path) \"/usr/local/share/emacs/site-lisp\") (require 'org))"))
    command-line()
    normal-top-level()

So it would be nice if it didn't default to (org-irc) for older emacsen.

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

* Re: Bug? Installing from git master
  2008-03-02 23:34                 ` Adam Spiers
@ 2008-03-03  0:13                   ` Bastien Guerry
  2008-03-03  8:13                     ` Carsten Dominik
  2008-03-03  9:17                     ` Phil Jackson
  0 siblings, 2 replies; 23+ messages in thread
From: Bastien Guerry @ 2008-03-03  0:13 UTC (permalink / raw)
  To: emacs-orgmode

Adam Spiers <orgmode@adamspiers.org> writes:

>> >  Is _everyone_ pulling from git in this room??
>
> :-)
>
>> I do.
>
> Me too.
>
>> `make' completes cleanly now.  Thanks.
>
> ... but only if you have erc installed (it's shipped with emacs 22 but
> not emacs 21):
>
> This is because org-default-extensions defaults to (org-irc):
>
> So it would be nice if it didn't default to (org-irc) for older
> emacsen.

I'd rather not load any module by default.  As far as I understand it,
the purpose of having `org-default-extensions' is precisely to let new
users have a simple and clean default install, with a simple facility to 
get new modules loaded -- but only if they explicitely require so.

BTW, maybe the name of the feature "org-irc" is a bit misleading: since
it's really about erc, and since Emacs also comes with rcirc.el, it
should either be called org-erc.el or support links to rcirc.el.

Phil, what do you think?

-- 
Bastien

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

* Re: Bug? Installing from git master
  2008-03-03  0:13                   ` Bastien Guerry
@ 2008-03-03  8:13                     ` Carsten Dominik
  2008-03-03  9:15                       ` Phil Jackson
  2008-03-03 10:34                       ` Bastien
  2008-03-03  9:17                     ` Phil Jackson
  1 sibling, 2 replies; 23+ messages in thread
From: Carsten Dominik @ 2008-03-03  8:13 UTC (permalink / raw)
  To: Bastien Guerry; +Cc: emacs-orgmode


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


On Mar 3, 2008, at 1:13 AM, Bastien Guerry wrote:

> Adam Spiers <orgmode@adamspiers.org> writes:
>
>>>> Is _everyone_ pulling from git in this room??
>>
>> :-)
>>
>>> I do.
>>
>> Me too.
>>
>>> `make' completes cleanly now.  Thanks.
>>
>> ... but only if you have erc installed (it's shipped with emacs 22  
>> but
>> not emacs 21):
>>
>> This is because org-default-extensions defaults to (org-irc):
>>
>> So it would be nice if it didn't default to (org-irc) for older
>> emacsen.
>
> I'd rather not load any module by default.  As far as I understand it,
> the purpose of having `org-default-extensions' is precisely to let new
> users have a simple and clean default install, with a simple  
> facility to
> get new modules loaded -- but only if they explicitely require so.

The idea of having default modules in this variables is this:
Eventually I would like to factor out ome parts of the current org.el
into there own files, in particular much of the link code can move to
such files.  However, I still want Org-mode to be feature-rich out of  
the
box, so I would load those factored-out modules from this variable,
plus offer optional modules for the user to select.

I did not realize that erc is not supported on all Emacs versions,
to we clearly need to cater for this.  Wither by taking it out
of that variable, of my making the require fail silently.
We could, for example, wrap the require into condition-case and only
pus out a message, not raise a signal.

- Carsten


>
>
> BTW, maybe the name of the feature "org-irc" is a bit misleading:  
> since
> it's really about erc, and since Emacs also comes with rcirc.el, it
> should either be called org-erc.el or support links to rcirc.el.
>
> Phil, what do you think?
>
> -- 
> Bastien


[-- Attachment #1.2: Type: text/html, Size: 4059 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Bug? Installing from git master
  2008-03-03  8:13                     ` Carsten Dominik
@ 2008-03-03  9:15                       ` Phil Jackson
  2008-03-03 10:34                       ` Bastien
  1 sibling, 0 replies; 23+ messages in thread
From: Phil Jackson @ 2008-03-03  9:15 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Bastien Guerry, emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> On Mar 3, 2008, at 1:13 AM, Bastien Guerry wrote:

> I did not realize that erc is not supported on all Emacs versions, to
> we clearly need to cater for this.  Wither by taking it out of that
> variable, of my making the require fail silently.  We could, for
> example, wrap the require into condition-case and only pus out a
> message, not raise a signal.

I meant to pick up on this but I was really busy over the weekend. What
about each module having a defun, something like `org-irc-load-check'
where the 'load-check' function is autoloaded and run by org before the
require to do a check on features, on non-nil the module is required?

Cheers,
Phil
-- 
 Phil Jackson
 http://www.shellarchive.co.uk

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

* Re: Bug? Installing from git master
  2008-03-03  0:13                   ` Bastien Guerry
  2008-03-03  8:13                     ` Carsten Dominik
@ 2008-03-03  9:17                     ` Phil Jackson
  2008-03-03 10:36                       ` Bastien
  1 sibling, 1 reply; 23+ messages in thread
From: Phil Jackson @ 2008-03-03  9:17 UTC (permalink / raw)
  To: Bastien Guerry; +Cc: emacs-orgmode

Bastien Guerry <Bastien.Guerry@ens.fr> writes:

> BTW, maybe the name of the feature "org-irc" is a bit misleading:
> since it's really about erc, and since Emacs also comes with rcirc.el,
> it should either be called org-erc.el or support links to rcirc.el.

It's somewhat extensible (through `org-irc-client') to support other IRC
clients (the link parsing is generic for instance).

Cheers,
Phil
-- 
 Phil Jackson
 http://www.shellarchive.co.uk

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

* Re: Bug? Installing from git master
  2008-02-29 21:27   ` Sebastian
@ 2008-03-03 10:33     ` Bastien
  2008-03-05  0:39       ` Sebastian
  0 siblings, 1 reply; 23+ messages in thread
From: Bastien @ 2008-03-03 10:33 UTC (permalink / raw)
  To: emacs-orgmode

Sebastian <sebastian_rose@gmx.de> writes:

> The only old error when exporting is this one (must be something wrong
> in my configuration):
> org-publish-update-timestamp: Setting file times: datei oder Verzeichnis
> nicht gefunden,
> /home/sebastian/.org-timestamps/_home_sebastian_develop_htdocs_fairprinter-gmbh_87.230.101.100.doc_Konfiguration-bind.org.timestamp

This should be fixed right now in the git repo.

-- 
Bastien

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

* Re: Bug? Installing from git master
  2008-03-03  8:13                     ` Carsten Dominik
  2008-03-03  9:15                       ` Phil Jackson
@ 2008-03-03 10:34                       ` Bastien
  2008-03-03 11:01                         ` Phil Jackson
  1 sibling, 1 reply; 23+ messages in thread
From: Bastien @ 2008-03-03 10:34 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> I did not realize that erc is not supported on all Emacs versions,
> to we clearly need to cater for this.  Wither by taking it out
> of that variable, of my making the require fail silently.
> We could, for example, wrap the require into condition-case and only
> pus out a message, not raise a signal.

I have pushed a commit taking this later route.

-- 
Bastien

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

* Re: Bug? Installing from git master
  2008-03-03  9:17                     ` Phil Jackson
@ 2008-03-03 10:36                       ` Bastien
  0 siblings, 0 replies; 23+ messages in thread
From: Bastien @ 2008-03-03 10:36 UTC (permalink / raw)
  To: emacs-orgmode

Phil Jackson <phil@shellarchive.co.uk> writes:

> Bastien Guerry <Bastien.Guerry@ens.fr> writes:
>
>> BTW, maybe the name of the feature "org-irc" is a bit misleading:
>> since it's really about erc, and since Emacs also comes with rcirc.el,
>> it should either be called org-erc.el or support links to rcirc.el.
>
> It's somewhat extensible (through `org-irc-client') to support other IRC
> clients (the link parsing is generic for instance).

Good!  I did not realize that.

-- 
Bastien

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

* Re: Bug? Installing from git master
  2008-03-03 10:34                       ` Bastien
@ 2008-03-03 11:01                         ` Phil Jackson
  0 siblings, 0 replies; 23+ messages in thread
From: Phil Jackson @ 2008-03-03 11:01 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

Bastien <bzg@altern.org> writes:

> Carsten Dominik <dominik@science.uva.nl> writes:
>
>> I did not realize that erc is not supported on all Emacs versions,
>> to we clearly need to cater for this.  Wither by taking it out
>> of that variable, of my making the require fail silently.
>> We could, for example, wrap the require into condition-case and only
>> pus out a message, not raise a signal.
>
> I have pushed a commit taking this later route.

Slow down... :)

As mentioned orc-irc is meant to be generic so it's still not quite
right. I sent an email to you and Carsten about having a loadablep (bad
name?)  function exposed by the module which would give it a chance to
do some requires and setting up too. Might be interesting to look at the
ERC code and check how they do it...

Here is my (rough) suggestion again:

--8<---------------cut here---------------start------------->8---
 (defun org-load-module (module-name)
   (let ((sym (intern (concat module-name "-loadablep"))))
     (if (fboundp sym)
         (when (funcall sym)
           (require (intern module-name)))
         (error "org modules must have a -loadablep defun."))))
--8<---------------cut here---------------end--------------->8---

Cheers,
Phil
-- 
 Phil Jackson
 http://www.shellarchive.co.uk

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

* Re: Bug? Installing from git master
  2008-03-03 10:33     ` Bastien
@ 2008-03-05  0:39       ` Sebastian
  0 siblings, 0 replies; 23+ messages in thread
From: Sebastian @ 2008-03-05  0:39 UTC (permalink / raw)
  To: emacs-orgmode

Bastien schrieb:
> Sebastian <sebastian_rose@gmx.de> writes:
>
>   
>> The only old error when exporting is this one (must be something wrong
>> in my configuration):
>> org-publish-update-timestamp: Setting file times: datei oder Verzeichnis
>> nicht gefunden,
>> /home/sebastian/.org-timestamps/..._Konfiguration-bind.org.timestamp
>>     
>
> This should be fixed right now in the git repo.
>
>   

Yes -- Thanks a lot!

Regards,
    Sebastian


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sebastian Rose             Fachinformatiker/Anwendendungsentwickler
Viktoriastaße 22
30451 Hannover             Entwicklung  von Internetanwendungen und
                           Programmen  mit  freien  Werkzeugen  und
                           Bibliotheken.
sebastian_rose@gmx.de      PHP, Java, C/C++,  Bash,  Perl,  Apache,
                           MySQL,  PostgreSQL, xt::commerce, Typo3,
+49 173 / 83 93 417        Server,  Netzwerk,  Desktop,  Datenbank.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

end of thread, other threads:[~2008-03-05  0:37 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-29 20:41 Bug? Installing from git master Sebastian
2008-02-29 20:44 ` Carsten Dominik
2008-02-29 21:11   ` Manish
2008-02-29 21:34     ` Carsten Dominik
2008-02-29 21:45       ` Manish
2008-02-29 22:09         ` Bastien
2008-02-29 22:30           ` Manish
2008-02-29 22:49             ` Bastien
2008-02-29 23:05               ` Manish
2008-02-29 23:12                 ` Bastien
2008-03-02 23:34                 ` Adam Spiers
2008-03-03  0:13                   ` Bastien Guerry
2008-03-03  8:13                     ` Carsten Dominik
2008-03-03  9:15                       ` Phil Jackson
2008-03-03 10:34                       ` Bastien
2008-03-03 11:01                         ` Phil Jackson
2008-03-03  9:17                     ` Phil Jackson
2008-03-03 10:36                       ` Bastien
2008-03-01  2:36               ` Bernt Hansen
2008-02-29 21:18   ` Sebastian
2008-02-29 21:27   ` Sebastian
2008-03-03 10:33     ` Bastien
2008-03-05  0:39       ` Sebastian

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