Re: make_ctags: use -I option to ignore pg_node_attr macro
От | Alvaro Herrera |
---|---|
Тема | Re: make_ctags: use -I option to ignore pg_node_attr macro |
Дата | |
Msg-id | 20221012142440.u2kmre2yp6p4fyr4@alvherre.pgsql обсуждение исходный текст |
Ответ на | Re: make_ctags: use -I option to ignore pg_node_attr macro (Tatsuo Ishii <ishii@sraoss.co.jp>) |
Ответы |
Re: make_ctags: use -I option to ignore pg_node_attr macro
|
Список | pgsql-hackers |
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)
В списке pgsql-hackers по дате отправления: