From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gIBMMGoDd2RqcQAASxT56A (envelope-from ) for ; Wed, 31 May 2023 10:20:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wHVZL2oDd2SIXgEAG6o9tA (envelope-from ) for ; Wed, 31 May 2023 10:20:58 +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 608423109A for ; Wed, 31 May 2023 10:20:58 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4H3z-0001EW-EG; Wed, 31 May 2023 04:20:11 -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 1q4H3X-0001D0-8f for emacs-orgmode@gnu.org; Wed, 31 May 2023 04:19:43 -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 1q4H3T-0000Qu-NC for emacs-orgmode@gnu.org; Wed, 31 May 2023 04:19:43 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 47AAD240028 for ; Wed, 31 May 2023 10:19:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1685521175; bh=FDhD+qEDKcYKddRjhr+OvvEWSxubRAyhzHPVyqUM21Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=MdEY78M1gvytFD/iLxGoLZc2gAlsjiq1ZweLyEWyGNuaClLhIHvV8Zb0p4BRBA3mb c98nMqcY5VAq5d8texwso8TMtFSR4L646ob14QvKmUBoRg5mmR9nBLmHdSurbO06Ky SCUaWwPdESmHkpkFXQGBRhrBgGVOhWYZsPY+4Kb7I0pixg9DmqbeWnyyp1hVrCGWHO Od5G87Gkl3FoJtwOQNxQXaTfdDZ6lq0BE6dYP8rcprMJsOIO/QTz1wQ22NvFpfOg/k RG1P+Xn9lNQlNEuFuhYQx/qbpq26az0m2nNseazQGIAK6vUnpeYhws57f3AnYGS8W8 da3QKjVKHcrYg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QWMck5QYgz9rxB; Wed, 31 May 2023 10:19:34 +0200 (CEST) From: Ihor Radchenko To: Pan Xie Cc: emacs-orgmode@gnu.org Subject: Re: [FR] Please add environment variable substitution in `org-display-inline-images' In-Reply-To: <7a012430-6084-e693-1a86-f14d0512bebc@skyguard.com.cn> References: <7a012430-6084-e693-1a86-f14d0512bebc@skyguard.com.cn> Date: Wed, 31 May 2023 08:24:01 +0000 Message-ID: <87cz2goqn2.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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, 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685521258; a=rsa-sha256; cv=none; b=QpY6b9VVaJcIT8UEUqoYpNgMgaRADFRx357YzaMz6+0UKUbKHj1E97GnCjig4YcQ8huuPD 94GTCXue2HDHDfI7dt4LUwj5EZ/kyOYPjwyTbuP9cKoRpVXnzqKCTd1apnyISi304U+hIS n8GYuUNoX2YihUipuNMdaiRkVGmCh+X8TO7was8aAapDfxV+1LcAVskU6c777Nd4s4hAOk nZKPNxgIbbRTvYuxvChFByX5l83WR1GwSk8eAetb2h8EnhjyMbe0oCcO1aiJTAl58dJzj+ njBNWub5jMLpCAac009t9cDU9eVBMPYpm0Arytf+qBQIPdDcDD4WRyJB0B/ItQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=MdEY78M1; 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=1685521258; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=FDhD+qEDKcYKddRjhr+OvvEWSxubRAyhzHPVyqUM21Q=; b=ArtDlD9EvkEQzlb2bZSg+WjpZCJJfvmRxj3BeMJI1fqkfwDwP1RE4Ex3mKwsmi4SuRZ3wM IekrhBkI7u8BYt7Miwb5/26mbTrU7vwfrBP2JSzBC8Gy2+q9DkmIpbxgXCZBSyWawMBQ3w UAQd58Ooqt7ofLWGZ8+pviFAuMS7F8JxYZZ1kLbhWb9bZCFQPcITLBgXoPY6Qr7yFe6/oU 2+ZlkNrLyU6POksqFiOOCXmIatJIjhCMMw4KoKTRW8OaQNjz54wuXiU/69K9Jvfyhh+jGp vRRMzyx8+FZH3EWjQpSlwIiFrjbc90NAkRytvFX7dFjejdn3r1vQRXBQwjhVCQ== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=MdEY78M1; 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -10.91 X-Spam-Score: -10.91 X-Migadu-Queue-Id: 608423109A X-TUID: nVkGEpUbGdcm Pan Xie writes: > I recently found that the environment variable substitution does not > apply to inline image paths. Supposing I use a path > =E2=80=9C/home/pxie/$Gallery/=E2=80=9D to store all my image files, =E2= =80=9C$Gallery=E2=80=9D > should be substituted with its corresponding value. The file link DOES > substitute the environment variables, but inline image paths not. So I > think it is a reasonable demand for the consistency. Agree. Done, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3D3123caa8e --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at