Re: ctags(1) and mg(1) again

2011-11-27 Thread Sunil Nimmagadda
Manpage changes as suggested by jmc@, thanks. Index: Makefile === RCS file: /home/sunil/cvs/src/usr.bin/mg/Makefile,v retrieving revision 1.24 diff -u -p -r1.24 Makefile --- Makefile2 Feb 2011 05:21:36 - 1.24 +++ Makefil

Re: ctags(1) and mg(1) again

2011-11-23 Thread Sunil Nimmagadda
This version checks for presence and permissions of filename input by the user and report problems instead of marching on as suggested by Mark Lumsden. Comments? Index: Makefile === RCS file: /home/sunil/cvs/src/usr.bin/mg/Makefile,v

Re: ctags(1) and mg(1) again

2011-11-14 Thread Sunil Nimmagadda
Handling "Out of memory" gracefully instead of killing mg, check filename truncation and fixed a bug while using tags from an empty *scratch* buffer. Comments? Index: Makefile === RCS file: /home/sunil/cvs/src/usr.bin/mg/Makefile,v r

Re: ctags(1) and mg(1) again

2011-11-13 Thread Sunil Nimmagadda
On Mon, Nov 07, 2011 at 01:30:44PM -0500, Kjell Wooding wrote: > I would think that automatically reading any file in pwd named "tags," and > trying to parse it as a tags file *by default* whenever mg is started is a > bad choice. This version would load tags on first use, collect tags filename us

Re: ctags(1) and mg(1) again

2011-11-07 Thread Kjell Wooding
I would think that automatically reading any file in pwd named "tags," and trying to parse it as a tags file *by default* whenever mg is started is a bad choice.

Re: ctags(1) and mg(1) again

2011-11-07 Thread Sunil Nimmagadda
This diff fixes a couple of bugs found by Mark Lumsden. It would be great if other mg users interested in this diff could test. Index: Makefile === RCS file: /home/sunil/cvs/src/usr.bin/mg/Makefile,v retrieving revision 1.24 diff -u -

Re: ctags(1) and mg(1) again

2011-10-13 Thread Mark Lumsden
I'll try and have a look at it. Although, I may not be able to do it for a couple of weeks, vbusy. Any other tests/comments from other mg users most welcome. -lum

Re: ctags(1) and mg(1) again

2011-10-13 Thread Sunil Nimmagadda
The new file tags.c now has a proper license. Could you please review this new diff. Index: Makefile === RCS file: /home/sunil/cvs/src/usr.bin/mg/Makefile,v retrieving revision 1.24 diff -u -p -r1.24 Makefile --- Makefile2 Feb 201

ctags(1) and mg(1) again

2011-10-09 Thread Sunil Nimmagadda
Hello, This time a little smaller and a simplified diff. A brief outline of what it does... 1) During mg startup it checks and loads a file named "tags" in pwd. 2) M-. would jump to the definition of identifier under cursor if it has an entry in tags file. 3) MS-* pops back to the location before