From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sarir Khamsi Newsgroups: gmane.emacs.help Subject: Problems stepping through PC-lint output Date: Thu, 03 Nov 2005 15:10:34 -0700 Organization: Raytheon Company Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1131056208 1363 80.91.229.2 (3 Nov 2005 22:16:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Nov 2005 22:16:48 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 03 23:16:40 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EXnMq-0004tl-AW for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Nov 2005 23:15:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EXnMn-0003Gm-Ur for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Nov 2005 17:15:30 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bos-service1.raytheon.com!dfw-service2.ext.ray.com.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:brrqS+f9zqVt7P5915jf/gY3BHQ= Original-Lines: 44 Original-NNTP-Posting-Host: 147.24.52.80 Original-X-Complaints-To: news@ext.ray.com Original-X-Trace: dfw-service2.ext.ray.com 1131055835 147.24.52.80 (Thu, 03 Nov 2005 16:10:35 CST) Original-NNTP-Posting-Date: Thu, 03 Nov 2005 16:10:35 CST Original-Xref: shelby.stanford.edu gnu.emacs.help:135214 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30805 Archived-At: I am using GNU Emacs (22.0.50.20) on WinXP, SP2 to step through the output of PC-lint using the Emacs "next-error" command but am having problems. First, I execute "compilation-mode" on the PC-lint output file to get into, well, compilation mode (this also changes the colors of the warnings, errors, info, etc). Next, I step through the output with the "next-error" command, as mentioned, but some of the output gets skipped entirely. That is, when I press "next-error" to have Emacs go to the source code where the next "error" is, some lines in the PC-lint output get skipped. For example, given the lines --- Module: Vehicle.cpp _ #define D2R 0.0174532925199433 MathGlobals.h:41:12: Note 1923: macro 'D2R' could become const variable -- Effective C++ #1 _ #define R2D 1/D2R MathGlobals.h:42:14: Info 773: Expression-like macro 'R2D' not parenthesized MathGlobals.h:42:14: Note 1923: macro 'R2D' could become const variable -- Effective C++ #1 _ d_IParam(double); ConcreteTypes.hpp:21:19: Note 1931: Constructor 'd_IParam::d_IParam(double)' can be used for implicit conversions -- More Effective C++ #5 _ i_IParam(int); the "MathGlobals.h:42:14: Info 773" line will get skipped and Emacs will jump to the next message (in this case, the second "Note 1923" about R2D). I am using -"format=%(%f:%l:%c: %)%t %n: %m" in my options.lnt file for PC-lint (per some instructions on the web), which helped get this working at all, but I can't see why lines are getting skipped. Any ideas? Thanks. Sarir -- Sarir Khamsi email: sarir.khamsi@raytheon.com