From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aFSiI4+K8V/IIQAA0tVLHw (envelope-from ) for ; Sun, 03 Jan 2021 09:12:47 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qJp1H4+K8V+wbQAAB5/wlQ (envelope-from ) for ; Sun, 03 Jan 2021 09:12:47 +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 BEE5A940355 for ; Sun, 3 Jan 2021 09:12:46 +0000 (UTC) Received: from localhost ([::1]:47164 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kvzRN-0001U9-4I for larch@yhetil.org; Sun, 03 Jan 2021 04:12:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvzR0-0001Te-CN for emacs-orgmode@gnu.org; Sun, 03 Jan 2021 04:12:22 -0500 Received: from mail-yb1-xb2a.google.com ([2607:f8b0:4864:20::b2a]:37986) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kvzQy-0007bO-GK for emacs-orgmode@gnu.org; Sun, 03 Jan 2021 04:12:22 -0500 Received: by mail-yb1-xb2a.google.com with SMTP id r63so16304041ybf.5 for ; Sun, 03 Jan 2021 01:12:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=nhPFlp56r98uNnH9leJ3qqmstCaC0QRIxij8cxbwFl8=; b=Uo1nBhe7owhcxyJDJcsmyhIjqF5bpaTXJ6Hrt3AtxhzRwVzPVqXGButp/xHF4Azhxf R8CO8ZGICHOr0NuN5gFULnYzqpkXTsnzhMIzaL+cDY9DT1DN5NFbvLEg5MVjcIlD02R7 YvFz7NRN4VWdJ0IqDrCrtpOgzRRgQonrr+lMDwb3qKEfFM4wiQC1j/GKcwlxXGtg5J9m nIEAF9bzy7CAMGvTtrvnh+9uw6Q+K6vF0R3T9IUfnYrRzi9unemKQEoZRXNGNcmbGdRE IpC8rrfD1MPYv4og4wF9YoN96rCuUOqqvQcC9P35s8kYPYQ976weXmXbY7EXZ6p+5uC2 SlKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=nhPFlp56r98uNnH9leJ3qqmstCaC0QRIxij8cxbwFl8=; b=mxbq64eCF08/1eNzIWG5WmJz4zsyFlpAp7YCLA3i2dfa4lo+hsOG9+EbQEI+Ug2uq8 5YdsF+vrxXg4GL8M9OdNE25N/pngXU3932NS1TkFI3J9VkBxMjlj/u84jdSCWoVfl7xS zR73CSczwSCkqmd9Uh8nm9uayWJMCHgQzkfnfkH+O4ixvst7dxaTweKDQVN0dCpY1I5B 6c5/JESI5EaAAW1PvgTCFu24SgR/qwfzVUZ0x9by3HIS6Qh3bB9uMhb+RhRfNI1EQgsl NexA+eYdPe4TAy9c+WmcvKNvRokxf0rgcvl315NqhQQ2hDCyIOc2Tp2LiQ0QGo2Rj1fE BABQ== X-Gm-Message-State: AOAM532OgnWqG6U+W3RLZg/tionMjXrIeqzFJNjuFQcYUjQm2//4LEqV DF4n6S71WZENL/nsxK7hJ3uKPGpJENR/LJY8whbU8dAvzkFU2/z8 X-Google-Smtp-Source: ABdhPJxYzPTceKsNfsOXygumR4/h/p8PKdTYY8vYD/ls7l7Ft8K73cF34FOJrbth5VKl7XZpvhKQUfMdQe8xaMRZEdQ= X-Received: by 2002:a25:7009:: with SMTP id l9mr48640490ybc.118.1609665139036; Sun, 03 Jan 2021 01:12:19 -0800 (PST) MIME-Version: 1.0 From: Pablo Palazon Date: Sun, 3 Jan 2021 10:12:08 +0100 Message-ID: Subject: Problems with attachment links in exported files To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000d1d68d05b7fb5e9e" Received-SPF: pass client-ip=2607:f8b0:4864:20::b2a; envelope-from=pablo.palazon@gmail.com; helo=mail-yb1-xb2a.google.com 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Uo1nBhe7; 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-Migadu-Queue-Id: BEE5A940355 X-Spam-Score: -3.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: FE1g0wf9+ssx --000000000000d1d68d05b7fb5e9e Content-Type: text/plain; charset="UTF-8" Hi everyone! I've had a trouble with attachment type link on exporting. I configured org-attach directory and using org-id and it works great on emacs, all those links work great. I can see any attach linked on org notes, but in exported files all those links point to local directory instead of the right attached folder. I read this article ( https://vxlabs.com/2020/07/25/emacs-lisp-function-convert-attachment-to-file/) which talks about that "org-attach-export-link" function will be removed. I've tried to convert attachment to file links, and it works fine. But I'd prefer to use attachment links instead of converting them. I also read this thread ( https://lists.libreplanet.org/archive/html/emacs-orgmode/2020-02/msg00784.html), but I'm quite sure if all these changes all actually implemented on org-mode. I tried to use (add-hook 'org-export-before-parsing-hook 'org-attach-expand-links) And it works except for inline images, but I don't understand why is not on org-mode repository code. Thanks you in advance!. Best regards! P.D.: I also tried to look up more information about this problem on this list, I couldn't find anything on the list searcher. https://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=attachment&submit=Search%21&idxname=emacs-orgmode&max=20&result=normal&sort=score --000000000000d1d68d05b7fb5e9e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi everyone!

I= 9;ve had a trouble with attachment type link on exporting. I configured org= -attach directory and using org-id and it works great on emacs, all those l= inks work great. I can see any attach linked on org notes, but in exported = files all those links point to local directory instead of the right attache= d folder.



--000000000000d1d68d05b7fb5e9e--