From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: invalid byte-code error when publishing Date: Tue, 20 Aug 2013 15:48:03 +0200 Message-ID: <86d2p8fp7w.fsf@somewhere.org> References: <86k3jhojvm.fsf@somewhere.org> <86ioz0kc36.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Mehul Sanghvi wrote: > Sebastien Vauban wrote: >> 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 ':eval query' does not make a difference. It does not prompt for yes > or no. Then, there are now 2 things I don't understand: - why it does not query you for eval? - why that code gets you in troubles? I'm out of ideas here... Try with an ECM, or with emacs -Q? Best regards, Seb -- Sebastien Vauban