Re: [O] Updating Worg re standard source block syntax

2011-12-15 Thread Bastien
Hi Martyn,

Martyn Jago  writes:

> There are literally hundreds of uses of #+srcname and #+source within
> Worg - should I be updating these to #+name ? In other words, does Worg
> reflect the last official release (the Emacs release), or the bleeding
> edge (I tend to assume the latter because of the Org community spirit of
> Worg), but I fail to find any specific notice regarding this.

I saw you updated Worg wrt this.

Thanks a lot for this!

-- 
 Bastien



Re: [O] Updating Worg re standard source block syntax

2011-11-30 Thread Jason Dunsmore
On Wed, Nov 23 2011, Sebastien Vauban wrote:

> Hi Nick,
>
> Nick Dokos wrote:
>> Martyn Jago  wrote:
>>
>>> There are literally hundreds of uses of #+srcname and #+source within
>>> Worg - should I be updating these to #+name ? In other words, does Worg
>>> reflect the last official release (the Emacs release), or the bleeding
>>> edge (I tend to assume the latter because of the Org community spirit of
>>> Worg), but I fail to find any specific notice regarding this.
>>> 
>>> Advice would be appreciated since I've found myself appreciating, and
>>> adding to Worg more and more - and it seems to me it is a real quality of
>>> Org that Worg can exist in the first place.
>>> 
>>
>> Is there any way to find out what the org version is at the worg site?
>> This is something that I've wondered about in the past, but I keep
>> forgetting to ask the question. E.g. it would be good to know the
>> version, so when I make a change to worg content and test the change by
>> publishing the site locally, I can use the exact version that is going
>> to be used on the real site. Right now, I test with whatever version is
>> running on my machine, which can lead to false conclusions (both positive
>> and negative).
>
> IIUC, the answer is no. But the best place for such information should be in
> the output log of the publish process, that is at
> http://orgmode.org/worg/publishing.txt
>
> Adding
>
> (message "Org-mode %s on Emacs %s." org-version emacs-version)

I added this to the new worg publishing process.  Here's an example of
what the first few lines of output will look like:

--8<---cut here---start->8---
worg publish process 5432 started at 11/30/11@10:01:48
Loading /home/emacs/.emacs.el (source)...
Loading /home/emacs/.emacs-custom.el (source)...
Org-mode 7.7 on Emacs 23.2.1.
Loading /home/emacs/.org-timestamps/worg-org-faq.cache...
Loading vc-git...
Skipping unmodified file /home/emacs/git/worg/org-faq.org
[...]
--8<---cut here---end--->8---

I'll send an email to the list soon about the new worg setup.

Regards,
Jason



Re: [O] Updating Worg re standard source block syntax

2011-11-23 Thread Sebastien Vauban
Hi Nick,

Nick Dokos wrote:
> Sebastien Vauban  wrote:
>>> Is there any way to find out what the org version is at the worg site?
>>
>> BTW, sorry, yes, the answer is yes: see section "What software is available 
>> on
>> Worg for Babel code execution?" on http://orgmode.org/worg/worg-setup.html.
>> But one can wonder if it's up-to-date. That's why adding it as proposed 
>> should
>> be done anyway.
>
> Actually, that tells various versions, but not the org version

Indeed, I was too enthusiast too quickly.

> - so here's another vote for including the current versions in the
> publishing output.

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] Updating Worg re standard source block syntax

2011-11-23 Thread Nick Dokos
Sebastien Vauban  wrote:

> >
> > Is there any way to find out what the org version is at the worg site?
> 
> BTW, sorry, yes, the answer is yes: see section "What software is available on
> Worg for Babel code execution?" on http://orgmode.org/worg/worg-setup.html.
> But one can wonder if it's up-to-date. That's why adding it as proposed should
> be done anyway.
> 

Actually, that tells various versions, but not the org version - so here's
another vote for including the current versions in the publishing output.

Thanks,
Nick



Re: [O] Updating Worg re standard source block syntax

2011-11-23 Thread Sebastien Vauban
Hi Nick,

Nick Dokos wrote:
> Martyn Jago  wrote:
>
>> There are literally hundreds of uses of #+srcname and #+source within
>> Worg - should I be updating these to #+name ? In other words, does Worg
>> reflect the last official release (the Emacs release), or the bleeding
>> edge (I tend to assume the latter because of the Org community spirit of
>> Worg), but I fail to find any specific notice regarding this.
>> 
>> Advice would be appreciated since I've found myself appreciating, and
>> adding to Worg more and more - and it seems to me it is a real quality of
>> Org that Worg can exist in the first place.
>> 
>
> Is there any way to find out what the org version is at the worg site?
> This is something that I've wondered about in the past, but I keep
> forgetting to ask the question. E.g. it would be good to know the
> version, so when I make a change to worg content and test the change by
> publishing the site locally, I can use the exact version that is going
> to be used on the real site. Right now, I test with whatever version is
> running on my machine, which can lead to false conclusions (both positive
> and negative).

IIUC, the answer is no. But the best place for such information should be in
the output log of the publish process, that is at
http://orgmode.org/worg/publishing.txt

Adding

(message "Org-mode %s on Emacs %s." org-version emacs-version)

-- or something alike -- in http://orgmode.org/worg/sources/emacs.el should do
it.

BTW, sorry, yes, the answer is yes: see section "What software is available on
Worg for Babel code execution?" on http://orgmode.org/worg/worg-setup.html.
But one can wonder if it's up-to-date. That's why adding it as proposed should
be done anyway.

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] Updating Worg re standard source block syntax

2011-11-22 Thread Nick Dokos
Martyn Jago  wrote:

> There are literally hundreds of uses of #+srcname and #+source within
> Worg - should I be updating these to #+name ? In other words, does Worg
> reflect the last official release (the Emacs release), or the bleeding
> edge (I tend to assume the latter because of the Org community spirit of
> Worg), but I fail to find any specific notice regarding this.
> 
> Advice would be appreciated since I've found myself appreciating, and
> adding to Worg more and more - and it seems to me it is a real quality of
> Org that Worg can exist in the first place.
> 

Is there any way to find out what the org version is at the worg site?
This is something that I've wondered about in the past, but I keep
forgetting to ask the question. E.g. it would be good to know the
version, so when I make a change to worg content and test the change by
publishing the site locally, I can use the exact version that is going
to be used on the real site. Right now, I test with whatever version is
running on my machine, which can lead to false conclusions (both positive
and negative).

Nick





Re: [O] Updating Worg re standard source block syntax

2011-11-22 Thread Nick Dokos
Martyn Jago  wrote:

> Hi
> 
> There are literally hundreds of uses of #+srcname and #+source within
> Worg - should I be updating these to #+name ? In other words, does Worg
> reflect the last official release (the Emacs release), or the bleeding
> edge (I tend to assume the latter because of the Org community spirit of
> Worg), but I fail to find any specific notice regarding this.
> 
> Advice would be appreciated since I've found myself appreciating, and
> adding to Worg more and more - and it seems to me it is a real quality of
> Org that Worg can exist in the first place.
> 

I think it needs to be coordinated: the change in the content must go in
at the same time as org-mode is updated on the site.

Nick



[O] Updating Worg re standard source block syntax

2011-11-22 Thread Martyn Jago
Hi

There are literally hundreds of uses of #+srcname and #+source within
Worg - should I be updating these to #+name ? In other words, does Worg
reflect the last official release (the Emacs release), or the bleeding
edge (I tend to assume the latter because of the Org community spirit of
Worg), but I fail to find any specific notice regarding this.

Advice would be appreciated since I've found myself appreciating, and
adding to Worg more and more - and it seems to me it is a real quality of
Org that Worg can exist in the first place.

Best, Martyn