From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#17109: 24.4.50; REGRESSION: `with-output-to-temp-buffer' is broken Date: Fri, 28 Mar 2014 18:39:17 -0700 (PDT) Message-ID: <99e067cd-a0d5-431a-8ae8-84c64f7675ab@default> References: <87fvm47yoi.fsf@yahoo.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1396057218 3999 80.91.229.3 (29 Mar 2014 01:40:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Mar 2014 01:40:18 +0000 (UTC) Cc: Nicolas Richard , 17109@debbugs.gnu.org To: Leo Liu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 29 02:40:23 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WTiFz-0001e4-KM for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Mar 2014 02:40:23 +0100 Original-Received: from localhost ([::1]:36817 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTiFz-0000ws-8l for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Mar 2014 21:40:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTiFn-0000j5-Cv for bug-gnu-emacs@gnu.org; Fri, 28 Mar 2014 21:40:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTiFe-0002L3-MK for bug-gnu-emacs@gnu.org; Fri, 28 Mar 2014 21:40:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54077) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTiFe-0002Kp-Id for bug-gnu-emacs@gnu.org; Fri, 28 Mar 2014 21:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WTiFe-000618-46 for bug-gnu-emacs@gnu.org; Fri, 28 Mar 2014 21:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Mar 2014 01:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17109 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17109-submit@debbugs.gnu.org id=B17109.139605716523080 (code B ref 17109); Sat, 29 Mar 2014 01:40:02 +0000 Original-Received: (at 17109) by debbugs.gnu.org; 29 Mar 2014 01:39:25 +0000 Original-Received: from localhost ([127.0.0.1]:55259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WTiF2-00060B-IO for submit@debbugs.gnu.org; Fri, 28 Mar 2014 21:39:25 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:44954) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WTiF0-000600-0R for 17109@debbugs.gnu.org; Fri, 28 Mar 2014 21:39:22 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s2T1dKZ7025656 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 29 Mar 2014 01:39:20 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id s2T1dJsP020766 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 29 Mar 2014 01:39:19 GMT Original-Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s2T1dJoG008756; Sat, 29 Mar 2014 01:39:19 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:87505 Archived-At: > > (with-output-to-temp-buffer "*Help*" (princ help-text)) >=20 > Does (with-help-window (help-buffer) (princ help-text)) work for you? Which part of "regression" and "it needs to work across multiple Emacs versions" do you not understand? I have lots of occurrences of `with-output-to-temp-buffer', and I am only one maintainer of some 3rd-party code. And `with-output-to-temp-buffer' is not even deprecated. And even if it were deprecated now, it should still be supported as is until desupported. And support does not mean changing its behavior so code that uses it no longer works. And desupport does not mean keeping it around but with a broken behavior. There is _no_ scenario in which it should be broken. Emacs can reasonably come up with and use new, different macros. What it cannot reasonably do is break this macro. IIUC, Emacs code does not even need to use this macro anymore. Why on Earth gratuitously break code that does use it? This should be a no-brainer.