On Tue, Aug 20, 2013 at 4:20 AM, Sebastien Vauban
<sva-n...@mygooglest.com>wrote:

> Mehul Sanghvi,
>
> Mehul Sanghvi wrote:
> >> Mehul Sanghvi wrote:
> >> > The error only occurs if I'm using org-babl.  The offending piece of
> code
> >> > I've got is:
> >> >
> >> > #+BEGIN_SRC emacs-lisp
> >> > (setq tramp-default-method "ssh")
> >> > #+END_SRC
> >> >
> >> > If I remove the #+BEGIN_SRC and #+END_SRC than everything works fine
> and
> >> > I'm able to publish.
> >>
> >> Would this fix it?
> >>
> >>   #+BEGIN_SRC emacs-lisp :eval no
> >>   (setq tramp-default-method "ssh")
> >>   #+END_SRC
> >
> >        Thanks for the suggestion.  That does not fix the problem.  I
> still
> > get the same error as before.
>
> Check out the value of:
>
> - `org-babel-default-header-args', and
> - `org-babel-default-header-args:emacs-lisp'.
>
> And try whether `:eval query' makes a difference (when answering yes, and
> when
> answering no)?
>
>
Using 'C-h v' I get the following:

org-babel-default-header-args is a variable defined in `ob-core.el'.


Its value is ((:session . "none")


 (:results . "replace")


 (:exports . "code")


 (:cache . "no")


 (:noweb . "no")


 (:hlines . "no")


 (:tangle . "no")


 (:padnewline . "yes"))


org-babel-default-header-args:emacs-lisp is a variable defined in
`ob-emacs-lisp.el'.

Its value is ((:hlines . "yes")


 (:colnames . "no"))




Using ':eval query' does not make a difference.   It does not prompt for
yes or no.

cheers,

     mehul

-- 
Mehul N. Sanghvi
email: mehul.sang...@gmail.com

Reply via email to