From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.50; assert arguments warning Date: Wed, 16 Jan 2008 03:31:34 -0500 Message-ID: References: <478D0217.4030000@gmail.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1200473808 19523 80.91.229.12 (16 Jan 2008 08:56:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Jan 2008 08:56:48 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: "Lennart Borgman (gmail)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 16 09:57:11 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JF454-0008RJ-1o for ged-emacs-devel@m.gmane.org; Wed, 16 Jan 2008 09:57:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JF44f-0005JG-E8 for ged-emacs-devel@m.gmane.org; Wed, 16 Jan 2008 03:56:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JF42m-0003rG-3L for emacs-devel@gnu.org; Wed, 16 Jan 2008 03:54:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JF42f-0003kv-UA for emacs-devel@gnu.org; Wed, 16 Jan 2008 03:54:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JF42d-0003js-E7 for emacs-devel@gnu.org; Wed, 16 Jan 2008 03:54:35 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JF42c-0008Tj-Jt for emacs-devel@gnu.org; Wed, 16 Jan 2008 03:54:34 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JF3gM-00018s-2B; Wed, 16 Jan 2008 03:31:34 -0500 In-reply-to: <478D0217.4030000@gmail.com> (lennart.borgman@gmail.com) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:86971 gmane.emacs.pretest.bugs:20672 Archived-At: (eval-when-compile (require 'cl)) (let ((end 1)(pos 2)) (assert (<= pos end) t "p=%s e=%s" pos end)) This gives a warning my-file.el:32:42:Warning: `error' called with 4 args to fill 2 format field(s) That error seems correct. You gave t for SHOW-ARGS, so it put `pos' and `end' into the `error' call automatically. Then you added `pos' and `end' yourself. That makes 4 format args, but just two %s to display them. I wonder if SHOW-ARGS is not properly documented. Did you misunderstand its meaning?