From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Percent sign in message Date: Mon, 11 Sep 2006 23:03:55 +0200 Message-ID: <85hczedsjo.fsf@lola.goethe.zz> References: <200609110657.k8B6vTHW021987@ushabti.sfbay.sun.com> <85mz96c1m9.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1158008676 23163 80.91.229.2 (11 Sep 2006 21:04:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Sep 2006 21:04:36 +0000 (UTC) Cc: whitfield.diffie@sun.com, storm@cua.dk, michael.cadilhac@lrde.org, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 11 23:04:32 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GMsx4-00035I-CT for ged-emacs-devel@m.gmane.org; Mon, 11 Sep 2006 23:04:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMsx3-0003yX-UP for ged-emacs-devel@m.gmane.org; Mon, 11 Sep 2006 17:04:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GMswt-0003xz-Eu for emacs-devel@gnu.org; Mon, 11 Sep 2006 17:04:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GMsws-0003xZ-TD for emacs-devel@gnu.org; Mon, 11 Sep 2006 17:04:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMsws-0003xU-M2 for emacs-devel@gnu.org; Mon, 11 Sep 2006 17:04:10 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GMsyE-0004c5-5Z for emacs-devel@gnu.org; Mon, 11 Sep 2006 17:05:34 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1GMswi-0001xx-7i; Mon, 11 Sep 2006 17:04:00 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 828E61C40B5C; Mon, 11 Sep 2006 23:03:55 +0200 (CEST) Original-To: Stefan Monnier In-Reply-To: (Stefan Monnier's message of "Mon\, 11 Sep 2006 17\:00\:12 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:59711 Archived-At: Stefan Monnier writes: >> Of course, we could also add a compiler warning whenever we see >> (message ) and is not a constant string. > >> I think that would give too many false warnings, because it is not >> unusual to obtain the format string from some non-constant source. > > Could be. But the warning can be turned off by using (message "%s" ). That would need to be (message "%s" (format )) It is not unusual to obtain a _format_ string from some non-constant source. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum