From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id WEejMD+1MGZbXAEAe85BDQ:P1 (envelope-from ) for ; Tue, 30 Apr 2024 11:09:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id WEejMD+1MGZbXAEAe85BDQ (envelope-from ) for ; Tue, 30 Apr 2024 11:09:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Azm7uyBv; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714468159; a=rsa-sha256; cv=none; b=kNoh0NEX5xTbc3bDSUhtL8c62Pyuu+ztwuidirT5eJMFtL6g3n5wZTTJOr2DzFPmX1/e2G ERTxbifkxbuUkHSM40HgsZZstbRUX8iRSJLHrYYVwMzt5UeR0kg1I2n/Tw7791D01ldruJ y/qXJ43Jc69Lp/Uk5PCjVGi2/VPs2rgjYhDI7x68nKxC8Z1mIr/wMLVSndUypih+tsWQKt YQ0cBMbWilVQ8zwD1kr8+7UrTnp7r9ydreUXYsJ9NFeTtZmHcn+a+XuSHkxRrMUzNmF3Lw 0Sd5+Yb9jUkdeIqS+npkDShLqv/JiEnUSMKqSoYOo0RySaBFlIatx6ZYmvzMWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Azm7uyBv; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714468159; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xee0Md1s12ZQJCwaZRKf/MJamzYnUgMA682y3E2ftW4=; b=f7JB4sXbGlf4jaDFQpbgQahvthB9/5n6vqy/G3U2FQMBIwJJT14QIgldz0EdcBpxUhRwdC BQ4dLTTknpRLWzIu2NwOXaQdIrglXkV/mTk6LIE5PPIbOBsaJB3db5PGun9VDR/N/AbqCj MKEDL8xsAYJ+h/hKqFyOcBQi1wXEnpF1GvCaHeNkRfcYBtwWo4/S1KnEHeJzCLBaoKnsDr hdhqV8NUfd8IPmFDmRJ5lqUIEp/xVXDiMemfuwHsEl6XR9a37T+Gy5r0GJSM2VBGOF7H9s WKIJix4yRBBTIS8uOI+viWk+9fcuo/6rhLchbPllcN5OTMkGmw6iNBJen2x92Q== 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 B191B15A90 for ; Tue, 30 Apr 2024 11:09:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1jTM-0000nO-Np; Tue, 30 Apr 2024 05:08:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s1jTC-0000mv-Kz for emacs-orgmode@gnu.org; Tue, 30 Apr 2024 05:08:15 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s1jT7-0005Qf-P9 for emacs-orgmode@gnu.org; Tue, 30 Apr 2024 05:08:13 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 22C6D240028 for ; Tue, 30 Apr 2024 11:08:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1714468087; bh=aP4fsx1txbaH3tKnVkcshcE72R/NmeDOOnLWjvPUcOM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Azm7uyBvibdcjUJP2q5gunysacwRcnZqUeLKxDEt2+5wu2XGDvNMF6WTOXW+2agDv 7sVJe8cPLe9SknPE/t3c9MSJWtzceu40n1HZ8dQWSyadx1SnK4khuEEGQMZIPSOH8b rv1NWuQbvoQPMuJBOZecNKWlDaQ8XdbsRt0VJYSnV/TrGstC8jK+WlRULE/1kqo8al aSmC+5i+R4A6m1sUy5FpHqg1Q9gIC3KbX5IlFmrFZXGp/cUqcgEAii34737poOKFwW G27R1jjLwqQ59tku67b1o92WKBIoi7gDvqLk+nQhq/NuPa3yUV4hWVoR/a6fh5PFth c2CGDYd92F1lA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VTDr56rSVz9rxF; Tue, 30 Apr 2024 11:08:05 +0200 (CEST) From: Ihor Radchenko To: Karthik Chikmagalur Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] Attachments not resolved correctly from symlinked Org files In-Reply-To: <87ttjl8cf9.fsf@gmail.com> References: <87ttjl8cf9.fsf@gmail.com> Date: Tue, 30 Apr 2024 09:09:07 +0000 Message-ID: <87h6fjz07g.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: B191B15A90 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -7.50 X-Spam-Score: -7.50 X-TUID: iZ9TrdPHPEAE Karthik Chikmagalur writes: > Attachment paths are not resolved correctly when the Org file is > symlinked elsewhere. This may or may not be a bug, but I think it's > undesired behavior: > ... > 3. Symlink test.org from elsewhere, say > > /tmp/test.org -> ~/Desktop/test.org > ... > - An empty directory is created, like > /tmp/data/48/2697ee-913c-4eee-b1fb-636416d3fb6b > > - The original attachment can't be found, since it's actually in > ~/Desktop/data/48/2697ee-913c-4eee-b1fb-636416d3fb6b I can see the problem. But what would you expect to happen if there was no attachment in the original directory? Should the attachment be created relative to the original file? To the symlink? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at