From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aKQqGVCrIWSOuAAASxT56A (envelope-from ) for ; Mon, 27 Mar 2023 16:42:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eKpuGVCrIWRCZAEA9RJhRA (envelope-from ) for ; Mon, 27 Mar 2023 16:42:24 +0200 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 235511814B for ; Mon, 27 Mar 2023 16:42:23 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=btKb2efJ; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679928144; 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=GLbYncm+cU0Ni3bA0hJp13WRSz2XRnEQxZgRs/nN6VE=; b=a/yYd2cIxEf7kz9efbNJnqEMjrfgmem/SPKjDL0N8vGdlxNH+laGF6uBaAWMaoN/091cgx n9R/ZpX351D8sPyO+r0L1daxR+4W5V/XrwlYeAjmEjOKfvfz8ZHrqMb8+NIhmye1p6tQOp SmpnHgjzwhI0FipjKELII5B97/z1kZCQ6P2SwPwgT9Y76ik5ETj0e9rK/Q8irXW3gxaVXV rHoZCDz4bjZl9fuWlt7ascM+8NB20CMrVQESXIfVEczJw9TDzS8/CGQfGFdQHgPxhXeJdE mVlTwrmaTdOkeszltjiFEsEUsnz67E61XitUZEHQ+cxuZ+4WtOTy2ZyOJWMrUg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679928144; a=rsa-sha256; cv=none; b=jJJeC28xCb66r0EOJ4UZ98C/+PCvBgNrJbnIW7LObkSSweZ+UWVIKBeQsKtJ2Xy4glmxG0 aWTKVg3pQvunsUnmKYLP/aYVRjtnSGnXTUtwTtFJ7ztY2IXs08HAPFjJUOIVkG9D4KTj+4 BkjGoqHinLXtNlM6NQySY4S93cHLLttiU0mUUZpgc7G7/1nrMxNx7dSBpkV72o7aA936CZ lCfPAXDuiKRTrOF9p0eddbjLBC6PudK2vD2+bEnYM2XclpE8riXyhGNzM5dJL8DhBUUEd/ MzUB3/VA0YMxj6doU8hmTzRkL3ec9/TYKhXecwe6hHY//frmMoiiLg+5gS5GKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=btKb2efJ; 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"; dmarc=pass (policy=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pgo2u-000410-Ay; Mon, 27 Mar 2023 10:42:04 -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 1pgo2s-0003yT-JB for emacs-orgmode@gnu.org; Mon, 27 Mar 2023 10:42:02 -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 1pgo2q-0006SN-MM for emacs-orgmode@gnu.org; Mon, 27 Mar 2023 10:42:02 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 8BD962401EB for ; Mon, 27 Mar 2023 16:41:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1679928118; bh=cg6vRsyKVWKbNrBDft3PJwz80t9dwm4tyUyKGd829yo=; h=From:To:Cc:Subject:Date:From; b=btKb2efJlDSVB/0OOQjjp3COCdgVKu24DEms+3sH41Xl4+pciG25k7a9L0NtWKI1K V+fGUoWlAbzpSGgTXJVn8b0aJG5OlFTkJaEIZAAM8PQVr3zO0TXNjK31whQsoZFyMu clwy82V3WgJFBp6tnCpMJNST8soixEogditReetPUXVVQVJGW2NiLCNOJrupnL6jxL QASRLq0+KNfF4wbRtkxJexeL6wKXmlPEilie7+x3IQZmx7J8FI1HaKzpbepif9tKjT YjaCDDvEk90MVOd6zqDQGmOMP8QdkB4H4LXi8OJcGacT2XbWehQMVRNxV4DOVqMeuh /7RqZ/aK9NlUw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Plb9x1WPMz6ts8; Mon, 27 Mar 2023 16:41:57 +0200 (CEST) From: Ihor Radchenko To: Ruijie Yu Cc: emacs-orgmode@gnu.org Subject: Re: [FR] Do not resolve relative "file" paths In-Reply-To: References: Date: Mon, 27 Mar 2023 14:43:53 +0000 Message-ID: <87ilemtfti.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_H2=-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: X-Migadu-Queue-Id: 235511814B X-Spam-Score: -7.55 X-Migadu-Spam-Score: -7.55 X-Migadu-Scanner: scn0.migadu.com 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-TUID: nPaAS0bMp+c8 Ruijie Yu via "General discussions about Org-mode." writes: > C-c C-l file:../4 RET RET > [[file:/tmp/tmp.ztrbRDDtKy/4]] > C-c C-l file:../2 RET RET > [[file:/tmp/tmp.ztrbRDDtKy/2]] > --8<---------------cut here---------------end--------------->8--- > > Note that I showcased both ../4 and ../2 because it seems that the > referenced file does not need to exist. > > I expect the links to be literally [[file:../4]] and [[file:../2]] > respectively. This is helpful for me to reference other files > relatively (e.g., in a repository). You can customize `org-link-file-path-type'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at