From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OMGfOc2FE2VrGAEA9RJhRA:P1 (envelope-from ) for ; Wed, 27 Sep 2023 03:30:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OMGfOc2FE2VrGAEA9RJhRA (envelope-from ) for ; Wed, 27 Sep 2023 03:30:54 +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 7B8BE54224 for ; Wed, 27 Sep 2023 03:30:53 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=breatheoutbreathe.in header.s=key1 header.b=Oy8EKXz8; 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=pass (policy=quarantine) header.from=breatheoutbreathe.in ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695778253; 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=s9ZwmqL2Uqk/xqFpXb4SHI3qBFEoEZgakrk3l9p2VAg=; b=OCp7jxRC/nUwOxP333exTwAzXDHEQi96iGhiiJQ4iNg+rhv+ZS2WOUCWEa3CV1EAf1seEu 2CMj+GKzZlnHcGgUribVQn0skbUk1gsuG4DeCeuDHEXiFDuIdr2VHbxoV8D5ZAYnrcN5zz TLGB6wcVlXkMMspgUSw6DFStZL86gxJJt8+/CAhVf8Uhy04C0uOw8PhMOeHFPw66Ltm/N/ je3y28yzhOccDTYTGzu2Ci1S0V24ri5o7MWNPeAByhlQ75Ecu98Jr53pXcpHtcbCx/o78H q9wVxtzv7P9P9BjbDPUxwJOqByV7f2vQMsHXOVHbZE6WVUR68NHZ+u6f0xNoUw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695778253; a=rsa-sha256; cv=none; b=IX0aVQ4xoRYjC2uysQK6zu07MU/A/bKODQGCCI/wYUnWjf3ffWIl0nzFpncR6nGhX/KNt3 ZKndegrtYdphLbpSG9ZMw3wOl2xKf8lG+TsmBBdQWH0G/S2ddbLxJIw7Dka8F3AJb1CakI n4RBL/7/wu6TXoH+OCvls8LpOxJa4XWhYpBE3ycUr5ncY+7eSazMJ0Qb2XQmFJnTi/m2n0 3AXLqhg3tr2q4bzWqPwuefj4bfYYcv+3j/CCi5XHsmKgp5z5HmI4b6s4r4uUibViiHFLaE v9bOtOSnEO8mjwUqvaNhiXrcUf6E8vRPdTxIAJeEUyROQxkd7b2Bn3QmMf6VqQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=breatheoutbreathe.in header.s=key1 header.b=Oy8EKXz8; 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=pass (policy=quarantine) header.from=breatheoutbreathe.in Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qlJNF-000735-R5; Tue, 26 Sep 2023 21:29:57 -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 1qlJNE-00072g-1e for emacs-orgmode@gnu.org; Tue, 26 Sep 2023 21:29:56 -0400 Received: from out-202.mta0.migadu.com ([2001:41d0:1004:224b::ca]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qlJNB-0002Rf-Kv for emacs-orgmode@gnu.org; Tue, 26 Sep 2023 21:29:55 -0400 References: <87a5tax35x.fsf@breatheoutbreathe.in> <87bkdp9sm4.fsf@localhost> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=breatheoutbreathe.in; s=key1; t=1695778190; 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=s9ZwmqL2Uqk/xqFpXb4SHI3qBFEoEZgakrk3l9p2VAg=; b=Oy8EKXz8GAj8FMOCoi7DHBRvl3Rj+48AT7ibPa2lnRCjjOOyzt+d2ccw7kzh5TpfATq7Uz JLSfm6VXVb2qHmFO4CJBxzEocuS9gMZx8jpK8eHLI/MyrBLTgAwe3LZuEYbGw3TZb6ib23 solhZg4pCzyhFZ0xmZKe8KKKrgFxUTo= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Joseph Turner To: Ihor Radchenko Cc: emacs-orgmode@gnu.org, Adam Porter Subject: Re: org-ctags-find-tag should not prompt inside org-open-at-point Date: Tue, 26 Sep 2023 18:27:15 -0700 In-reply-to: <87bkdp9sm4.fsf@localhost> Message-ID: <8734z0h08l.fsf@breatheoutbreathe.in> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:41d0:1004:224b::ca; envelope-from=joseph@breatheoutbreathe.in; helo=out-202.mta0.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.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -4.47 X-Spam-Score: -4.47 X-Migadu-Queue-Id: 7B8BE54224 X-TUID: k6IflpijwsF6 Ihor Radchenko writes: > Joseph Turner writes: > >> When org-ctags-find-tag is a member of org-open-link-functions, fuzzy >> links and custom-id links are broken. Instead of following those links, >> Emacs prompts for a filename with "Visit tags table (default TAGS)". > > This is expected. As per org-ctags documentation: > > ;; By default, with org-ctags loaded, org will first try and visit the tag > ;; with the same name as the link; then, if unsuccessful, ask the user if > ;; he/she wants to rebuild the 'TAGS' database and try again; then ask if > ;; the user wishes to append 'tag' as a new toplevel heading at the end of > ;; the buffer; and finally, defer to org's default behavior which is to > ;; search the entire text of the current buffer for 'tag'. > ;; > ;; This behavior can be modified by changing the value of > ;; ORG-CTAGS-OPEN-LINK-FUNCTIONS. > >> I'm sure how org-ctags is getting required in my Emacs, but I think >> (require 'org-ctags) probably shouldn't call org-ctags-enable. > > Check out > https://list.orgmode.org/orgmode/87o7omg4ie.fsf@alphaville.usersys.redhat.com/ Thank you!! I'm glad to see such care taken in considering this issue! > We generally agree that (require 'org-ctags) should ideally not have > side effects, but do not want to introduce too breaking changes either. Does this mean that org-ctag's disruptive behavior will be fixed? Thanks!! Joseph