From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6OdVKgNHwmHSewEAgWs5BA (envelope-from ) for ; Tue, 21 Dec 2021 22:28:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SCDlJQNHwmF1DQAAbx9fmQ (envelope-from ) for ; Tue, 21 Dec 2021 21:28:35 +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 635BC81C9 for ; Tue, 21 Dec 2021 22:28:35 +0100 (CET) Received: from localhost ([::1]:50198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzmgU-0003Fk-FU for larch@yhetil.org; Tue, 21 Dec 2021 16:28:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzmeL-0001tj-8V for emacs-orgmode@gnu.org; Tue, 21 Dec 2021 16:26:21 -0500 Received: from [2a00:1450:4864:20::534] (port=37498 helo=mail-ed1-x534.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzmeJ-0000hE-T0 for emacs-orgmode@gnu.org; Tue, 21 Dec 2021 16:26:20 -0500 Received: by mail-ed1-x534.google.com with SMTP id o6so385471edc.4 for ; Tue, 21 Dec 2021 13:26:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=MgqjX9yKK8pZbIOUl/uZiuoMp1EYuTEWA08OCUiaYMU=; b=pzZWNT1pLXD2PTaKVPUpaNUI0VRQN2ppHzCkVbE/rlJrT74xq00z9t8/zoMsAkczVv fiPE4oB9Z+I0zxsoLDBnySgDuAquSvdvBUpLobnvR2Rf+X5cc25KruVWtnCEPH/6RLSa YvMw5+kiOlm0N6CaR2WB8bT5c6CN0kSmXochTTBfigEG5GQZhJrUX8IHlf8tH2NgRJS0 GhQZk5wL66tPF6st1LsXkJAmzuff/84KkqXrbrmw+VXvxUm1Vr/TkLQl5LLmEtw/k1vf IDNDlb5MG66hV+sG4t2HM0+D1Fqob+8aB3x48TXYaFAfiM4EtSDC4XxUiIWRlNmCSHUE dgwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=MgqjX9yKK8pZbIOUl/uZiuoMp1EYuTEWA08OCUiaYMU=; b=HpSIMpNkynusYmIqFtxXXvC0FjWCzo/OsZ30cc2AoQ9eP9PN5PGJbnwRUaTBkKb5+6 19kl1fFJREIvnsPosFLB9HTqGOMAJpewxkjwcdhgjrLXlS/ezC/B7lwQNH2k103c49ff rGSM2AMTK1hcYKyTH3KtqXOcPGypt6xRb1ulJn4ZIPc1D1e2e0p23zH3zJkC2XnwVGfT ayZb/vZgsxxB8ltravJlA4u2cVmYiXW8sPvaQ4cyqD4s5gSbNs2Wx+tY6c2+8tFQB87N MkpnOLpA4j27IT1Z2tGavxkQiloA03DI50ysMvCQdFdmAf8Yn/lk9UXIBVVATkmSfzXh UphQ== X-Gm-Message-State: AOAM5308znE4kLvVTQ0bQOUc/q+oJs7laW7m7JQdl1NP5IqylcBf1JNH AOPMEP6LFFpwaIdVhU7X8tGGFCmPfgTyXoQ3rzkxTbtDPHs= X-Google-Smtp-Source: ABdhPJx3dkXkO+kqcfv74odpMFf9if/x3S+o+2urwaxMgAvZyihf7tdfIYyQ4e8SL5MnnN/qpdzsvl7DIhH4b4XNKsg= X-Received: by 2002:a17:906:c7c9:: with SMTP id dc9mr114838ejb.559.1640121977405; Tue, 21 Dec 2021 13:26:17 -0800 (PST) MIME-Version: 1.0 From: Yasushi SHOJI Date: Wed, 22 Dec 2021 06:26:06 +0900 Message-ID: Subject: exporter: How to get :file property on a src block in an exporter To: emacs-org list Content-Type: text/plain; charset="UTF-8" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::534 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::534; envelope-from=yasushi.shoji@gmail.com; helo=mail-ed1-x534.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_20=-0.001, 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640122115; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=MgqjX9yKK8pZbIOUl/uZiuoMp1EYuTEWA08OCUiaYMU=; b=n3DTYIHEEwV5s1cbbUR/27M3jJbwsfQLgLA6/d6H5RmuS1ka7ynKnEtZ3xhcvJnrgq2iEa 643ulwYfug5bljUPltmHrWFySGY6phHoavSm3uDQzyG2RqagzChXjZDvmJ6hdnSRYuLjre PeoDun3uFrH3p4q3ePMbUaeGyOmldURMvbFioPNvybKIGQC+GE+Vc/adoXxmYzuSoWM2zR qYYQGjqVrAQMVWCVQCc2DKgLM/HV/oKZFfIkPruDYwiIzBKkvByrGvpZJ0rIDcr2u873Pi LhwQmYCqWJbG61sZNQtQcJtofImPxeKPHIZn5vk4jbG8UwXjYQ1effStFw7OEg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640122115; a=rsa-sha256; cv=none; b=adf/bPMrs+T1JuU/7/gR4/YkIlhyOZ1OzHx1wvinpVZaEqAwXzEnKNMSvwUEFLHcFGmEOB zAwTMUxMV5cvOFKTWx81M2U718KxMcHGwv/1tWqoGG2lv8JgRaM/zNneZGCMeO6Gc/JlsY tPz2vRrUMn4+/fn8PkQYhdEb06AWFab1xXNUP3mr5FcZXu1fmToyjy9zV71Q0DpqlagW0/ 0zOlQFSUQmXmwSEIvqbY8BkebICkTFbHItTola1KPPVag/tKhHFb54jQ6/QpAeTIGI8/F7 QJnLaxUehlik9e34pH/UxalssYu3yUGmc2qjEessXdAzksej1875nqx2h378aQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=pzZWNT1p; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=pzZWNT1p; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 635BC81C9 X-Spam-Score: -5.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: r6w3BN9LXnqa Hi, I'm writing an exporter and I'd like to get :file property on a src block. Let's say I have the following src block in an org file. #+BEGIN_SRC ditaa :file images/hello-world.png :exports code +--------------+ | Hello World! | +--------------+ #+END_SRC" And, say, I'm writing a function for my exporter: (defun org-myexporter-src-block (src-block contents info) (let ((file (xxxxxxx yyy))))) How can I get "images/hello-world.png" in org-myexporter-src-block? Thanks, -- yashi