From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id IOWaMhuxeGboagEAqHPOHw:P1 (envelope-from ) for ; Sun, 23 Jun 2024 23:34:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id IOWaMhuxeGboagEAqHPOHw (envelope-from ) for ; Mon, 24 Jun 2024 01:34:51 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=RCxQppA5; 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=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719185691; 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=gZ4obLVzHVJ0TdVo6DgHuT9cZMwt7ebRBupZ2Maedrc=; b=MlKTmMfdDvL20V4jHK+q+OnIFMaxnmtPxkmDlTzVwaFbGiYmklu2GQOMIWm3D1jWqFt6c+ RkEZsWHrxSZ2kHfQu9bkAwjEukZPm7ddvFy4xH63f2GXkFkBJv2mYKb0qpNYABoiQsRcC+ H2ZdjL5IEB1tBFggiuRFUKMdP4R7QRNGWL4OHn9juZlTCZe15SC3r0f41vjTqgCdCNK0sc XsrDLOzXow/5jKV/crMJ3umzc8HlFp6/xkJ6wC6PhS6LDVYEQyCafEE8/7oKhIjlhz+6Em c1heLPbp7/OH1ra/M0oWsBBMMBeoYQpwuUk72QQRGhflEoU4rHOcVilOWwMCVQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=RCxQppA5; 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=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1719185691; a=rsa-sha256; cv=pass; b=jDC+kL2nhgyauTNBAxxX8RmiqGD3i6jfW9z4im2t+1dzlOw/ypKrksqycWkqaPhkX9MkDp ruQ5pzvih1ukgtLzPvbagjlcMFcMbG30U/u1MukJWHiwwp3pX5GyiLoENyf/nxI9BkJx8R UjRGMKhMzQWtqsdMZN82eM93jNZZRVDLHeqSyl87sbKs8k3iTkiJuwPxGorsHHiT3OTIX0 P999LkH1H2nHmupG1z4DOCdByipdJ7b4rTbV3mMdoSzug8Ea1NCqvHW3lEIJT0r5oRtjaT GhKl0ASQrgy5w0RhI1Ssf91YTUkJo3e0Cw9+hbct3eLtmwHoN+bgPv8duumJaQ== 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 690F21778A for ; Mon, 24 Jun 2024 01:34:51 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLWin-0000ms-MO; Sun, 23 Jun 2024 19:34:09 -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 1sLWil-0000mT-VF for emacs-orgmode@gnu.org; Sun, 23 Jun 2024 19:34:07 -0400 Received: from mail-co1nam11olkn20800.outbound.protection.outlook.com ([2a01:111:f403:2c16::800] helo=NAM11-CO1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLWij-0003Pu-T6 for emacs-orgmode@gnu.org; Sun, 23 Jun 2024 19:34:07 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EH7pQFpVvLIyHj+9ZaphfYNi9ktVs2o4ZX9jTax3Z4n65pQC72/Jkqw77tnQt9dSqzrgdqI0RqOdceIt+U8haIxY1Kr609UPk3No9OWwpBjxXuL99hw401ndtiujTn9iuopQvw03k5AwXeOds0TSuwitR/Y0hmFkJUujxeW0+OE8QyohPC5k0YTUfKpND2LKFfSNw8IdOjQFPSsL6I0jJROESu9kI4kHYOWMsStWvd0c+8c588GhJ4noSdNoOQzBe1lc+bqohIOIWLzvY/Rc4kLhSnP4CNlKkOBggBh+77iyLmt0NpYmHD+zB6u8QE/ObPVVm+Ll5sAWhIVpLQWAbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gZ4obLVzHVJ0TdVo6DgHuT9cZMwt7ebRBupZ2Maedrc=; b=nSSxRu09X7gzsg+3P+qUyfZhd+wReanEcK7KXEfSsr9PgHjzQGGkpMGyATQwcxgSkbnZ4KIOyDF2d1+NjIhW2p0pcBHvWTtnNycVe44B3du7NcittKKfuzBA3fCGE2cepyNwUnET5G9chz9Z87w81ahsllZyVUqydF4YY6EBQ1tWQMg/BlLMMpwestPbUOfqRScFJ8Sbev3wpvyPcjWnft8HtnsdeghIG9aocfVIJeGb6IimRlf5/jYAwPK97WCzGba1h0OF/1Fcpu69w5mINSlH7A+UpGsSAF3MssDaH9o9lT3omvVHQp1gZS8VdkYHmkbgpRlBATzdQ/8umPSEwg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gZ4obLVzHVJ0TdVo6DgHuT9cZMwt7ebRBupZ2Maedrc=; b=RCxQppA5YfGYozRfiRZ9KEhkavsY/39e8L6feg+54Pz3WvfPpoePzZLN8r465PuF9ziYQ13XWrtoHzjwTSPHJnF+l7X+z4orkR9IxdXNEu4xLpYINGD8iPmHR+avotnHcloMAe1L5QWL1rGeXNrxf9uOaL6COIl9yOm7RmBkGcUv6iX33JE6ykmzMUmoD7HSv4TxtE6pVo6ztvTVmDUXHXAwrAeMKDA9+aI0gBtOJOD6s4HNCajkXeWnU4ImOC8ORm1CJtpfxi0gpjHqHSYFS1sWHNJAQO4vVR+nY4YpybUT5ZPdAey+3D7hP6+OFTOjAP+2C6X7evJKjBTy2+icSA== Received: from LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1be::16) by LV8P223MB1057.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1cc::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.28; Sun, 23 Jun 2024 23:29:00 +0000 Received: from LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM ([fe80::ec63:e3ac:48b2:8c01]) by LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM ([fe80::ec63:e3ac:48b2:8c01%3]) with mapi id 15.20.7698.025; Sun, 23 Jun 2024 23:29:00 +0000 From: David Masterson To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: Variable Hyperlinks ? References: <87ed8qbxmy.fsf@localhost> Date: Sun, 23 Jun 2024 16:28:58 -0700 In-Reply-To: <87ed8qbxmy.fsf@localhost> (Ihor Radchenko's message of "Fri, 21 Jun 2024 06:47:17 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Content-Type: text/plain X-TMN: [dKNLiY81YCf9kDEN6y8aFMHWRo0YkYU6e/GtPsfVdUJEY1/o9aBAN8N60Rqx3VXM] X-ClientProxiedBy: BYAPR08CA0063.namprd08.prod.outlook.com (2603:10b6:a03:117::40) To LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM (2603:10b6:408:1be::16) X-Microsoft-Original-Message-ID: <87sex3z1ad.fsf@penguin> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV8P223MB0920:EE_|LV8P223MB1057:EE_ X-MS-Office365-Filtering-Correlation-Id: 09a8570d-428b-4c4f-4f31-08dc93dc4306 X-Microsoft-Antispam: BCL:0;ARA:14566002|461199025|3412199022|440099025; X-Microsoft-Antispam-Message-Info: sx5QU6Mk9VRnL2xBDCvS5txfqcKF5OJa2R8RQbXhotFigFpOJWdxyAOjd1rLbkO5ZDJb8WKaDZa+RL+7Fbb+1+uBrDC2x/U22AdXzwFuBbG+mqDypI19tT7qwW8cSiGL2Oc+hOGVX6cGG5oXWFtOdnSgBK1+BLRWZfilDIu7Ebnt0/fbodG1NLfBY9L0ZMbqQLQgezgxCGPathT4rvofxD0Ra18WFAmLv/WQMvh40sI0PW49d6xTkh+d0C+rWjWXPOezm48eHYFrJHlbD66mkuHNDpetdU55XGW9NYTqvL7bBXxEJ2rVYLFAf/Z5wxAOsvqUbc7Wzn77smDYQZud5t02ZBhYXZFzXeEgaz83GFnoWgIYfAec7KkXUgu497s2al2+oMXp5qe4IJGMscL5eW5vlTUl4ELWRTI1O9IVJ9E2YBvZhHCG1FIzL76noLt9xsbMMlrZs9MMKGHJEL3lNKwfspKhwgsUEdBymlRV7MMBNIcMiXly/8wK0FlihC6t0tTsBY5w38WGAq8eTyn4aaHSrJ5Qi0sQm/L0bRDIJiJlYCG9k0Rw1AUMaLZmEVst X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?riSN5dubdTKuXJ9rEIrrIgNIGM14goen5DisDaFo5j9Wz1v/FgqsLz9JaTAo?= =?us-ascii?Q?YRsnqBh62W6uUB528W3RDeNA4dNhreG/KjM046piwX/h4Sh4A/1+BtBwQujc?= =?us-ascii?Q?Sr+Kyhwhoeqd0Vw9xoo38Qc0D6xT5LsWJr0gHOGNOV7SRbKTWl4Q07oeZZAD?= =?us-ascii?Q?wq8ThLtVkNnYwzMl2XgsYUbiyHnlHp0emYdavWuIAiNNnc4TjSTbyO6i/0qU?= =?us-ascii?Q?QP/22Vz96ZCW7aEAZLaAsaLWim+28zj0FR54D30DbB9V48NSMeHqxdValTxR?= =?us-ascii?Q?CdsNYALIjXBDVLyWwpC0AcntgiVbNQH1LadJexTMJqC/v7gpKrH3lB3n2uIu?= =?us-ascii?Q?BRurzd9nNRUglOLC7Zm+VmBAteLaem+qMZYwH+xvCNx2wGyFyqSJONXB4/FE?= =?us-ascii?Q?4DstagdBFBtjZC80hdMWPa8cbPDIM9wTZmYPre0YPaVBU6c1l2J/T503F3vS?= =?us-ascii?Q?zmB5so0e1puSythSnIDSnA/Tdvo/mYtQsQ9/b18gJruv47vhH+i2TXkSy6rI?= =?us-ascii?Q?Z84P06Rxnb6VKkUKcmiNQ9UHJ9GGngaFNfw5xirtuMjO/qWcu1iDLBl2oOGI?= =?us-ascii?Q?bdA6zUjTXnCtaTZfYw+Q+kOu33B5YRLUx1eyWvsZCIKb2Wag9lv77o+m5GdS?= =?us-ascii?Q?JT38Qa/j1QyJcv13Lew0TD/D1w1DcJMl8X1WSxI4zPRCZ+jR4vYJ7HQKJcrm?= =?us-ascii?Q?edIpqiOwbm4e7Z3hYrCZyPWZtUol3RMzv5SapUef/oukj+M8qZq+sclazuno?= =?us-ascii?Q?CwGhTo8+9uJxCPvgNHBzt1wshPMbp3A/bLifs1dBfvHm6FHUYLHXd+nrwedH?= =?us-ascii?Q?5QnBkES7Yxas2z9ZPeohEdFkMmJAQW0TQwiK0lYQFl+fRHF6j0GdrLAyTqmq?= =?us-ascii?Q?3X7Pu5B68CMSECw8qzWG5jnR+1O+5nXkLt1U5JZdYex8tCLWGc7xXRVTdQwd?= =?us-ascii?Q?Vq2icVIqhx3zGbYH7UUu5W9sUZ7q9atjluz5LwsPZquOYWMYfa5T8NEygVJl?= =?us-ascii?Q?JFtKf4z2Kw/w9XaSrMlr0bNaz4/hGmevqVpaKkPx9oMagrIlqdSCxOEQ5Gjd?= =?us-ascii?Q?UOZ65FHT1xeGhbIPEc/zSkmREyjJHo3y3iMtTUDOZg7dlO3wKnb9qEX2bLrN?= =?us-ascii?Q?DwFz8yfnjGav7cRrxycZ2OLKiZ33BFI/0FPqliIBrWOPy/60HQ4catDm25mu?= =?us-ascii?Q?jdV7nYj8wSxZ8QDmpzRqUvfK90mR4Q8C2iwBL5FfU0MrOaVPohIjlu+DJF54?= =?us-ascii?Q?w/QRuAGIBp9ujrG3TS3YURGeO6Dxm9qdA2soQwTSlZwhnTLvHuQVxPUxKzSM?= =?us-ascii?Q?gR5rxlr+5V3JOdutCehvn1+IPlgDiKC7eWT/SWCSm3U0wA=3D=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 09a8570d-428b-4c4f-4f31-08dc93dc4306 X-MS-Exchange-CrossTenant-AuthSource: LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jun 2024 23:29:00.8000 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8P223MB1057 Received-SPF: pass client-ip=2a01:111:f403:2c16::800; envelope-from=outlook_98C99531806B1C22@outlook.com; helo=NAM11-CO1-obe.outbound.protection.outlook.com X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FORGED_GMAIL_RCVD=1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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: 690F21778A X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -8.41 X-Spam-Score: -8.41 X-TUID: 9nvBx735fUMV Ihor Radchenko writes: > David Masterson writes: > >> I use Org with Emacs 28.2 on Linux and BeOrg on iPhones. I don't >> believe iPhones support "symbolic links". Therefore, where I mount a >> USB key on each is going to be a different directory. I'd like to store >> pictures on my USB key and reference them via "file:" hyperlinks in >> Org. My problem is accounting for the different directory locations. >> >> Can I create a variable (property? tag?) in my Org file that will have >> the path to the USB key directory and use that in an Org hyperlink? > > You can have environment variables in link paths: > > [[file:$HOME/wallpaper.png]] Hmm. iOS (Beorg) doesn't handle environment variables (I think). But maybe I can hide that...? Hmm. > Alternatively, you can define a link abbreviation: > > #+link: local-file /home/user/ > > [[local-file:wallpaper.png]] > > and then load it via #+SETUPFILE with different setupfiles on PC and > phone. That looks good. I'll have to experiment with that on Beorg and as on the Beorg forum. > Or you can have a custom link type. I hope I don't have to get that complicated. ;-) -- David Masterson