From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Garbs Subject: Re: [PATCH] ob-vala.el: Add Vala support to Babel Date: Sat, 5 Aug 2017 21:53:14 +0200 Message-ID: <20170805195312.srqvrch3ia3bnjqf@cgarbs.de> References: <87fudze7y4.fsf@nicolasgoaziou.fr> <1500061387-3353-1-git-send-email-mitch@cgarbs.de> <87379no75t.fsf@nicolasgoaziou.fr> <20170801212052.lc64vzvuluglctqq@cgarbs.de> <87ini7q721.fsf@nicolasgoaziou.fr> <20170802202404.lltnk4rs5mt7opgw@cgarbs.de> <87vam5kjsn.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1de58Z-0005kd-HU for emacs-orgmode@gnu.org; Sat, 05 Aug 2017 15:53:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1de58W-0000VP-Cp for emacs-orgmode@gnu.org; Sat, 05 Aug 2017 15:53:27 -0400 Received: from mail.shuttle.de ([194.95.249.4]:47513) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1de58W-0000UV-6I for emacs-orgmode@gnu.org; Sat, 05 Aug 2017 15:53:24 -0400 Received: from yggdrasil.mitch.h.shuttle.de (p2E5B41F3.dip0.t-ipconnect.de [46.91.65.243]) by mspool3.srv.dfn.de (Postfix) with ESMTPSA id 5FDF311AF for ; Sat, 5 Aug 2017 21:53:17 +0200 (CEST) Received: from mitch by yggdrasil.mitch.h.shuttle.de with local (Exim 4.89) (envelope-from ) id 1de58O-0006CX-8x for emacs-orgmode@gnu.org; Sat, 05 Aug 2017 21:53:16 +0200 Content-Disposition: inline In-Reply-To: <87vam5kjsn.fsf@nicolasgoaziou.fr> 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@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hi! On Thu, Aug 03, 2017 at 12:49:44PM +0200, Nicolas Goaziou wrote: > Christian Garbs 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)