From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wolfgang Jenkner Newsgroups: gmane.emacs.bugs Subject: bug#9514: 24.0.50; eval + format weirdness Date: Thu, 15 Sep 2011 19:24:57 +0200 Message-ID: <8562ktk9au.fsf@iznogoud.viz> References: <85fwjxki8q.fsf@iznogoud.viz> <4E72244A.1060601@cs.ucla.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1316107535 11638 80.91.229.12 (15 Sep 2011 17:25:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 15 Sep 2011 17:25:35 +0000 (UTC) Cc: 9514@debbugs.gnu.org, eggert@cs.ucla.edu To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 15 19:25:30 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R4Fgo-0002Qh-1k for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Sep 2011 19:25:30 +0200 Original-Received: from localhost ([::1]:36709 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4Fgn-0003Oe-Jq for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Sep 2011 13:25:29 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4Fgk-0003OW-A2 for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2011 13:25:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R4Fgj-0005BW-0F for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2011 13:25:26 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41111) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4Fgi-0005BR-Lp for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2011 13:25:24 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R4FlD-0005lb-CB; Thu, 15 Sep 2011 13:30:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Wolfgang Jenkner Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Sep 2011 17:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9514 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9514-submit@debbugs.gnu.org id=B9514.131610778822127 (code B ref 9514); Thu, 15 Sep 2011 17:30:03 +0000 Original-Received: (at 9514) by debbugs.gnu.org; 15 Sep 2011 17:29:48 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R4Fkx-0005kp-G1 for submit@debbugs.gnu.org; Thu, 15 Sep 2011 13:29:48 -0400 Original-Received: from mx15.lb01.inode.at ([62.99.145.17] helo=mx.inode.at) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R4Fks-0005kd-M1 for 9514@debbugs.gnu.org; Thu, 15 Sep 2011 13:29:44 -0400 Original-Received: from [84.119.91.89] (port=9273 helo=iznogoud.viz) by smartmx-15.inode.at with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1R4FgL-0004rB-9g; Thu, 15 Sep 2011 19:25:01 +0200 Original-Received: from wolfgang by iznogoud.viz with local (Exim 4.76 (FreeBSD)) (envelope-from ) id 1R4FgH-0000pG-P0; Thu, 15 Sep 2011 19:24:57 +0200 In-Reply-To: (Andreas Schwab's message of "Thu, 15 Sep 2011 18:18:58 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 15 Sep 2011 13:30:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:51189 Archived-At: Andreas Schwab writes: > Except that this has nothing to do with eval. Nor with most anything else in my example... So a better bug report would have been Subject: format barfs on certain strings For example, (format "%%=C3=A9") evaluates to garbage. However, the paradoxical thing was rather (let* ((string1 "%%b") (string2 (with-temp-buffer (insert string1) (buffer-string)))) (list (string-equal string1 string2) (format string1) (format string2))) =3D> (t "%b" "%bb") as it wouldn't have easily occurred to me that string1 and string2 can have different representations on the C level, which format treats differently (though this shouldn't show ;-) Wolfgang