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: Fixing numerous `message' bugs.. Date: Fri, 07 Dec 2007 18:24:39 +0100 Message-ID: <85fxyel8o8.fsf@lola.goethe.zz> References: <87myso8yrs.fsf@marie.gnufans.net> <87ve7b4xt6.fsf@marie.gnufans.net> <85abonpxnw.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1197048287 10981 80.91.229.12 (7 Dec 2007 17:24:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Dec 2007 17:24:47 +0000 (UTC) Cc: deego3@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 07 18:24:55 2007 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 1J0gwK-0002su-RY for ged-emacs-devel@m.gmane.org; Fri, 07 Dec 2007 18:24:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J0gw3-0002uU-NC for ged-emacs-devel@m.gmane.org; Fri, 07 Dec 2007 12:24:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J0gw0-0002rq-Ay for emacs-devel@gnu.org; Fri, 07 Dec 2007 12:24:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J0gvy-0002nL-AX for emacs-devel@gnu.org; Fri, 07 Dec 2007 12:24:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J0gvy-0002my-1n for emacs-devel@gnu.org; Fri, 07 Dec 2007 12:24:18 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J0gvx-0001zg-Rh for emacs-devel@gnu.org; Fri, 07 Dec 2007 12:24:17 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J0gvr-0001Hu-PC; Fri, 07 Dec 2007 12:24:12 -0500 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 6CCDD1C46130; Fri, 7 Dec 2007 18:24:39 +0100 (CET) In-Reply-To: (Richard Stallman's message of "Fri, 07 Dec 2007 12:18:01 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) 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:84838 Archived-At: Richard Stallman writes: > Here's an idea: make up an argument to `message' that says treat the > next argument literally. How about t? > > (message t STRING) is equivalent to (message "%s" STRING) > (message t nil) is equivalent to (message nil) > > So in the cases that are buggy it suffices to add t as the first argument. I don't particularly like it. What about (message t nil 7), what is that supposed to return? nil too? Anyway, there is little point to make this specific to message. So if at all, we would special-case format instead. Which means that (stringp (format ...)) is no longer guaranteed to be true. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum