Showing posts with label emacs. Show all posts
Showing posts with label emacs. Show all posts

Saturday, March 21, 2009

emacs+etags

from http://tulrich.com/geekstuff/emacs.html:

from your base dir:

$ etags [your cpp hpp files]
(creates a TAGS file)

Then, from within emacs, go over your function:
M-.       goes to the symbol definition
M-0 M-.   goes to the next matching definition
M-*       return to your starting point

Sunday, March 15, 2009

emacs readonly

The command `view-file' will open a file read-only; you could bind it to some convenient key in your .emacs.

C-x C-r open a file in read-only mode
C-x C-q toggle-read-only

Friday, May 09, 2008

emacs text mode menubar

On text-only terminals with no mouse, you can use the menu bar by typing M-' or (these run the command tmm-menubar).

from
http://linux.about.com/od/emacs_doc/a/emacsdoc317.htm

Tuesday, April 17, 2007

Emacs jump at matching {}

M-C-b and M-C-f (backward-sexp and forward-sexp)