From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MD/9AY4YImCPQwAA0tVLHw (envelope-from ) for ; Tue, 09 Feb 2021 05:07:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gEhJOY0YImC9AQAAbx9fmQ (envelope-from ) for ; Tue, 09 Feb 2021 05:07:25 +0000 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 4F0B99402AB for ; Tue, 9 Feb 2021 05:07:25 +0000 (UTC) Received: from localhost ([::1]:53554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9LFD-0008KQ-QX for larch@yhetil.org; Tue, 09 Feb 2021 00:07:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9LES-0008JK-U0 for emacs-orgmode@gnu.org; Tue, 09 Feb 2021 00:06:36 -0500 Received: from out0.migadu.com ([2001:41d0:2:267::]:45121) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9LEG-00009a-Fs for emacs-orgmode@gnu.org; Tue, 09 Feb 2021 00:06:35 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1612847179; h=from:from: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; bh=YmofrnpVmQywqCSsn7mmk8Nfl7BLoYDZZbbsQIwd7Nc=; b=fNLUvr+SfJML/5dYar5YHO8etkGoohB932xPup7ETxG9mP1Xt7Oe0a9uZh5aHI7HPCFppX mCUyPZ67JquzvC75RSH+IEJVV3JZ/WQll/SG6WzmAZ4LHdUI3Dle4i6ud7QVnJAWpNFy+U pqHyCe2P8PaemWIZEctTorOSNqo89AnE+HZ52Xpy8Fr69jcQtkBCp2LArDfd9DzhWSKmru iHt9CbrqtUdn+4vc6CpRO/4pJk4t7a2yYmRSISJ8HrHAfdZeqxc26aZ3ED/Cn1p5hYfa1j Iw9nUVfCmMrcfyecJvYsDxIwu2BybE8yFdD4Zs6iLrnqxBgSqxUCz3t6XI4ToQ== From: Kyle Meyer To: Adam Sneller , John Kitchin Subject: Re: Auto-activate new <<>> In-Reply-To: <57A50164-0D47-45A3-B92A-305E8EF9B81A@earth2adam.com> References: <86311E4A-E38F-4173-A662-922F82B7FCEB@ms2.digital> <87o8gvxrdg.fsf@kyleam.com> <57A50164-0D47-45A3-B92A-305E8EF9B81A@earth2adam.com> Date: Tue, 09 Feb 2021 00:06:18 -0500 Message-ID: <87sg65u8xh.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: kyle@kyleam.com Received-SPF: pass client-ip=2001:41d0:2:267::; envelope-from=kyle@kyleam.com; helo=out0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "emacs-orgmode@gnu.org" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.56 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=fNLUvr+S; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 4F0B99402AB X-Spam-Score: -2.56 X-Migadu-Scanner: scn1.migadu.com X-TUID: W9fiqVyQ/jj2 Adam Sneller writes: > Thanks John! It looks like there is also an org-activate-target-links > which may narrow the field a bit. Here is what I have so far: > > (defadvice org-activate-target-links (after ad-update-target-links ()) > "Activate radio target links as soon as a new target is created." > (lambda () > (interactive) > (when (and (org-in-regexp org-target-regexp) > (not (org-in-regexp org-target-regexp nil t))) > (org-update-radio-target-regexp)))) > (ad-activate 'org-activate-target-links) > > Unfortunately, this is not working for me... > > Any ideas? org-activate-target-links _depends_ on org-update-radio-target-regexp being called to update org-target-link-regexp, so I don't think it's a candidate for a place to hook into if you want org-update-radio-target-regexp to be triggered on typing <<>>.