From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id eKB6OlC00GWaRAEA62LTzQ:P1 (envelope-from ) for ; Sat, 17 Feb 2024 14:27:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eKB6OlC00GWaRAEA62LTzQ (envelope-from ) for ; Sat, 17 Feb 2024 14:27:45 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=aWPXVDWq; 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=1708176464; 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=18ivNnmWlJ/hp3vIUx/7DunaZ+5Sz8cMd3Ov1Q1lESc=; b=IaNdxKufSlCHCNobb9+MzAwTv5aYraGn1ri4OrK49EkdKwY9yP2S3KpA8vFLhdZk7DtUL2 f6B1+QweIaMeF2C3fF7RNj87EbKO4imBnG9teOSgqvw/D/ZsbWh5jJoFsUXFtLoP15/HYI eKAPtcEOilwXQxaPpyjgv/8RXPjkLmjW9r1YVVilQJQyS/tjjt35XYqSjElDXOpU0aB3ou rAYefOA0bdENF5Si6PAImZUACS359TdZKJt70/IX8heGljOt58o4sk7RdfsqqtpOcqUJHD NXMNQUjMwzpTibzeOpiMnSqrtaRpNovPaDhjMmnaSUBaeTxshg1QAAu4zu/9dw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=aWPXVDWq; 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-Seal: i=1; s=key1; d=yhetil.org; t=1708176464; a=rsa-sha256; cv=none; b=h1SzeemigHacnpLOjfnaCmWXBwELSwC9zpI4QrNiW8W4huHyK7jRJLLTk4jy9xfDBNAkqO 1KA9pnwEaESspziJGw9/hT/umXZ0rKD4tFU4w7D0b0Fcqq1MbIdCybK04cS0EqGIzuYsV5 jhnUBJcDudoDDpa0SIs5SBPf0nW3+oy/c1pmA8TfLME4FuBJEXwW0iepUgMn4obJxvs42w PTm+1c9FMveSZ+uK1+z/TafJ4o/uhye3SQexCE+ITowhr6P5u3DMvz9O3u+DINgUKZtpEs 2maNeBgB6O9bANaXMdNNtkfltK5PP5y8ZnKBDZIS3VGqwEYd4tVg3rb9uzsREg== 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 996A8386B4 for ; Sat, 17 Feb 2024 14:27:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbKiT-0002Kh-46; Sat, 17 Feb 2024 08:26:53 -0500 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 1rbKiR-0002KF-Aj for emacs-orgmode@gnu.org; Sat, 17 Feb 2024 08:26:51 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rbKiP-0007r9-4X for emacs-orgmode@gnu.org; Sat, 17 Feb 2024 08:26:51 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C6C2C240104 for ; Sat, 17 Feb 2024 14:26:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1708176406; bh=4ZPOOX4DGuziN49n1ApiHoZNlhwwYWb9oia9++l05uc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=aWPXVDWqc/WUKS5qPRPJtsBuTW3eCazqwS40UkG4xFDpiZgMqrZYt1UyRsP1aJ/EO 6x+KtQxnZyc/0vk/POWosIx0KDf1flM6pvLN8EOEFpXrmy4xi6evVITxAbK2hACOi3 PpL7VPYL+kNUIJJxNc9aQlzv++S+s/Wqk+3A1RCnFOaIqfWxwIHI5ygVZdU5L0IE0Z Inl7qpb0DceiXWrwgf2Fk7Xl+SqSfxyS3vquJKZb1hLNu9Adpg4vGoxvYFDvDDN2UZ PggWRGegDZdzrNcko3qnsKaJviifBsr2G7m/x0FJHtFPmFo2jGJN/BfDNdRIrf0UL1 oQkKHoBdW6Vdg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TcV2G0JLhz6twr; Sat, 17 Feb 2024 14:26:45 +0100 (CET) From: Ihor Radchenko To: =?utf-8?B?6KW/IOmhvg==?= Cc: "emacs-orgmode@gnu.org" Subject: Re: [POLL] Change calling convention for when `org-link-file-path-type' is set to custom function (was: Enhancement Proposal for 'org-link-file-path-type' Behavior) In-Reply-To: <871qahl0un.fsf@localhost> References: <871qahl0un.fsf@localhost> Date: Sat, 17 Feb 2024 15:27:01 +0000 Message-ID: <87le7jm7qy.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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, T_SCC_BODY_TEXT_LINE=-0.01 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-Spam-Score: -7.16 X-Spam-Score: -7.16 X-Migadu-Queue-Id: 996A8386B4 X-Migadu-Scanner: mx11.migadu.com X-TUID: D+oJI773D+Pl Ihor Radchenko writes: >> I'd like to suggest a small enhancement to the >> 'org-link-file-path-type' option. When set to 'function', it currently >> passes an absolute path to the user's custom function. This limits >> flexibility as the original path input is not available to the >> function. >> >> For better customization, I propose passing the raw path to the >> function. Users needing an absolute path could use 'expand-file-name' >> within their function. > > Thanks for the suggestion! > > This makes sense - the current approach with passing absolute path is > indeed limiting the information passed to the custom function. > ... > Yet, I am starting a poll to give users who may be affected a chance to > chime in. No objections after 1 month. Done, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=388ba5b5c -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at