From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 MIO1GcqsMmZmMwEA62LTzQ:P1 (envelope-from ) for ; Wed, 01 May 2024 22:57:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id MIO1GcqsMmZmMwEA62LTzQ (envelope-from ) for ; Wed, 01 May 2024 22:57:46 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=h+Ifrntc; 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=1714597066; a=rsa-sha256; cv=none; b=TirpTe6R7D4UBq2D6JDulgGbEvJ78Bdb8VS9apqTrVMcMnCTXvhlirO9IYQgWjfBLleNwX 4Xjp0Vo8Jo0Zx3b841cEHHx12eNMfBkpUzA+V+aJdd2I9IvEeJP/q+o3wucbHeZ3kj7v9D sLV6kJciFQHkdR+u84dd3r4CCa7jxQiarSldRMY4uLpzgi/mdqRnrKspqivtUQvh38DXIq y1axe5NjtFaQoYrnnpVJcyTuurdjolIpUyWXtljQJlxsYVrsYWX5Ee5qJ31KfvQcvXCRpJ XAFzJCI0sBHJqa9DlofDjFhnKwuxsB4WpFj4EFMFjqJ7eMdW0pueyYeWzZOjzQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=h+Ifrntc; 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=1714597066; 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=8KP+Qn8F6S6H6AjzQ6sitcdgBO0hJcSQZKxCuiERdDo=; b=VZ1Z013IKZDwMJ0PWaETHkLF3LIP2hZkwxdISSgQgp/idugH94x1yyRSPXp/1K6ldXRt7V nVlBVocHmtQDsjjvz7iZlI+s46dVNhYHkzNn7+V3t2/WW8u9nOCX/HiUjvXIIXnYVRdlGB OxYsSOHgOHtqASJU0fvKtUSmwWyGKdkl5FcAJP4bIdNzdwmhJhSQXvAlQGkQJnewGvZIC3 7/2UP903p78CGU+UpZLgAW8ePJm170FRC/TNVYAfRrBcSKeOOjP1cdf1AXjAqiXXbAA9TI FqVAmzZ0pDfbtea06uu4jQr/Kprd/1vIc1i85nJk+RqX92uZq+Qy/5yARtk5fg== 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 43DFF19FCB for ; Wed, 1 May 2024 22:57:45 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2H0F-0000MM-Nt; Wed, 01 May 2024 16:56:35 -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 1s2H0C-0000Lx-KD for emacs-orgmode@gnu.org; Wed, 01 May 2024 16:56:32 -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 1s2H0A-0002qN-0n for emacs-orgmode@gnu.org; Wed, 01 May 2024 16:56:32 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 9B553240027 for ; Wed, 1 May 2024 22:56:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1714596986; bh=9lmCKfnbH5Vbezxz6t6LiYZFmdciFmSeIe1XTRkvu5Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=h+IfrntcFo43PPB8cSWFnSEp01dyiHmN9kWWYie2stWU24nG35UQ1pRz2FX/hxb6O WMdMdvcv0AWEc5YCjkeqD2tgT/UxweTvZ7jqd/FilbNWWTlXFvQ2ZV95Cr2HoT+M4P lK3Dz++5WhQAvFMqMecJGp3IABAhGQsOq9gdNWOMdQkQdT1Nj7eHPEX1b5OKE5dIDT dW+pJf/8Tp2maNu9GERH5yGH4S9jGUXrXc5Y6G+NtQiMAo3J1rryKQsaqVMr/BpF2k sza0UUjHHdzY5XVV/xYofdSSzq+Gb/MvCdqvDJAzprKRFetrwwEXp59YvIj8DW00Y1 g85VBbdzV+CIA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VV8Vy0Vxkz6txv; Wed, 1 May 2024 22:56:26 +0200 (CEST) From: Ihor Radchenko To: Alexandros Prekates Cc: "emacs-orgmode@gnu.org" Subject: Re: link can not be created in a line with another link. In-Reply-To: <20240501230858.2647b8d9@enoush2o> References: <20240428093320.120843ae@enoush2o> <87cyq9k6cz.fsf@localhost> <20240429154540.3917dd8c@enoush2o> <877cggcnn0.fsf@localhost> <20240501230858.2647b8d9@enoush2o> Date: Wed, 01 May 2024 20:57:36 +0000 Message-ID: <87sez1qmgv.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, 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: 43DFF19FCB X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.44 X-Spam-Score: -8.44 X-TUID: arz0r9stmixl Alexandros Prekates writes: > I give a couple of examples that i think highligth some foggy semantics > of links. > > In the example below . is the pointer and single quotes is for > recognized links and $ for the start of the line. > > $[[foo]]. > $'foo'. > $.'foo' // here while we could think that the pointer is > // before the link , if we type a char it will=20 > // be inserted into the link. > $'xfoo' // not x'foo' This is not about semantics. The point position when there is hidden text is generally ambiguous. Emacs chooses to put point before or after invisible text depending on the "direction" of the last command. See 22.6 Adjusting Point After Commands section of Elisp manual, if you want to know the details. The scenario when invisible text is right at bol is the most tricky.=20 > Also what if we type : > $and [[foo]]. > $and 'foo'. > $.and 'foo' > $[[goo. and 'foo' //Could not be seen as [[ goo and [[foo ]] ? > // 'goo and [[foo' >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > // But that doesnt happens. > // Org sees it as : > $[[goo. and 'foo'=20 > $[[goo]] and 'foo' > $'goo' and 'foo' Unescaped brackets are not allowed in the link path. See 4.1 Link Format section of the manual [[LINK][DESCRIPTION]] =20=20=20=20=20 or alternatively =20=20=20=20=20 [[LINK]] =20=20=20=20=20 Some =E2=80=98\=E2=80=99, =E2=80=98[=E2=80=99 and =E2=80=98]=E2=80= =99 characters in the LINK part need to be =E2=80=9Cescaped=E2=80=9D, i.e., preceded by another =E2=80=98\=E2=80= =99 character. More specifically, the following characters, and only them, must be escaped: =20=20=20=20=20 1. all =E2=80=98[=E2=80=99 and =E2=80=98]=E2=80=99 characters, 2. every =E2=80=98\=E2=80=99 character preceding either =E2=80=98]= =E2=80=99 or =E2=80=98[=E2=80=99, 3. every =E2=80=98\=E2=80=99 character at the end of the link. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at