From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Problems stepping through PC-lint output Date: Sat, 05 Nov 2005 09:52:55 +0200 Organization: JURTA Message-ID: <87wtjnhav4.fsf@jurta.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1131177988 1201 80.91.229.2 (5 Nov 2005 08:06:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 Nov 2005 08:06:28 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 05 09:06:25 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EYJ3C-0007k3-I2 for ged-emacs-devel@m.gmane.org; Sat, 05 Nov 2005 09:05:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EYJ0q-0006lO-6p for ged-emacs-devel@m.gmane.org; Sat, 05 Nov 2005 03:02:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EYIxT-0006Km-P8 for emacs-devel@gnu.org; Sat, 05 Nov 2005 02:59:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EYIxS-0006KM-6S for emacs-devel@gnu.org; Sat, 05 Nov 2005 02:59:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EYIxI-0006H3-Pg for emacs-devel@gnu.org; Sat, 05 Nov 2005 02:59:17 -0500 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EYIxJ-0001pw-02 for emacs-devel@gnu.org; Sat, 05 Nov 2005 02:59:17 -0500 Original-Received: from mail.neti.ee (80-235-33-80-dsl.mus.estpak.ee [80.235.33.80]) by Relayhost1.neti.ee (Postfix) with ESMTP id 949D81A85; Sat, 5 Nov 2005 09:59:29 +0200 (EET) Original-To: Sarir Khamsi In-Reply-To: (Sarir Khamsi's message of "Fri, 04 Nov 2005 15:46:21 -0700") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:45430 Archived-At: > MathGlobals.h:42:14: Info 773: Expression-like macro 'R2D' not parenthesized > MathGlobals.h:42:14: Note 1923: macro 'R2D' could become const variable -- >[...] > 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). Please see the documentation of the variable `compilation-skip-threshold'. It has the default value 1 which means that `next-error' skips anything less than a warning. In your case the "MathGlobals.h:42:14: Info 773" line is less than a warning. It is an informational message. If you set this variable to 0, you can visit informational messages as well. Also please note that when you set it to 0, you will skip the error message on the second line "MathGlobals.h:42:14: Note 1923", but for another reason: it is located on the same line and column as its preceding message (i.e. both have 42:14). The default value `t' of another variable `compilation-skip-to-next-location' which skips multiple error messages for the same source location, will skip it too. You can set it to `nil' if you want. BTW, after looking at these variables, I have some questions: These variables are not documented in the Emacs manual. Should they? I don't understand why `compilation-skip-to-next-location' is not defined with `defcustom' whereas other related variables are. Should it? The documentation string of `compilation-skip-threshold' says: "The value can be either 2 -- skip anything less than error, 1 -- skip anything less than warning or 0 -- don't skip any messages." Is it grammatically correct English? IIUC, "either" means "one of two", not "one of three" or more. -- Juri Linkov http://www.jurta.org/emacs/