Re: cscope support in mg

2012-06-01 Thread Mark Lumsden
> Here is an updated diff with following changes... > > Manpage update. > Remove conditional compilation of cscope functionality. > Fixed a memory leak in csexists function. > Treat current word at cursor as default input for cscope commands. > > Comments? I like it. I'm using your previous diff

Re: cscope support in mg

2012-05-30 Thread Sunil Nimmagadda
Here is an updated diff with following changes... Manpage update. Remove conditional compilation of cscope functionality. Fixed a memory leak in csexists function. Treat current word at cursor as default input for cscope commands. Comments? Index: Makefile ===

Re: cscope support in mg

2012-03-01 Thread Sunil Nimmagadda
On Thu, Mar 01, 2012 at 10:27:19AM +0100, Janne Johansson wrote: > Is there a way to have less "magic numbers" here and actually have > some readable #defines or anything? > The code would of course be the same, but these numbered calls look ugly to > me. > > Here is a diff with #defines and a

Re: cscope support in mg

2012-03-01 Thread Janne Johansson
2012/2/29 Sunil Nimmagadda : > On Fri, Sep 02, 2011 at 02:23:28PM -0300, Christiano F. Haesbaert wrote: >> On 2 September 2011 14:17, Matthew Dempsky wrote: >> > I'd love to have ctags support in mg. >> >> cscope would be cool too, if not too much bloat. > Th

cscope support in mg

2012-02-29 Thread Sunil Nimmagadda
s support in mg. > > > > cscope would be cool too, if not too much bloat. This diff adds some cscope support in mg. Keybindings are same as xcscope that comes with emacs. Find this symbol C-c s s Find this global definition C-c s d Find functions called by this function C-c s l Find funct