From: Mehul Sanghvi <mehul.sanghvi@gmail.com>
To: Sebastien Vauban <sva-news@mygooglest.com>
Cc: ML Emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: invalid byte-code error when publishing
Date: Wed, 21 Aug 2013 16:49:27 -0400 [thread overview]
Message-ID: <CAPo9-A85w+USXU6zf2r0EtQ3dhouCeKP1+iv5Ne45CuuGF8Wvw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1631 bytes --]
On Tue, Aug 20, 2013 at 9:48 AM, Sebastien Vauban
<sva-news@mygooglest.com>wrote:
> 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
>
>
>
This works now. I don't know why it was causing problems, but it worked
just fine in a new instance. I had done a org-reload rather than re-start
my emacs.
Thanks for your help.
cheers,
mehul
--
Mehul N. Sanghvi
email: mehul.sanghvi@gmail.com
[-- Attachment #2: Type: text/html, Size: 2931 bytes --]
next reply other threads:[~2013-08-21 20:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-21 20:49 Mehul Sanghvi [this message]
-- strict thread matches above, loose matches on Subject: below --
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
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=CAPo9-A85w+USXU6zf2r0EtQ3dhouCeKP1+iv5Ne45CuuGF8Wvw@mail.gmail.com \
--to=mehul.sanghvi@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=sva-news@mygooglest.com \
/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).