emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: invalid byte-code error when publishing
Date: Tue, 20 Aug 2013 15:48:03 +0200	[thread overview]
Message-ID: <86d2p8fp7w.fsf@somewhere.org> (raw)
In-Reply-To: CAPo9-A8Ntuux+PmEoH42YHw7YB3F8Uz5_4TTmH9fVbffqf-6Mw@mail.gmail.com

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

  reply	other threads:[~2013-08-20 13:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-19  3:43 invalid byte-code error when publishing Mehul Sanghvi
2013-08-19 13:19 ` Mehul Sanghvi
2013-08-19 14:06   ` Sebastien Vauban
2013-08-19 15:22     ` Mehul Sanghvi
2013-08-20  8:20       ` Sebastien Vauban
2013-08-20 12:51         ` Mehul Sanghvi
2013-08-20 13:48           ` Sebastien Vauban [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-08-21 20:49 Mehul Sanghvi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86d2p8fp7w.fsf@somewhere.org \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).