From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YL39IOfsYmKNaQAAbAwnHQ (envelope-from ) for ; Fri, 22 Apr 2022 19:59:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oJ8cIefsYmJKwAAA9RJhRA (envelope-from ) for ; Fri, 22 Apr 2022 19:59:03 +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 21353F025 for ; Fri, 22 Apr 2022 19:59:02 +0200 (CEST) Received: from localhost ([::1]:55710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhxYb-0000Hv-P3 for larch@yhetil.org; Fri, 22 Apr 2022 13:59:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhwnS-0006dD-41 for emacs-orgmode@gnu.org; Fri, 22 Apr 2022 13:10:18 -0400 Received: from relay11.mail.gandi.net ([2001:4b98:dc4:8::231]:38621) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhwnP-0001NK-NE for emacs-orgmode@gnu.org; Fri, 22 Apr 2022 13:10:17 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 2ADEF100005; Fri, 22 Apr 2022 17:10:08 +0000 (UTC) From: Nicolas Goaziou To: "Bruce D'Arcus" Subject: Re: overlap between cite syntax and link activation In-Reply-To: (Bruce D'Arcus's message of "Fri, 22 Apr 2022 08:47:20 -0400") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Mail-Followup-To: "Bruce D'Arcus" , John Kitchin , org-mode-email Date: Fri, 22 Apr 2022 19:10:08 +0200 Message-ID: <87levxavtb.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:4b98:dc4:8::231; envelope-from=mail@nicolasgoaziou.fr; helo=relay11.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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: , Cc: org-mode-email , John Kitchin Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650650343; 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; bh=bUL0gecD51DqE2sgAsnqAzqgG+FvDrh5MqcPvyEg6rg=; b=YKWfvOjC4Y/MB0lxJhLwp+pswWo6vSJ1/UXi1GU+6Ro0Yc1rpKaqIerX+X/X5QncK3dIy5 9MSyQNzxx1F6m5/nAL1qCmtaHmxaG5StUOKi8LKMJArTzIRVqg3nEJEkQ+5930CQvzJUoQ 6TIajO1I229b8wLqRa/XlikMCF+IwnWKwPuDf41KUtNQZEn6NosptS5fQhUukYg5taDf/6 43F99Lz/ODSTFroLTA0qzFZox7m/8yA29LvFdGxoXKZQdIFCOpN5OkxtDhIf0XXrPQI2Pj yRbKZnO/+tl/1bwlNgd/xKVoPTx1G44qHiXhlMsGAYtNA6yk1o+v23vuJS03Vw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650650343; a=rsa-sha256; cv=none; b=h5/kE7dGo0zxuPjvY+Z9zePO/OLN3QPMal8wfVWAWgAmw+ncVuSzYKTzELQtZCynfCuT1g +UDbGmj+FPdJmEAWE3GyLNnp5KB/fKlwiPPbgNjEtAyItn/ALoN8g2HZIpCST8taaPBX0g Xh9YsQR1xaSuESfZVBl6VopmMnxLcmRDybpZdRjnyTIqVWZOZW/GJq41hx+/HEGppz0gOC vebCYYiT5NP2PuU7hT2PbVNww+4q9QtU37hUlHiPNJT21BVOdU5SDJxuoeVpy0NTmNcfCP 7U9GoUNMoZ/lYSWO2gN4DYXD/P+2yZOlkMqaTv0a+2udDmZqwcS3Ht8VtJTZ2g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 21353F025 X-Spam-Score: -2.92 X-Migadu-Scanner: scn1.migadu.com X-TUID: hHQ6vWINhB+r Hello, "Bruce D'Arcus" writes: > Nicolas (or Ihor?) - can you take a look at this too? > > It's the second of the two stoppers that John identified. > > He seems to have reported a related issue last August, but it slipped > through the cracks. > > https://lists.gnu.org/archive/html/emacs-orgmode/2021-08/msg00303.html One short-term solution would be to use the same function to fontify links and cites. I.e., "org.el" could define `org-activate-cites-and-links', which in turn, would dispatch work to either `org-activate-links' or `org-cite-activate'. A long-term solution would be to apply fontification on top of parsed data exclusively. IIRC, I think Ihor started to work on something like this, but I don't know about the current state of that project. Regards, -- Nicolas Goaziou