Leonid Podolny <[EMAIL PROTECTED]> writes: > Bottom line: I'd like to ask all the kernel gurus out there to describe > their kernel hacking environment -- editor, code browsing plug-in, > general tips, etc.
While not qualifying for the "guru" title, I use xemacs (no flames, please!) with etags/gtags, grep (under emacs) liberally[1], and an assortment of elisp tools I wrote / accumulated over time. I dropped cscope many years ago. Having said that, there is something else I use, http://lxr.linux.no/source/ I use this for reading the vanilla kernel sources, but you can, in principle, install it and use to browse your private, modified sources as well. =========== WARNING: elisp code follows ==================== [1] Now, for x?emacs users here, I find something like this very useful, in and out of the kernel: (require 'compile) (require 'rcompile) (setq grep-command "egrep -n ") (defun add-names-to-find-list (names command) (if (null names) (concat "find . \\( -name \\*.txt" command) (add-names-to-find-list (cdr names) (concat " -o -name " (car names) command)))) (defun build-find-command (names) (add-names-to-find-list names " \\) -print0 ")) (setq grep-find-names (list "\\*.c" "\\*.C" "\\*.cc" "\\*.cpp" "\\*.cxx" "\\*.h" "\\*.hh" "\\*.S" "\\*.java" "\\*.f" "\\*.F" "\\*.inc" "\\*.awk" "\\*.sh" "\\*.pl" "\\*.py" "\\*.el" "\\*.lsp" "\\*.lisp" "\\*.tex" "\\*.mk" "\\*.mak" "Makefile" "makefile")) (setq grep-find-command (concat (build-find-command grep-find-names) "| xargs -0 -e " grep-command)) (global-set-key "\C-cf" 'grep-find) -- Oleg Goldshmidt | [EMAIL PROTECTED] | http://www.goldshmidt.org ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]