I’m new to emacs lisp programming. I’m a developer and programming in c on daily basis. I would like to use tags for code browsing with emacs. However, size of my project very big and cant afford to run etags every now and then. I would like add lisp function or code in emacs in such a way, every file i open emacs has to written to one file (name it as ~/project_files_opened.txt) and i will cron job which will etags only the opened files.. Can someone please help me with some references or existing code to do this ?. Even some examples would help me to pick up… Thanks..
Share
How about a slightly different tact? When you open a file (that you care about), at that point, add it to the TAGS file. You can do that pretty easily with the following code:
Every once in a while you’ll want to delete the TAGS file to refresh the contents. Or you can use something like the following M-x refresh-tags-table: