Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wAyP4-000cJB-23 for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Apr 2026 23:03:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wAyP2-0087fO-3C for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Apr 2026 23:03:13 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wAyP2-0087fG-2G for pgsql-hackers@lists.postgresql.org; Thu, 09 Apr 2026 23:03:13 +0000 Received: from fout-a1-smtp.messagingengine.com ([103.168.172.144]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wAyP1-00000000Elo-2S0J for pgsql-hackers@lists.postgresql.org; Thu, 09 Apr 2026 23:03:12 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id 5C81CEC0094; Thu, 9 Apr 2026 19:03:11 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Thu, 09 Apr 2026 19:03:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1775775791; x=1775862191; bh=AKXKP48rJk CdMQ1eVZN7nHaAO1GeY5BOpHlwYjZWDA0=; b=Fktv/iWU96YzWUzOvzSbiGLDOu 28gU8BmLK8nDhQDWotKo13MRohlhKH4EjgFuP13ax/kAX0QCsC640JKaaHg81Kfa mf5iiJt4kcz+f+tlUeJIYdSd5xaFu4QRDXxr+KCVi0s/G0dOjDMvc4aHMZ5w4aot QC2/yslHTWcwfWMl5X52z5xwwtE4hHmBp+TJXvWCGH7BZD5Vqysoitws8x/H9/lu 5nXQZJuzrYsI/0HuvQ1K+X3dWFw8ie70Fyf05FK5wwBt++gtgJyrb5ACNt40aVU2 hE2EQ/jT5LtQm3lqWbmVEhXxTrr/xr4Tjc2cmX8PARMMHg0Hr6Ju+D5+8Buw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1775775791; x=1775862191; bh=AKXKP48rJkCdMQ1eVZN7nHaAO1GeY5BOpHl wYjZWDA0=; b=el8D9WbUWgXWL3vcci924eaWCywIoJWikZoGPwcdpoJYlq7Y0Tq We1jsD+/hLccyUpSY7qEaL1x1nGSH4SCADw+WjLHBplhHncB911PL+AuIqWHx5lk apyJGprxe62Ak9qAwWmklsRpwbkKXTruz2nhjBm7TdiLLF6C1LePTotYp94VieMr FSG/M7x/PiTpEq9WR8makuQBGNONh6q4uTG75s9nUpDRQ70uF/S/fQ9UEvnppOPn xYXVebm2EzYB02ePRdgalN5sI1hfojF1fL1GS8T3iWnPuw2Haq083ZzdmJBglImV 4Xj5posCNNoQJE8XBzc85VqubsH06QcSgMQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgddvjeejjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlh cuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvden ucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprghquh hivghrrdighiiiqeenucggtffrrghtthgvrhhnpeetleeifedufffhhfdtteelgeeggeff hfekueevteeigfduudevudetgfegiedvjeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiiipdhn sggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehrjhhujh huuddvfeesghhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhs sehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 9 Apr 2026 19:03:10 -0400 (EDT) Date: Fri, 10 Apr 2026 08:03:06 +0900 From: Michael Paquier To: Julien Rouhaud Cc: Postgres hackers Subject: Re: Backpatching make_ctags -e and -n to v15 and v14 Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xH6cGZF2KS5PTUtI" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --xH6cGZF2KS5PTUtI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Apr 09, 2026 at 10:42:55AM +0800, Julien Rouhaud wrote: > Oh I missed the addition of the -n mode. I have switched my stuff to use -n just a few hours ago with a trick to tell emacs to look at the root of a git folder if we are in a git repo for the location of a TAGS file: (setq tags-table-list nil) (defun my/set-tags-table-to-git-root () "Set TAGS file path to the root of the current git repository." (let ((git-root (string-trim-right (shell-command-to-string "git rev-parse --show-toplevel")))) (when (and git-root (not (string-match-p "fatal" git-root))) (setq tags-file-name (expand-file-name "TAGS" git-root))))) (add-hook 'find-file-hook #'my/set-tags-table-to-git-root) Perhaps there is a smarter way to set that, no idea. This works quite nicely for me. > Honestly the creation of the symlinks in all the subdirectories is the main > reason why I never used the make_ctags script (and just used some local stuff > instead), so since I now know that I can use it strong +1 to backporting that > commit to v14 and v15. Thanks. This is going to save time for the two of us, at least, so done :) -- Michael --xH6cGZF2KS5PTUtI Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmnYMCoACgkQnvQgOdby QH1dfBAAn8Tt44bA3LbKCtBZIKJ67bx7QIVgtpDeY0EcoY7lNGW5dKWd8A7UXhBk cOhc3nxHGnkZOzxGRRsBXnj/lguE8eEvF4u++a9VJVRO9EKaJdGMRIT2KGuNXG6H o3PLxPY8Gn7FGbksX+7RRHwBSnoAcGZFSXeN/9pa7kwIDwIwRPW/+TKAf4Kd1L9g FMDBeoBhEYEQdFO7nH+X92gZk1y/7FdYu1S3kR0ZgVPM1feXLXRzRP8lpVRKjx/5 dWMjWRnL5aDS0hMcqgWdxoeiGu1Xfv1SXVYB3LJdDPCX+WDnuV2RkffVQn8Gzc9k In2KibooEJ0d86PaITaTmea+UzB0Jkv6m84zzQULSV6pwiVyjjJxYJgzacLjrrcH e224twaanurcFT+WZ9soobSVj/UhIJx3g6vWMcHwUiY5ljKrfIDXjoLdRu9ghy23 wrFCVC8Rx/4u71KQMolY6beBJ5YaE1FbyTKTXpoizjjVXk7RP+dwfC1otnzqZKz6 8BTEO3vyy/yxYF+Z4gLT6k8aPWo4bSa3RxvfvCo9YsZTEJxQqz/9JdUN59dsKqaP 3K20Sp/lN99n0jL9Tb6BmeXIuTNN6m6f6GRUa82vKiLOEUuZoBXHc/9RqUj3tU9+ mb6TNvgnxosHRgZK0Fii3WIsmeMJrLscOIFUHMUtx3/DIRitu7g= =5FuT -----END PGP SIGNATURE----- --xH6cGZF2KS5PTUtI--