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#16038: 24.3; latest change to with-help-window makes temp-buffer-browse useless Date: Tue, 8 Jul 2014 06:57:03 -0700 (PDT) Message-ID: <03343dd1-186a-44b3-b459-dea7a45a4d04@default> References: <52D14E9F.5030001@gmx.at> <52D16627.4080604@gmx.at> <52D2661A.4000105@gmx.at> <47simcy5ab.fsf@fencepost.gnu.org> 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 1404827917 6531 80.91.229.3 (8 Jul 2014 13:58:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Jul 2014 13:58:37 +0000 (UTC) Cc: 16038@debbugs.gnu.org To: Glenn Morris , Leo Liu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 08 15:58:28 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 1X4Vuc-0000BE-5n for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Jul 2014 15:58:26 +0200 Original-Received: from localhost ([::1]:55722 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4Vub-0005pL-2a for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Jul 2014 09:58:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4VuO-0005mJ-AQ for bug-gnu-emacs@gnu.org; Tue, 08 Jul 2014 09:58:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4VuE-000115-AU for bug-gnu-emacs@gnu.org; Tue, 08 Jul 2014 09:58:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4VuE-000111-7I for bug-gnu-emacs@gnu.org; Tue, 08 Jul 2014 09:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X4VuD-0004IM-VQ for bug-gnu-emacs@gnu.org; Tue, 08 Jul 2014 09:58: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: Tue, 08 Jul 2014 13:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16038 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16038-submit@debbugs.gnu.org id=B16038.140482784416446 (code B ref 16038); Tue, 08 Jul 2014 13:58:01 +0000 Original-Received: (at 16038) by debbugs.gnu.org; 8 Jul 2014 13:57:24 +0000 Original-Received: from localhost ([127.0.0.1]:47036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4VtX-0004H5-LI for submit@debbugs.gnu.org; Tue, 08 Jul 2014 09:57:23 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:37965) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4VtR-0004Gc-5o for 16038@debbugs.gnu.org; Tue, 08 Jul 2014 09:57:17 -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 s68Dv5KN005588 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 8 Jul 2014 13:57:06 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id s68Dv4Dw012897 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Jul 2014 13:57:05 GMT Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s68Dv4Jb025602; Tue, 8 Jul 2014 13:57:04 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6691.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:91311 Archived-At: > PS personally I'd advise you to just revert this change. > Read the description of with-output-to-temp-buffer in the elisp manual. > As we showed with vc-annotate, it behaved like that "for ever". > The help-mode thing is an integral part of what it does. >=20 > AFAICS, you didn't really say why you want to change this. > If you don't like the hooks being non-empty by default, > you could perhaps move that code to the body. >=20 > If you don't like the association of "temp buffer" and help, think of it > as with-output-to-temp-help-buffer, if that makes you happier. Which is what I argued in the original thread(s): the name is misleading - nothing more. The macro is (was, before this change) about a help buffer, not about an arbitrary temporary buffer. The right way to make the desired change is to introduce a new, non-help-mode-related macro and use that where desired, not to gratuitously change the behavior of the longstanding macro `with-output-to-temp-buffer'. (And preferably rename the latter using defalias, so that the new name indicates that it is about help mode - e.g., `with-output-to-temp-help-buffer'.) As just one user, this unfortunate change caused me to make version-adjusting code to handle it, in multiple libraries of mine. Not a big deal, but it should not have been necessary at all. However, Glenn, it seems this was already decided, with Eli, Stefan, and Martin unpersuaded by my (and apparently your) argument. Ref: bugs 8368, 17109, 17397, 17146 (and 16038)