emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Garbs <mitch@cgarbs.de>
To: emacs-orgmode@gnu.org
Subject: Re: [PATCH] ob-vala.el: Add Vala support to Babel
Date: Sat, 5 Aug 2017 21:53:14 +0200	[thread overview]
Message-ID: <20170805195312.srqvrch3ia3bnjqf@cgarbs.de> (raw)
In-Reply-To: <87vam5kjsn.fsf@nicolasgoaziou.fr>

Hi!

On Thu, Aug 03, 2017 at 12:49:44PM +0200, Nicolas Goaziou wrote:
> Christian Garbs <mitch@cgarbs.de> writes:

> > Regarding the lexical-binding:  How can I check if byte-compiling is
> > successful?
> 
> M-x emacs-lisp-byte-compile

Byte-compiling works and gave me 5 warnings about unused variables and
arguments which I could fix in different ways.

Currently I run into a problem with the test case:  I have created an
org file containing some Vala code and an .el file with some tests,
but the dependency check at the top of the test always fails:

| (unless (featurep 'ob-vala)
|   (signal 'missing-test-dependency "Support for Vala code blocks"))

Removing the test results in errors.

When I replace those two lines with

| (require 'ob-vala)

the tests run as expected, eg. they fail when I deliberately provoke
an error and succeed otherwise.

I think this is a dependency or build problem, but I don't know what
exactly goes wrong or how to fix it.  I have searched the whole source
for 'ob-C and 'ob-fortran to see how those tests and modules differ
from 'ob-vala, but this yielded no result.

My guess: It is something totally basic and trivial.
Any ideas?

Regards
Christian
-- 
....Christian.Garbs....................................https://www.cgarbs.de

To iterate is human, to recurse divine.  (L. Peter Deutsch)

  reply	other threads:[~2017-08-05 19:53 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-09 20:09 Babel support for Vala Christian Garbs
2017-07-10  9:03 ` Nicolas Goaziou
2017-07-10 17:54   ` Christian Garbs
2017-07-11  8:10     ` Nicolas Goaziou
2017-07-13 21:42       ` Christian Garbs
2017-07-14  8:30         ` Nicolas Goaziou
2017-07-14 19:43           ` [PATCH] ob-vala.el: Add Vala support to Babel Christian Garbs
2017-07-23  9:05             ` Nicolas Goaziou
2017-07-31 22:04               ` [PATCH v2] " Christian Garbs
2017-08-01 21:59                 ` Nicolas Goaziou
2017-07-31 22:04                   ` [PATCH v3] " Christian Garbs
2017-08-07  9:41                     ` Nicolas Goaziou
2017-08-01 21:20               ` [PATCH] " Christian Garbs
2017-08-01 22:03                 ` Nicolas Goaziou
2017-08-02 20:24                   ` Christian Garbs
2017-08-03 10:49                     ` Nicolas Goaziou
2017-08-05 19:53                       ` Christian Garbs [this message]
2017-08-06  0:22                         ` Nicolas Goaziou
2017-08-06 10:06                           ` Christian Garbs
2017-08-07  9:52                             ` Nicolas Goaziou

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=20170805195312.srqvrch3ia3bnjqf@cgarbs.de \
    --to=mitch@cgarbs.de \
    --cc=emacs-orgmode@gnu.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).