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, 14 Jan 2014 13:55:36 -0800 (PST) Message-ID: References: <52D14E9F.5030001@gmx.at> <52D16627.4080604@gmx.at> <52D2661A.4000105@gmx.at> 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 1389736586 13105 80.91.229.3 (14 Jan 2014 21:56:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jan 2014 21:56:26 +0000 (UTC) Cc: 16038@debbugs.gnu.org To: Stefan Monnier , Leo Liu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 14 22:56: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 1W3ByB-0007Xt-PO for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Jan 2014 22:56:23 +0100 Original-Received: from localhost ([::1]:50882 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3ByB-0001rP-Ag for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Jan 2014 16:56:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34062) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3Bxz-0001rG-EP for bug-gnu-emacs@gnu.org; Tue, 14 Jan 2014 16:56:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3Bxq-0007S2-SM for bug-gnu-emacs@gnu.org; Tue, 14 Jan 2014 16:56:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3Bxq-0007Ry-P9 for bug-gnu-emacs@gnu.org; Tue, 14 Jan 2014 16:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W3Bxq-0006qU-1Y for bug-gnu-emacs@gnu.org; Tue, 14 Jan 2014 16:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Jan 2014 21:56: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.138973654426283 (code B ref 16038); Tue, 14 Jan 2014 21:56:01 +0000 Original-Received: (at 16038) by debbugs.gnu.org; 14 Jan 2014 21:55:44 +0000 Original-Received: from localhost ([127.0.0.1]:50751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W3BxX-0006pp-3Q for submit@debbugs.gnu.org; Tue, 14 Jan 2014 16:55:43 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:43978) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W3BxU-0006pf-9g for 16038@debbugs.gnu.org; Tue, 14 Jan 2014 16:55:41 -0500 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 s0ELtcYM002464 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 14 Jan 2014 21:55:39 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 s0ELtb3J023201 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Jan 2014 21:55:38 GMT Original-Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s0ELtbwR010865; Tue, 14 Jan 2014 21:55:37 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:83506 Archived-At: > I have no idea why those hooks are needed in the first place. Uh, for when you want to associate some action with either setting up or showing a so-called "temp" buffer (which unfortunately for the name means a help buffer, since we have now loaded such buffers and their displays down with help-specific stuff). For example, to have the frame be automatically fit to the buffer contents if there is only one window, you can do this (if you have library `autofit-frame.el'): (add-hook 'temp-buffer-show-hook 'fit-frame-if-one-window 'append)