Wednesday, June 22, 2011

Cscope output window line wraps in Emacs

As mentioned in a previous post, I often find it useful to disable line wrapping. Unfortunately, if you use cscope in Emacs, you will notice that it doesn't obey the default truncate-lines setting. Search results are wraped making parsing with a eye slightly more cumbersome. To disable the line wraps, add the following code to your .emacs file.
(setq cscope-truncate-lines t)

No comments: