From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MKuEJ4vAXGPbPAEAbAwnHQ (envelope-from ) for ; Sat, 29 Oct 2022 07:56:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2E9lJ4vAXGM2vwAAauVa8A (envelope-from ) for ; Sat, 29 Oct 2022 07:56:27 +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 6D7E589AF for ; Sat, 29 Oct 2022 07:56:27 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooemh-0004Ra-I4; Sat, 29 Oct 2022 01:53:31 -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 1ooeVj-0003FP-Cm for emacs-orgmode@gnu.org; Sat, 29 Oct 2022 01:36:02 -0400 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 1ooeVg-0000lB-RN for emacs-orgmode@gnu.org; Sat, 29 Oct 2022 01:35:58 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C3109240103 for ; Sat, 29 Oct 2022 07:35:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667021754; bh=Ux0EGOIytztZwCynUOjmmBkoJNilU3czfyqnz5FPDtI=; h=From:To:Cc:Subject:Date:From; b=Qi5y4d6iuf5QLoplO3W5n4C1qBk23c8O+MsxDuRDIEL7tdXvk0Hy2CfuuKw9b7/io 15nSFxXsHKU3EtuQhTxHNejNifzrOx/Qd5dhdcni86uh1y3Gz+69o8NJeZzFktHmJf rzYLhdrkuuzpJu5ik8chHKyitUTv39wUcvF67AEmqgiytLzMk1qX5vC51HQ4GmM/hX Hti+Rr7ar+KgmW5Egp1BvN5bC4cs9vy9fXaSXW8ZWJ0jG6wcgHSinWohQ90G09Cfr/ ktUfdlVGrc7tGYdY/WY//3l23j0ahg6iTe5CaL4qu18DUF4gphE/Tzf+m7fkoEVx3R ULQdV/mSPyCyQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Mzp6d5M2Xz9rxK; Sat, 29 Oct 2022 07:35:53 +0200 (CEST) From: Ihor Radchenko To: numbchild@gmail.com Cc: Org mode Subject: Re: [BUG] Org mode treat tags as links In-Reply-To: References: Date: Sat, 29 Oct 2022 05:36:37 +0000 Message-ID: <87y1szi42i.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_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: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667022987; 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=2CLSSvV9WPO9g7K8i9W8WtvlXCoFeuiwg5RQv+sgn9Q=; b=LXlCWJ0x/tqMUBKMl4KpuA5L5/eGU3mrGprunVEe5jRqSKoBi9nBL4Hfma6qZDswuTQ6hl Zthwo5P3Ai01THayQCaGrI07e+0NeNbXK3S/7HLeBiSF2/zsn7COCF7e+2IKYMCvHU0G8W 6oFNk1bOLjshDNFyouhNQyXsurnH+INAASlHwURpkaz4lv+JPYib5UUP+acNevCOmg5yDN +8O6iD3W4WSaO3F3E/PUBf4lvFbydbH5U6AT8IVToPHO40JKYl/Wqahv2wfZH+H9uod4dp n/4ytQqwe9AGsqhKtgNoX0c4Aw26PNe5SWIF9dyNMfrjvZsZ3C5MqKla0wzsRQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667022987; a=rsa-sha256; cv=none; b=DnwvbwzUNBcpkwxabgb4RPCKi4snfTuVBaeYS34b52jfjjDqG7QZTxyutxEoxz7znjIzTe F385/L4J7/nYD6bMJGVGCu5LcJ8xin1eTxPdcCm5oFuK8YXLIw8zb3AVQ+PbQ3YcGQZ+cT R9eofz1R8todt3jRcyicvzIE7emmJrvbxqEN9bIe723/vLbI5JyGkP87XVUwH7aymhzVc5 pJ5XZGnfxVHSUeXnQY808PQcPtSCpWOUPuRMD/CP3dC63YOV2kwSiq3miS4I3L4CqkB3Gy kKNtNWJ0gnW59T7lTwjma/POjVU6Ndhii97zoSOSBy9FLvhoIsee9aNEwGKKWw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Qi5y4d6i; 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-Spam-Score: -3.43 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Qi5y4d6i; 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-Queue-Id: 6D7E589AF X-Spam-Score: -3.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: TKD2GZU1M+x6 "Christopher M. Miles" writes: > I defined a custom link type "video:". > > And when I added tag "video" in tags like bellowing: > > #+begin_src org > * headline 1 :tag1:video:hello > #+end_src Note that this particular example actually contains a link. Because you forgot the closing ":" in the tags. I guess you meant * headline 1 :tag1:video:hello: > It caused the tag ":video:" parsed and recognized as link. Here is the screenshot: > I suppose the link parsing need to be improved. This is fontification error. You can examine the parser state by issuing M-: (org-element-context) with point at the "link". It is correctly recognized as a headline with no link. The error is due to limitations in our current implementation of fontification. Will be fixed in https://orgmode.org/list/87ee7c9quk.fsf@localhost -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at