I am working on my Django project with emacs. In my virtualenv "postactivate" script, I have the following simple command:
find -L . -type f -name "*.py" | xargs etags -e > /dev/null 2>&1 &
The TAGS file is generated just fine, but the system seems pretty dumb. When the cursor is a call to a model filter, for example
MyModel.objects.filter(...)
and I find M-. sometimes emacs takes me to where MyModel is imported during the file (the actual import statement). I just want to attend class, method, and function definitions.
Is there a way to make etags smarter?
Thanks Ryan Kaskel
python django emacs tags
Ryan kaskel
source share