emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Publishing problem on Worg due to babel intro
@ 2011-08-11 14:41 Christian Egli
  2011-08-11 16:22 ` Thomas S. Dye
  0 siblings, 1 reply; 8+ messages in thread
From: Christian Egli @ 2011-08-11 14:41 UTC (permalink / raw)
  To: emacs-orgmode

Hi all

I enhanced the taskjuggler tutorial on worg. However the fix is not
published as there is a problem with the intro page for Babel[1] (see
also the publishing report[2]). The page also fails if I try to publish
it locally with the following error message:

mapc: Wrong type argument: consp, nil

I don't understand where the problem is with this page but I'd
appreciate if any of the authors (Eric, Dan, Tom) or anyone else could
look into it.

Thanks
Christian

Footnotes: 
[1]  http://orgmode.org/worg/org-contrib/babel/intro.html
[2]  http://orgmode.org/worg/publishing.txt
-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland

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

* Re: Publishing problem on Worg due to babel intro
  2011-08-11 14:41 Publishing problem on Worg due to babel intro Christian Egli
@ 2011-08-11 16:22 ` Thomas S. Dye
  2011-08-19 13:22   ` Eric Schulte
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas S. Dye @ 2011-08-11 16:22 UTC (permalink / raw)
  To: Christian Egli; +Cc: emacs-orgmode

Christian Egli <christian.egli@sbs.ch> writes:

> Hi all
>
> I enhanced the taskjuggler tutorial on worg. However the fix is not
> published as there is a problem with the intro page for Babel[1] (see
> also the publishing report[2]). The page also fails if I try to publish
> it locally with the following error message:
>
> mapc: Wrong type argument: consp, nil
>
> I don't understand where the problem is with this page but I'd
> appreciate if any of the authors (Eric, Dan, Tom) or anyone else could
> look into it.
>
> Thanks
> Christian
>
> Footnotes: 
> [1]  http://orgmode.org/worg/org-contrib/babel/intro.html
> [2]  http://orgmode.org/worg/publishing.txt

Yes, something is wrong here.

Pressing C-c C-c on this line raises the error:

#+call: square(x=6)

If I change the square source block from: 

#+srcname: square(x)
#+begin_src python
  return x*x
#+end_src

to:

#+srcname: square(x=1)
#+begin_src python
  return x*x
#+end_src

then the error goes away, but it is raised later in the export,
presumably on another code block.

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

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

* Re: Publishing problem on Worg due to babel intro
  2011-08-11 16:22 ` Thomas S. Dye
@ 2011-08-19 13:22   ` Eric Schulte
  2011-08-19 15:13     ` Christian Egli
  2011-08-19 16:42     ` [PATCH] " Thomas S. Dye
  0 siblings, 2 replies; 8+ messages in thread
From: Eric Schulte @ 2011-08-19 13:22 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: emacs-orgmode, Christian Egli

tsd@tsdye.com (Thomas S. Dye) writes:

> Christian Egli <christian.egli@sbs.ch> writes:
>
>> Hi all
>>
>> I enhanced the taskjuggler tutorial on worg. However the fix is not
>> published as there is a problem with the intro page for Babel[1] (see
>> also the publishing report[2]). The page also fails if I try to publish
>> it locally with the following error message:
>>
>> mapc: Wrong type argument: consp, nil
>>
>> I don't understand where the problem is with this page but I'd
>> appreciate if any of the authors (Eric, Dan, Tom) or anyone else could
>> look into it.
>>
>> Thanks
>> Christian
>>
>> Footnotes: 
>> [1]  http://orgmode.org/worg/org-contrib/babel/intro.html
>> [2]  http://orgmode.org/worg/publishing.txt
>
> Yes, something is wrong here.
>
> Pressing C-c C-c on this line raises the error:
>
> #+call: square(x=6)
>
> If I change the square source block from: 
>
> #+srcname: square(x)
> #+begin_src python
>   return x*x
> #+end_src
>
> to:
>
> #+srcname: square(x=1)
> #+begin_src python
>   return x*x
> #+end_src
>
> then the error goes away, but it is raised later in the export,
> presumably on another code block.
>

When writing a code block *all* variables require a default value.  I've
added default values to all of the variables in this file and it now
exports as expected.

Cheers -- Eric

>
> hth,
> Tom

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

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

* Re: Publishing problem on Worg due to babel intro
  2011-08-19 13:22   ` Eric Schulte
@ 2011-08-19 15:13     ` Christian Egli
  2011-08-19 16:16       ` Eric Schulte
  2011-08-19 16:42     ` [PATCH] " Thomas S. Dye
  1 sibling, 1 reply; 8+ messages in thread
From: Christian Egli @ 2011-08-19 15:13 UTC (permalink / raw)
  To: Eric Schulte; +Cc: emacs-orgmode

Eric Schulte <schulte.eric@gmail.com> writes:

> When writing a code block *all* variables require a default value.  I've
> added default values to all of the variables in this file and it now
> exports as expected.

In the mean time I moved the intro to the FIXME directory so that my
stuff would be published on worg. Now that the intro exports do you want
me to move it back to where it belongs?

Thanks
Christian

-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland

-----
Viel Neues fuer Hoerspiel-Fans: Eine aktuelle Uebersicht des Angebots bei der SBS finden Sie unter http://www.sbs.ch/hoerspiele .

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

* Re: Publishing problem on Worg due to babel intro
  2011-08-19 15:13     ` Christian Egli
@ 2011-08-19 16:16       ` Eric Schulte
  2011-08-22  7:22         ` Christian Egli
  0 siblings, 1 reply; 8+ messages in thread
From: Eric Schulte @ 2011-08-19 16:16 UTC (permalink / raw)
  To: Christian Egli; +Cc: emacs-orgmode

Christian Egli <christian.egli@sbs.ch> writes:

> Eric Schulte <schulte.eric@gmail.com> writes:
>
>> When writing a code block *all* variables require a default value.  I've
>> added default values to all of the variables in this file and it now
>> exports as expected.
>
> In the mean time I moved the intro to the FIXME directory so that my
> stuff would be published on worg. Now that the intro exports do you want
> me to move it back to where it belongs?
>

Yes, that would be great.  Thanks -- Eric

>
> Thanks
> Christian

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

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

* [PATCH] Re:  Publishing problem on Worg due to babel intro
  2011-08-19 13:22   ` Eric Schulte
  2011-08-19 15:13     ` Christian Egli
@ 2011-08-19 16:42     ` Thomas S. Dye
  2011-08-19 16:45       ` Eric Schulte
  1 sibling, 1 reply; 8+ messages in thread
From: Thomas S. Dye @ 2011-08-19 16:42 UTC (permalink / raw)
  To: Eric Schulte; +Cc: emacs-orgmode, Christian Egli

[-- Attachment #1: Type: text/plain, Size: 61 bytes --]

Adds a line to the manual specifying this requirement.

Tom


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Patch for manual --]
[-- Type: text/x-patch, Size: 1074 bytes --]

From 5ee660db5f5f4fbaac13ac3787c6e4bca3d2abeb Mon Sep 17 00:00:00 2001
From: Tom Dye <tsd@tsdye.com>
Date: Fri, 19 Aug 2011 06:27:11 -1000
Subject: [PATCH] * doc/org.texi: :var requires default value when declared

---
 doc/org.texi |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index f7ac82e..f0a363b 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -12200,7 +12200,8 @@ these are addressed in the language-specific documentation.  However, the
 syntax used to specify arguments is the same across all languages.  The
 values passed to arguments can be literal values, values from org-mode tables
 and literal example blocks, the results of other code blocks, or Emacs Lisp
-code---see the ``Emacs Lisp evaluation of variables'' heading below.
+code---see the ``Emacs Lisp evaluation of variables'' heading below.  In
+every case, variables require a default value when they are declared.
 
 These values can be indexed in a manner similar to arrays---see the
 ``indexable variable values'' heading below.
-- 
1.7.1


[-- Attachment #3: Type: text/plain, Size: 1491 bytes --]


Eric Schulte <schulte.eric@gmail.com> writes:

> tsd@tsdye.com (Thomas S. Dye) writes:
>
>> Christian Egli <christian.egli@sbs.ch> writes:
>>
>>> Hi all
>>>
>>> I enhanced the taskjuggler tutorial on worg. However the fix is not
>>> published as there is a problem with the intro page for Babel[1] (see
>>> also the publishing report[2]). The page also fails if I try to publish
>>> it locally with the following error message:
>>>
>>> mapc: Wrong type argument: consp, nil
>>>
>>> I don't understand where the problem is with this page but I'd
>>> appreciate if any of the authors (Eric, Dan, Tom) or anyone else could
>>> look into it.
>>>
>>> Thanks
>>> Christian
>>>
>>> Footnotes: 
>>> [1]  http://orgmode.org/worg/org-contrib/babel/intro.html
>>> [2]  http://orgmode.org/worg/publishing.txt
>>
>> Yes, something is wrong here.
>>
>> Pressing C-c C-c on this line raises the error:
>>
>> #+call: square(x=6)
>>
>> If I change the square source block from: 
>>
>> #+srcname: square(x)
>> #+begin_src python
>>   return x*x
>> #+end_src
>>
>> to:
>>
>> #+srcname: square(x=1)
>> #+begin_src python
>>   return x*x
>> #+end_src
>>
>> then the error goes away, but it is raised later in the export,
>> presumably on another code block.
>>
>
> When writing a code block *all* variables require a default value.  I've
> added default values to all of the variables in this file and it now
> exports as expected.
>
> Cheers -- Eric
>
>>
>> hth,
>> Tom

-- 
Thomas S. Dye
http://www.tsdye.com

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

* Re: [PATCH] Re:  Publishing problem on Worg due to babel intro
  2011-08-19 16:42     ` [PATCH] " Thomas S. Dye
@ 2011-08-19 16:45       ` Eric Schulte
  0 siblings, 0 replies; 8+ messages in thread
From: Eric Schulte @ 2011-08-19 16:45 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: emacs-orgmode, Christian Egli

Applied, Thanks -- Eric

tsd@tsdye.com (Thomas S. Dye) writes:

> Adds a line to the manual specifying this requirement.
>
> Tom
>
> From 5ee660db5f5f4fbaac13ac3787c6e4bca3d2abeb Mon Sep 17 00:00:00 2001
> From: Tom Dye <tsd@tsdye.com>
> Date: Fri, 19 Aug 2011 06:27:11 -1000
> Subject: [PATCH] * doc/org.texi: :var requires default value when declared
>
> ---
>  doc/org.texi |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/doc/org.texi b/doc/org.texi
> index f7ac82e..f0a363b 100644
> --- a/doc/org.texi
> +++ b/doc/org.texi
> @@ -12200,7 +12200,8 @@ these are addressed in the language-specific documentation.  However, the
>  syntax used to specify arguments is the same across all languages.  The
>  values passed to arguments can be literal values, values from org-mode tables
>  and literal example blocks, the results of other code blocks, or Emacs Lisp
> -code---see the ``Emacs Lisp evaluation of variables'' heading below.
> +code---see the ``Emacs Lisp evaluation of variables'' heading below.  In
> +every case, variables require a default value when they are declared.
>  
>  These values can be indexed in a manner similar to arrays---see the
>  ``indexable variable values'' heading below.
> -- 
> 1.7.1
>
>
> Eric Schulte <schulte.eric@gmail.com> writes:
>
>> tsd@tsdye.com (Thomas S. Dye) writes:
>>
>>> Christian Egli <christian.egli@sbs.ch> writes:
>>>
>>>> Hi all
>>>>
>>>> I enhanced the taskjuggler tutorial on worg. However the fix is not
>>>> published as there is a problem with the intro page for Babel[1] (see
>>>> also the publishing report[2]). The page also fails if I try to publish
>>>> it locally with the following error message:
>>>>
>>>> mapc: Wrong type argument: consp, nil
>>>>
>>>> I don't understand where the problem is with this page but I'd
>>>> appreciate if any of the authors (Eric, Dan, Tom) or anyone else could
>>>> look into it.
>>>>
>>>> Thanks
>>>> Christian
>>>>
>>>> Footnotes: 
>>>> [1]  http://orgmode.org/worg/org-contrib/babel/intro.html
>>>> [2]  http://orgmode.org/worg/publishing.txt
>>>
>>> Yes, something is wrong here.
>>>
>>> Pressing C-c C-c on this line raises the error:
>>>
>>> #+call: square(x=6)
>>>
>>> If I change the square source block from: 
>>>
>>> #+srcname: square(x)
>>> #+begin_src python
>>>   return x*x
>>> #+end_src
>>>
>>> to:
>>>
>>> #+srcname: square(x=1)
>>> #+begin_src python
>>>   return x*x
>>> #+end_src
>>>
>>> then the error goes away, but it is raised later in the export,
>>> presumably on another code block.
>>>
>>
>> When writing a code block *all* variables require a default value.  I've
>> added default values to all of the variables in this file and it now
>> exports as expected.
>>
>> Cheers -- Eric
>>
>>>
>>> hth,
>>> Tom

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

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

* Re: Publishing problem on Worg due to babel intro
  2011-08-19 16:16       ` Eric Schulte
@ 2011-08-22  7:22         ` Christian Egli
  0 siblings, 0 replies; 8+ messages in thread
From: Christian Egli @ 2011-08-22  7:22 UTC (permalink / raw)
  To: Eric Schulte; +Cc: emacs-orgmode

Eric Schulte <schulte.eric@gmail.com> writes:

> Christian Egli <christian.egli@sbs.ch> writes:
>> In the mean time I moved the intro to the FIXME directory so that my
>> stuff would be published on worg. Now that the intro exports do you want
>> me to move it back to where it belongs?
>
> Yes, that would be great.  Thanks -- Eric

Done.
Thanks

-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland

-----
Viel Neues fuer Hoerspiel-Fans: Eine aktuelle Uebersicht des Angebots bei der SBS finden Sie unter http://www.sbs.ch/hoerspiele .

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

end of thread, other threads:[~2011-08-22  7:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-11 14:41 Publishing problem on Worg due to babel intro Christian Egli
2011-08-11 16:22 ` Thomas S. Dye
2011-08-19 13:22   ` Eric Schulte
2011-08-19 15:13     ` Christian Egli
2011-08-19 16:16       ` Eric Schulte
2011-08-22  7:22         ` Christian Egli
2011-08-19 16:42     ` [PATCH] " Thomas S. Dye
2011-08-19 16:45       ` Eric Schulte

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