Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linux kernel tags in Emacs

So I built the linux kernel tags using the make tags command but for some reason when opening the tags file in emacs (for tag lookups) first it asks if I really want to open the file (which makes sense because the file is a 66mb tag file so that's a lot of definitions) and then after it tries to load it it tells me that it is an invalid tag file. Does the linux kernel tags file just not work in Emacs or is there something that I need to configure?

like image 924
Jesus Ramos Avatar asked Aug 23 '11 05:08

Jesus Ramos


1 Answers

Check the makefile and see if make tags uses ctags instead of etags. If it does, you may need to do some editing to make it use etags.

To generate a tag file for use within Emacs you have to launch the command make TAGS instead of make tags as you did. That is, the uppercase «TAGS» option will generate the etags table.

like image 87
cristobalito Avatar answered Sep 24 '22 22:09

cristobalito