Menu

#64 keep/flush lines in cscope result buffer

open
Darryl
5
2012-12-29
2008-02-28
lgfang
No

Sometimes there are lots of entries in the result buffer. But we may only care some of them. So I patched xcscope.el to add that functionality. There are 3 interactive functions added:

cscope-wash-flush
cscope-wash-keep
cscope-undo

Since it may not frequently used, I didn't assign hot keys for them.

The implementation is straight-forward: just make the buffer writable, them call flush-lines or keep-lines accordingly.

In fact, to gain more flexibility, you can just 'C-x C-q' to change *cscope* buffer to writable and operate on it directly.

Discussion

  • lgfang

    lgfang - 2008-02-28

    diff -cb xcscope.el xcscope.wash.el > xcscope.wash.patch

     
  • lgfang

    lgfang - 2008-02-28

    Logged In: YES
    user_id=1964982
    Originator: YES

    The patch file is based on the xcscope.el come with cscope-15.6.tar.gz

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.