Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oicfG-0002Fi-Oq for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Oct 2022 14:24:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oicfF-00006Z-Ao for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Oct 2022 14:24:53 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oicfF-00005Y-1s for pgsql-hackers@lists.postgresql.org; Wed, 12 Oct 2022 14:24:53 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oicf8-0006tr-0T for pgsql-hackers@postgresql.org; Wed, 12 Oct 2022 14:24:52 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id A86073200927; Wed, 12 Oct 2022 10:24:43 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 12 Oct 2022 10:24:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1665584683; x=1665671083; bh=k Ds7ls6JXgGsH29qxwPdQbWI0jvq2ttq9x0g5ejPnZE=; b=P9SqFSVVAhW9g36UT 9InfHWuSaC/2FR3Tt3l+ezLe8N0hYWPElNw+7sK55Vji7beDQxKty0FYgudrLgxc R/mtvwiDKM64qppjBvKbvBaJpzLQFh3gmo/7F4Umg2uotxGU2vaB5QvaOrAZCQmY DRADLDIEjNwdoygZKH9OSB0ZIkaCRb5J7mJLJ5+8JiSccQPigVOjpLognOIh1IdZ pvz9b6nRJSbFD2vuS12PNhZnNh0oIvoCMo0PuxEKSC3vjiwRaHBQ+ugIYtV5f2mr LDvC6/p/Lx1URtbVaBkcYGDYJn4ZGjcGZJhQDB/RGnUNicXN3ny6qEZedOD/pHSj rZBAQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeejkedgjeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepvdektdffudfftdffffehfffhjeejhffgieeuueekjeek fffgudffhfduffffueevnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhv hhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 12 Oct 2022 10:24:42 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 326D366; Wed, 12 Oct 2022 16:24:40 +0200 (CEST) Date: Wed, 12 Oct 2022 16:24:40 +0200 From: Alvaro Herrera To: Tatsuo Ishii Cc: nagata@sraoss.co.jp, pgsql-hackers@postgresql.org Subject: Re: make_ctags: use -I option to ignore pg_node_attr macro Message-ID: <20221012142440.u2kmre2yp6p4fyr4@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221012.222603.1209235348946415695.t-ishii@sranhm.sra.co.jp> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022-Oct-12, Tatsuo Ishii wrote: > >> find . \( -name 'CVS' -prune \) -o \( -name .git -prune \) -o -type d -print | > >> while read DIR > >> -do [ "$DIR" != "." ] && ln -f -s `echo "$DIR" | sed 's;/[^/]*;/..;g'`/tags "$DIR"/tags > >> +do [ "$DIR" != "." ] && ln -f -s `echo "$DIR" | sed 's;/[^/]*;/..;g'`/$tags_file "$DIR"/$tags_file > >> done > > > > ... does this create a tags symlink on each directory? This seems > > strange to me, > > I don't know the original author's intention for this but I think it > makes use of the tag file in emacs a little bit easier. Emacs > confirms for the first time the default location of tags file under > the same directory where the source file resides. I can just hit > return key if there's a symlink of tags. If we do not create the > symlink, we have to specify the directory where the tags file was > originally created, which is a little bit annoying. OK, that sounds good then. I would make a feature request to have a switch that supresses creation of these links, then. > Well, I often visit different tags file for different development > projects (for example Pgpool-II) and I don't want to have fixed > location of tags file in emacs setting. For this reason make_etags's > approach is acceptable for me. Makes sense. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ Thou shalt study thy libraries and strive not to reinvent them without cause, that thy code may be short and readable and thy days pleasant and productive. (7th Commandment for C Programmers)