- Create tags table:
- Navigate to the source code directory
- Run the command find . -name "*.[chCH]" -print | etags - (assuming that etags is already installed). This will create a TAGS file in the directory from which the aforementioned command is run
- In emacs do M-x visit-tags-table and navigate to the directory where the aforementioned command was run. This will load the TAGS table
Friday, April 25, 2014
How to set up etags with emacs
Thursday, April 24, 2014
Ubuntu: Updating repostiories
# make a backup of the repository
sudo cp /etc/apt/sources.list cp /etc/apt/sources.list.bkup
# manually edit the sources.list and add the repositories
sudo vi /etc/apt/sources.list
# update the repository information
sudo apt-get update
sudo cp /etc/apt/sources.list cp /etc/apt/sources.list.bkup
# manually edit the sources.list and add the repositories
sudo vi /etc/apt/sources.list
# update the repository information
sudo apt-get update
Subscribe to:
Posts (Atom)