英文原文:http://stackoverflow.com/questions/2968542/the-ctags-command-doesnt-recurse-saying-it-is-not-a-regular-file
不能递归创建CTAGS的原因是我们用的是 GNU EMACS ETAGS !!!
$ ctags --version可以看到如下内容:
ctags (GNU Emacs 23.1)
Copyright (C) 2009 Free Software Foundation, Inc.
This program is distributed under the terms in ETAGS.README
$ man ctags也可以发现这点,其中的-R选项并不是递归创建TAGS的含义: -R, --no-regex
Don't do any more regexp matching on the following files. May
be freely intermixed with filenames and the --regex option.
解决办法是:sudo apt-get install exuberant-ctags