Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ucbvax!BFLY-VAX.BBN.COM!dm From: dm@BFLY-VAX.BBN.COM (David Mankins) Newsgroups: comp.emacs Subject: running lint from gnu-emacs Message-ID: <8802051509.AA16336@ucbvax.Berkeley.EDU> Date: 5 Feb 88 04:25:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 21 put this into a shell-file (called ``elint'' (are you listening, Ft. Meade?)), you can invoke it with a M-X compile command. The output will be parseable by emacs so that you can step through it using the ``next-error'' function (which I think is bound to M-` -- that's ``escape accent-grave''): #!/bin/sh # a program which massages lint output for proper parsing in an emacs # M-X compile command. # an input line of the form # fname(lnum): error # is massaged to: # "fnam", line lnum: error lint $* | sed -e 's/^/"/' -e 's/(/", line /' -e 's/)//' [JR, would you forward this to the local gnu-emacs list, please?]