From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Liu Newsgroups: gmane.emacs.bugs Subject: bug#16038: 24.3; latest change to with-help-window makes temp-buffer-browse useless Date: Wed, 15 Jan 2014 07:46:43 +0800 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 X-Trace: ger.gmane.org 1389743236 26044 80.91.229.3 (14 Jan 2014 23:47:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jan 2014 23:47:16 +0000 (UTC) Cc: 16038@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 15 00:47:22 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 1W3DhZ-0004zG-PG for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Jan 2014 00:47:21 +0100 Original-Received: from localhost ([::1]:51265 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3DhZ-0002wT-F1 for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Jan 2014 18:47:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3DhO-0002sz-GD for bug-gnu-emacs@gnu.org; Tue, 14 Jan 2014 18:47:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3DhH-00063b-5h for bug-gnu-emacs@gnu.org; Tue, 14 Jan 2014 18:47:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3DhH-00063X-2V for bug-gnu-emacs@gnu.org; Tue, 14 Jan 2014 18:47:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W3DhG-0001SM-Lz for bug-gnu-emacs@gnu.org; Tue, 14 Jan 2014 18:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Leo Liu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Jan 2014 23:47:02 +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.13897432195589 (code B ref 16038); Tue, 14 Jan 2014 23:47:02 +0000 Original-Received: (at 16038) by debbugs.gnu.org; 14 Jan 2014 23:46:59 +0000 Original-Received: from localhost ([127.0.0.1]:50778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W3DhC-0001S5-Qy for submit@debbugs.gnu.org; Tue, 14 Jan 2014 18:46:59 -0500 Original-Received: from mail-pb0-f52.google.com ([209.85.160.52]:44669) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W3Dh6-0001Rn-MP for 16038@debbugs.gnu.org; Tue, 14 Jan 2014 18:46:53 -0500 Original-Received: by mail-pb0-f52.google.com with SMTP id uo5so316807pbc.39 for <16038@debbugs.gnu.org>; Tue, 14 Jan 2014 15:46:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=a/Fy9MpEB8eEcFCvZNmokddsxoK4SCD6jMr2g54J9eU=; b=E2u0eT5pgwr2vLwnpj3rQlm+BOdsSlduY+XIGw1nh+RcejL9YscdpzeS863M4ScuRn Kdtzel0dKVOAIlqEQ6h5dJfa5kg5cmozD3VeLf2rTQhExWIXsdlhvTF+ztZFhqwqtaPa 6/lxiGT1wAyPvDQTuaYfzJLya6HpAI3B1t452RSw7HdrwmFTHs+QQn3b6ZfFNYwbM3nw cxlWT4P/gD6gM8jdecJOHi1dLr7+zWS2THQZMKQ2b0JCetJRN5upaCzbkfdbLxD0awWN V/8TJuKeUOdw+QnCWKr4M6fmw7cyfb6a8AcQOKHwCUGpElfhFBgKTa3ydPgmQlz33+sI MUvg== X-Received: by 10.68.237.228 with SMTP id vf4mr4782919pbc.131.1389743210618; Tue, 14 Jan 2014 15:46:50 -0800 (PST) Original-Received: from Zeuss-MacBook.local ([123.122.49.167]) by mx.google.com with ESMTPSA id cz3sm3762370pbc.9.2014.01.14.15.46.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Jan 2014 15:46:50 -0800 (PST) Face: iVBORw0KGgoAAAANSUhEUgAAACkAAAApAQAAAACAGz1bAAABKElEQVQYlWNg3NIt5FDPUPt7 4+X79Qyucz5/ugik+L2PBgKpyphaIK921q23QDnG0NBQoMr/vaWl9f8ZLL78uPv5PwN7RETfzXoG jhmFz27XM0RXmpuY/WfY+fv0Mc56BvFybfXA/wwL5t/wF61n2PU59axXPcOVzbmSW/8zrNt1benC /ww70hqUU/4zKCtrT9jwn8FhwynbufUMendE2aLqGRpdX9al1zM8eh17lKeeQcTMrdD5P8P3j/YT Q/8zXHSb7p1Qz/C4OM2JuZ7hgtI7K6AjqsMnf8j4z8C6xG1tw3+GqpqvsVn/GTzmpD9j/8/wP/oZ S/l/Bka+QO/g/wy15ueeFQL9N1O8mPU/g+umV3t1gdT0/1bTgHLqYVeXAlWKpMWt+w8Az82C9nHf X0cAAAAASUVORK5CYII= In-Reply-To: (Drew Adams's message of "Tue, 14 Jan 2014 13:55:36 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.9.1) 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:83511 Archived-At: On 2014-01-15 05:55 +0800, Drew Adams wrote: > 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) Sorry if I haven't been clear. This is not proposing removing those hooks but removing the add-hooks i.e.: (add-hook 'temp-buffer-setup-hook 'help-mode-setup) (add-hook 'temp-buffer-show-hook 'help-mode-finish) Leo