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: Sat, 11 Jan 2014 22:32:03 +0800 Message-ID: References: <52D14E9F.5030001@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1389450795 21400 80.91.229.3 (11 Jan 2014 14:33:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Jan 2014 14:33:15 +0000 (UTC) Cc: 16038@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 11 15:33: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 1W1zcn-0004SL-0b for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Jan 2014 15:33:21 +0100 Original-Received: from localhost ([::1]:34208 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1zcm-0006C2-I6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Jan 2014 09:33:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51981) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1zcd-0006Bp-30 for bug-gnu-emacs@gnu.org; Sat, 11 Jan 2014 09:33:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1zcV-000443-PW for bug-gnu-emacs@gnu.org; Sat, 11 Jan 2014 09:33:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1zcV-00043z-Lz for bug-gnu-emacs@gnu.org; Sat, 11 Jan 2014 09:33:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W1zcU-0004yk-Ti for bug-gnu-emacs@gnu.org; Sat, 11 Jan 2014 09:33:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Leo Liu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Jan 2014 14:33: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.138945073919062 (code B ref 16038); Sat, 11 Jan 2014 14:33:02 +0000 Original-Received: (at 16038) by debbugs.gnu.org; 11 Jan 2014 14:32:19 +0000 Original-Received: from localhost ([127.0.0.1]:46380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W1zbm-0004xN-Ig for submit@debbugs.gnu.org; Sat, 11 Jan 2014 09:32:18 -0500 Original-Received: from mail-pd0-f173.google.com ([209.85.192.173]:61635) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W1zbg-0004x9-19 for 16038@debbugs.gnu.org; Sat, 11 Jan 2014 09:32:13 -0500 Original-Received: by mail-pd0-f173.google.com with SMTP id p10so5711092pdj.32 for <16038@debbugs.gnu.org>; Sat, 11 Jan 2014 06:32:10 -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=n5FwVc7cvLvkPDYOaqirX9eK/yqs6O3egJGYtlppyNk=; b=pxyTrW37+bLFRGFX/rxco+FuNBe7I6xJnncnVKFC61QV8ORmkAE9ZuEcxfde8oSJgc wS5XiwGpjmKeKken0a3JsL6R2oUn9v2ki9MlUoQp8mY4rOKYmgU1+JmrISSpbtoMOoDY R3uMJJ5XG2gvxLM0E5FbiNaEjZezPfyWR3IU3+ABzzSeDSkR5EO/47gVvVqDSNxJXsRl 4fevT+IZKREUr7wkdAL7LcIW9kfduj/4EvBVFMXKlM1Sbqf5mIhQG+0+gaoZTeMrDWJS 9wLhgd+enrf3O94cksMfAKv75Tvm1j66DG4dQ+tnOxI75LhBi34cc8mQXTVJvZbsKAjg d+Lg== X-Received: by 10.68.183.164 with SMTP id en4mr96209pbc.169.1389450730835; Sat, 11 Jan 2014 06:32:10 -0800 (PST) Original-Received: from Zeuss-MacBook.local ([123.119.85.96]) by mx.google.com with ESMTPSA id bz4sm25083266pbb.12.2014.01.11.06.32.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Jan 2014 06:32:10 -0800 (PST) Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAElBMVEUAAAAAAP+LRRP0pGC+ vr7///+7mT1iAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMO DhglKe4AAAEsSURBVCjPbZNBboQwDEV/Cd4X9QJRThApmn0XYW+Jyf2v0m+HhqDBgiAe9rcTG7QH w/1Vn2Ar8gBb/ocywSN3qK9T3z4eFDB4eApocBpeBs1RSykoJd8gQcm8pGmHXFso3ajnmsqV0TnY DQkOfXUfN5NwaI7AWTVOyEhcu1aHmdWItHddUVUcUgUBCkitu8V6ditHVOVdqzl2EQ1ZVGTbdK0V 7cqn8vWzoU5Q/bF9Y/Y0cRU1xwkys5dJ+Dt6pBDWifcNQml8Gh2JVmPSoQzo7en0grswkxrUGYJ7 0hSxxAGr7ZMwYcHIzprpi7TENEE1xtiYxixRlCfPBsUUrwHD7uGIwATrbnODJcVrPpVn3hxiGloe m/S+z3CtuzUSMo83N4DPH+F0evwR3P4A2k+75838OKQAAAAASUVORK5CYII= In-Reply-To: <52D14E9F.5030001@gmx.at> (martin rudalics's message of "Sat, 11 Jan 2014 15:01:03 +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:83306 Archived-At: On 2014-01-11 22:01 +0800, martin rudalics wrote: [snipped 10 lines] > `with-help-window' does some things differently which I could not put > into `with-output-to-temp-buffer' due to compatibility issues. Can't > you put `temp-buffer-browse-mode' on `temp-buffer-window-show-hook'? Thanks, Martin, for your response. with-output-to-temp-buffer usually are used to show useful text. with-temp-buffer-window is sometimes used to show temporary text such as used by dired to show a list of marked files. Certainly I can put a hook temp-buffer-window-show-hook but then I also need to opt out those temporary cases. And it seems temp-buffer-resize-mode is now unnecessarily coupled with the window.el code, i.e. if we were to move temp-buffer-resize-mode to a standalone package it won't work without help from window.el. The more interesting question is is it possible to merge these two macros? For example, will it work if we can re-design the first argument of with-output-to-temp-buffer to accept a list (BUFFER-OR-NAME ACTION QUIT-FUNCTION) or an atom BUFFER-OR-NAME? Leo