From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Percent sign in message Date: Mon, 11 Sep 2006 18:05:22 -0400 Message-ID: References: <200609110657.k8B6vTHW021987@ushabti.sfbay.sun.com> <85mz96c1m9.fsf@lola.goethe.zz> <85hczedsjo.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 1158012343 2779 80.91.229.2 (11 Sep 2006 22:05:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Sep 2006 22:05:43 +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 Tue Sep 12 00:05:39 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 1GMtuM-0006oH-Fq for ged-emacs-devel@m.gmane.org; Tue, 12 Sep 2006 00:05:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMtuM-00079J-2R for ged-emacs-devel@m.gmane.org; Mon, 11 Sep 2006 18:05:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GMtuB-00079E-EG for emacs-devel@gnu.org; Mon, 11 Sep 2006 18:05:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GMtu9-00077V-LO for emacs-devel@gnu.org; Mon, 11 Sep 2006 18:05:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMtu9-00077P-I6 for emacs-devel@gnu.org; Mon, 11 Sep 2006 18:05:25 -0400 Original-Received: from [209.226.175.93] (helo=tomts36-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GMtvU-00018o-4v; Mon, 11 Sep 2006 18:06:48 -0400 Original-Received: from localhost ([70.55.143.66]) by tomts36-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060911220523.XTAL13653.tomts36-srv.bellnexxia.net@localhost>; Mon, 11 Sep 2006 18:05:23 -0400 Original-Received: by localhost (Postfix, from userid 20848) id C6F6B9022; Mon, 11 Sep 2006 18:05:22 -0400 (EDT) Original-To: David Kastrup In-Reply-To: <85hczedsjo.fsf@lola.goethe.zz> (David Kastrup's message of "Mon\, 11 Sep 2006 23\:03\:55 +0200") 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:59712 Archived-At: >>> 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 )) Well, only if contains escaped % signs. It's generally not the case. > It is not unusual to obtain a _format_ string from some non-constant > source. But it then comes with some arguments as well, doesn't it? Stefan