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: Tue, 14 Jan 2014 08:23:18 +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 1389659055 16387 80.91.229.3 (14 Jan 2014 00:24:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jan 2014 00:24:15 +0000 (UTC) Cc: 16038@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 14 01:24:21 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 1W2rno-0001U8-6d for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Jan 2014 01:24:20 +0100 Original-Received: from localhost ([::1]:45792 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2rnn-0002yi-Ld for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Jan 2014 19:24:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2rnd-0002xk-Hw for bug-gnu-emacs@gnu.org; Mon, 13 Jan 2014 19:24:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W2rnW-0006nx-8n for bug-gnu-emacs@gnu.org; Mon, 13 Jan 2014 19:24:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35500) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2rnW-0006nt-5F for bug-gnu-emacs@gnu.org; Mon, 13 Jan 2014 19:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W2rnV-0007Cp-KP for bug-gnu-emacs@gnu.org; Mon, 13 Jan 2014 19:24:01 -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 00:24: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.138965900727643 (code B ref 16038); Tue, 14 Jan 2014 00:24:01 +0000 Original-Received: (at 16038) by debbugs.gnu.org; 14 Jan 2014 00:23:27 +0000 Original-Received: from localhost ([127.0.0.1]:49519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W2rmw-0007Bn-SH for submit@debbugs.gnu.org; Mon, 13 Jan 2014 19:23:27 -0500 Original-Received: from mail-pb0-f44.google.com ([209.85.160.44]:41073) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W2rmu-0007Bc-CI for 16038@debbugs.gnu.org; Mon, 13 Jan 2014 19:23:24 -0500 Original-Received: by mail-pb0-f44.google.com with SMTP id rr13so1293898pbb.17 for <16038@debbugs.gnu.org>; Mon, 13 Jan 2014 16:23:23 -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=AIuXZWGDkN47cqM46VwZ1sGzCsQe7/1KuIAq81ADayk=; b=TRgzYcjk0YrDHtfKYIH9yZM+X/N5gwcTkAKjkMOQ/vVmzBZ9HUBWcV579iaX0qRiDl cGz4tOOIfx+enM7pDUXwpBTubuLmZ9/QZ2sHRr/7zpOTcqxZLFUEG6ZNjQiB6oQyrBOI H08fvH9foVgtAlPEv+dMgOo1qFFhe8FpXzTkq3nDUrpc7EmMX/mNkry0H7GoA4fLhSSL CiQBNBr2L7WmyXe+r63lvshCuLxtv/s1lhmD93B/kiELfpzAzKKBb5uD+oRUoz9riI5h cgd/auhYYZHlzeq36yxE+s7WkfqTOO1DoaztRLw6Ye4p0SnGYBeTbl0gXr4+YcIFTRQK EfsQ== X-Received: by 10.66.145.199 with SMTP id sw7mr6801854pab.143.1389659003561; Mon, 13 Jan 2014 16:23:23 -0800 (PST) Original-Received: from Zeuss-MacBook.local ([123.122.49.167]) by mx.google.com with ESMTPSA id cz3sm37785469pbc.9.2014.01.13.16.23.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Jan 2014 16:23:23 -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: <52D2661A.4000105@gmx.at> (martin rudalics's message of "Sun, 12 Jan 2014 10:53:30 +0100") 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:83428 Archived-At: On 2014-01-12 17:53 +0800, martin rudalics wrote: > I know. But this was predated by > > ;; This makes `with-output-to-temp-buffer' buffers use `help-mode'. > (add-hook 'temp-buffer-setup-hook 'help-mode-setup) > (add-hook 'temp-buffer-show-hook 'help-mode-finish) > > and nobody suggested how to cleanly disentangle these. > > martin Stefan, Could you comment on this issue? Could we remove the following two add-hooks? --8<---------------cut here---------------start------------->8--- (add-hook 'temp-buffer-setup-hook 'help-mode-setup) (add-hook 'temp-buffer-show-hook 'help-mode-finish) --8<---------------cut here---------------end--------------->8--- Martin, Assume help-mode and with-output-to-temp-buffer are decoupled, is it possible to merge the two macros with-output-to-temp-buffer and with-temp-buffer-window? Thank you, Leo