From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UM0ULS8D0V7yeQAA0tVLHw (envelope-from ) for ; Fri, 29 May 2020 12:42:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SK7lKC8D0V4NcQAA1q6Kng (envelope-from ) for ; Fri, 29 May 2020 12:42:23 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 28E11940145 for ; Fri, 29 May 2020 12:42:23 +0000 (UTC) Received: from localhost ([::1]:40270 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jeeL6-0003HU-It for larch@yhetil.org; Fri, 29 May 2020 08:42:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jeeKk-0003DL-6F for emacs-orgmode@gnu.org; Fri, 29 May 2020 08:41:58 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:37365) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jeeKj-0007jN-CE; Fri, 29 May 2020 08:41:57 -0400 Received: by mail-wr1-x429.google.com with SMTP id x13so3414815wrv.4; Fri, 29 May 2020 05:41:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=6Ajwuf5zCEsQyAHq/hk+bUBEsDNqyKYL6Zzg2XXYsqo=; b=opm4SKPhDdqPwA2yvvFObwfIBnW+iUmLL1Fgy+cpAfmG8vs+7rfaRM95SYMw0+EcIX qXFbukPcEpefJN9lVvJjiizkVVRWJmXusaYtLIDtYfOrR9NjXoDWaZLfclimv85L/2wA PszNWIW/jec7ml3cP5EbfG3UXZYwUXQGXgnnYt4wkG0xKuu0U7S5MbLZFMCJgwf+z2iJ BLBieWRENmWChmoSgK8rqj2bpAfb3Jwx9SofHCbg6He94oDq1XJs9+voZr1sh1Tzxf2w LHhMQvCqZPXGNsJZqSv21mKR+UHYDZaJIh/FpZr86CNZQbXfaBk+XMy/I7qHsk9EXIFM BEIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=6Ajwuf5zCEsQyAHq/hk+bUBEsDNqyKYL6Zzg2XXYsqo=; b=WwVXnRBeVkbZ+2FzWZHrugPNBQVNOrCU8pfBOZmuMbOYg2L9/pdJqCxCZZ0n7mQ3Bh XS5CJHyM4C+q1DW3ywBm+jDIYbaG9h/8mcFTqXZ6HoyCfzMg9h8J3eWh8LEq1J3uUhw6 crFBujZXFPTSE3otjzB2ITzofJocJb/iCw1vFIzRPM586ejuzIFQD2nWsMrmj5430+uj kC8oHuA0DyJRQDgnxZM5WHAD0QfHuj58WIL9aHgowGMWDVlL+9d/KbwncXYr47UaxevX L8nlcwEv2dNIeJpXbp8O8TxC6372gbH8WfZ67s48pU9h6qtd3tcw777G0BamdBYjD72C WCLw== X-Gm-Message-State: AOAM530O9br3+u4gJbdmZa1W9NWCzvnyS+Do0eFHoQpcGKVCorTMI6PE Ed6Y+yYmYU1vLMth/kxESjL7NWOqogQ= X-Google-Smtp-Source: ABdhPJwRBe7P9+JvsTErwSEHr/YOVvBBBPblVkPX5Bcn5nro4W/rOTojQtUGxCtiEiV4Y/SBYf7IiQ== X-Received: by 2002:a5d:4282:: with SMTP id k2mr8322506wrq.196.1590756115349; Fri, 29 May 2020 05:41:55 -0700 (PDT) Received: from klegouguec-HP-ProBook-450-G1 (200.143.13.109.rev.sfr.net. [109.13.143.200]) by smtp.gmail.com with ESMTPSA id 40sm10311697wrc.15.2020.05.29.05.41.54 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 May 2020 05:41:54 -0700 (PDT) From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= To: Kyle Meyer Subject: Failing tests (was: Possible fix for :includes header argument in org-babel C source blocks) References: <87wo4vv4mt.fsf@kyleam.com> Date: Fri, 29 May 2020 14:41:53 +0200 In-Reply-To: <87wo4vv4mt.fsf@kyleam.com> (Kyle Meyer's message of "Fri, 29 May 2020 02:47:38 +0000") Message-ID: <87imgevrou.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=kevin.legouguec@gmail.com; helo=mail-wr1-x429.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bastien , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=opm4SKPh; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.21 X-TUID: 6bb+ncQXtYtM Kyle Meyer writes: > The source for that page is in the worg repo: > https://code.orgmode.org/bzg/worg/src/master/org-contrib/babel/languages/ob-doc-C.org Thanks for the pointer, and for applying the patches! >>> FAILED ob-tangle/jump-to-org >>> FAILED test-org-attach/dir > > :( > > After your first patch, all tests now pass on my end. Would you mind > posting the details of those failures in a new thread? Mmm, on further inspection, those tests fail on one of my setups but pass on another. I think I've narrowed this down to org-open-file running "less examples/att1/fileA" instead of visiting this file. The following snippet returns "less '%s'" on the failing setup, and nil on the passing one: #+begin_src elisp (mailcap-mime-info (mailcap-extension-to-mime "")) #+end_src IIUC this comes from /etc/mailcap; the failing setup (Xubuntu 18.04) has an entry saying "less '%s'" for "text/plain"; the passing setup (OpenSUSE Tumbleweed) simply has no /etc/mailcap. mailcap-mime-info falls back to "text/plain" when mailcap-extension-to-mime returns nil. Let-binding org-file-apps to '(("." . emacs)) makes the tests pass, but I don't know if that's the way we want to solve this.