From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp1.migadu.com ([2001:41d0:403:4876::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms8.migadu.com with LMTPS
	id CFQvBhuHx2UHbQEA62LTzQ:P1
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 10 Feb 2024 15:24:27 +0100
Received: from aspmx1.migadu.com ([2001:41d0:403:4876::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp1.migadu.com with LMTPS
	id CFQvBhuHx2UHbQEA62LTzQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 10 Feb 2024 15:24:27 +0100
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=Zz1RdIMa;
	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=1707575067; a=rsa-sha256; cv=none;
	b=BGEAMt56NFB2aO/w+ZE3GIl/JWeeYo/9caXIT50MNEFjluaCU50OCdBRXFaHPwDI/LMPMq
	+gFPXHU6saTk2tkfDkjuaRqa4d+E5wKtReHruDM3fKgPZw5zXJ6o+vfH8ksYNFV7zpv2OJ
	VaJrWiU7sQS5PAC9KX5TV2Ie5/WmmgmeIwf1WqOXr+t4bgmAJ9fQUjGgMLf1G1PdXUZafM
	dwqAuDhoabe5wunlFq8FWADuZRx8wYA2drnPMEBoBrcW9qP87fmTJpub+NBn7faySHwMRg
	GwFPpzNPXL4YWcIETPUIsu8BC78EsaZZxKB9U27d0XFhT7hxBTJWB6iZ/ptMDA==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=Zz1RdIMa;
	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=1707575067;
	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=BjsaIOGawFYozffF4SLtOEvOPQ8tXGojlsTrLtfM2kQ=;
	b=HexXGXpWJMNLD0b/k8nWQWfTLOVY2pE+UVynn25vNTiYWMraLBpgEpyLYj0dwAeiOi1QQW
	2WdpQuIUda+8ekvtXP+pBQNhwtuAFYGbV6tM+g8Rrg37X9a652x8lriT/Zr+fOZ97gCWFq
	sky54QzOxrix0MhVnHXcR9QtZ/1l1gqYUkRYwWYXTrS2VF5LpN+fdIkxg9amVkD/OQE0TM
	B1m+57kTmTPAe9rf7qGhK1Q/Y4SWrCtNwwPjtVB95WHvA/+lxl2VrJQvbHrhSyp9H8u/nW
	84BWkS9xjR3+/aF3LSGfIIG80ZRwZdDSncxW+sGQ11jAwxp5RAOEDGyqqytIhg==
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 9D5F8A181
	for <larch@yhetil.org>; Sat, 10 Feb 2024 15:24:26 +0100 (CET)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces@gnu.org>)
	id 1rYoGY-0007iN-8D; Sat, 10 Feb 2024 09:23:38 -0500
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 <yantar92@posteo.net>)
 id 1rYoGV-0007gO-K8
 for emacs-orgmode@gnu.org; Sat, 10 Feb 2024 09:23:35 -0500
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 <yantar92@posteo.net>)
 id 1rYoGS-00061W-KT
 for emacs-orgmode@gnu.org; Sat, 10 Feb 2024 09:23:34 -0500
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 03F12240103
 for <emacs-orgmode@gnu.org>; Sat, 10 Feb 2024 15:23:30 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1707575010; bh=qpXYIY0mPI4r7fLhOxY0lZ7eIiORWh8qQ5EA80DRGDs=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:
 From;
 b=Zz1RdIMa8iv2zjVsS5bTvOEUllNi9CuTWMop4rz4wNl72VWCeYkhN9Z4l/v9BBt95
 xLCSdl81XWCg+d0VDXLa88TCk1jyUlxW46EXm6VlVeRtncJJrqN9MsynSXatIT4C1p
 B+gRiXeqxw+sTy/qfPnu/Pj12PVxN86xLnGcPb2+0WbLpOoO3niL2lT5eOlOdi0yaZ
 7HnLX5OVd4Ru17/F0oo7YyIrHTdy8+FssLjppIDXY23EuKw94LgQ8DLI/OYfAcqtO3
 fyecuh3OtuG+FvZuAHdCEkneDeZwMpdh1KO4bmkgguOZhxI2U2ZuXB7ee1fcl53X18
 6qPMMh3uIAPAQ==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4TXCcx2Xh7z9rxL;
 Sat, 10 Feb 2024 15:23:29 +0100 (CET)
From: Ihor Radchenko <yantar92@posteo.net>
To: Martin Marshall <law@martinmarshall.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] `org-ctags-create-tags` creates empty TAGS file [9.6.15
 (release_9.6.15 @ /home/martin/Projects/emacs/lisp/org/)]
In-Reply-To: <87h6ihgphf.fsf@martinmarshall.com>
References: <87h6ihgphf.fsf@martinmarshall.com>
Date: Sat, 10 Feb 2024 14:27:05 +0000
Message-ID: <874jegqts6.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_H4=0.001, RCVD_IN_MSPIKE_WL=0.001,
 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." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=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: mx10.migadu.com
X-Spam-Score: -9.85
X-Migadu-Queue-Id: 9D5F8A181
X-Migadu-Spam-Score: -9.85
X-TUID: zo2h7K6aK94P

Martin Marshall <law@martinmarshall.com> writes:

> Hi, the docstring of `org-ctags-create-tags` says it should "(Re)create
> tags file in the directory of the active buffer," creating tags from the
> internal links found in the org files.  However, it always creates an
> empty TAGS file.
>
> The cause appears to be a pair of escaped quotes used with
> `shell-command` when it calls the "ctags" executable.
> ...
> I've attached a patch against the current Emacs master branch.  I hope
> that's sufficient, given the minimal nature of the change.

Thanks!
Applied, onto main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=981402a93

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>