From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#3419: 23.0.94; calc, calendar and temp-buffer-resize-mode Date: Tue, 01 Nov 2011 11:27:20 +0200 Organization: JURTA Message-ID: <87y5w02s2n.fsf@mail.jurta.org> References: <87skinjwuz.fsf@gmail.com> <873aanxrnd.fsf@gmail.com> <4A2101B1.8080106@gmx.at> <4EA58F3D.8030703@gmx.at> <87y5w14fy2.fsf@mail.jurta.org> <87y5w12dny.fsf@vh213601.truman.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1320140157 10094 80.91.229.12 (1 Nov 2011 09:35:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Nov 2011 09:35:57 +0000 (UTC) Cc: 3419@debbugs.gnu.org To: jay.p.belanger@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 01 10:35:53 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RLAl6-0007NQ-LZ for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Nov 2011 10:35:52 +0100 Original-Received: from localhost ([::1]:49896 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLAl6-0001MH-5T for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Nov 2011 05:35:52 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLAl3-0001Lv-KK for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2011 05:35:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RLAl0-0001pO-Eu for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2011 05:35:49 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLAl0-0001pD-DI for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2011 05:35:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RLAnB-0000AQ-Vt for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2011 05:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Nov 2011 09:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 3419 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 3419-submit@debbugs.gnu.org id=B3419.1320140277611 (code B ref 3419); Tue, 01 Nov 2011 09:38:01 +0000 Original-Received: (at 3419) by debbugs.gnu.org; 1 Nov 2011 09:37:57 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RLAn5-00009k-9G for submit@debbugs.gnu.org; Tue, 01 Nov 2011 05:37:57 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RLAn2-00009X-G8 for 3419@debbugs.gnu.org; Tue, 01 Nov 2011 05:37:53 -0400 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 101A56E805B; Tue, 1 Nov 2011 02:35:35 -0700 (PDT) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 2B38B451C5B8; Tue, 1 Nov 2011 02:35:33 -0700 (PDT) In-Reply-To: <87y5w12dny.fsf@vh213601.truman.edu> (Jay Belanger's message of "Mon, 31 Oct 2011 13:56:17 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 01 Nov 2011 05:38:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:53380 Archived-At: >> When I type `M-x calc RET h h', it displays the *Help* window in the >> Calc window that is too small to read comfortably the Help buffer. >> >> That's because I have in .emacs: >> (add-to-list 'same-window-buffer-names "*Help*") >> >> Is it possible to display the Help buffer in another window in this case >> when `h h' is typed in the Calc window? > > I'm not sure what you want, since you are explicitly telling Emacs to > display Help in the same window. Is that line from your .emacs for some > other *Help* buffer, and you never want the Calc help to appear in the > same window? Perhaps if the Calc help were named "*Calc Help*" (or > better, perhaps, using a variable to determine the name, > `calc-help-buffer-name' or somesuch). That wouldn't be hard, but > perhaps should wait until after 24.1. Some modes bind `same-window-buffer-names' to nil when it makes no sense to display the *Help* or *Info* buffer in the same window when it is too small, thus overridding the user's settings. IIUC, with the new window rules, the right way to do this is to bind `display-buffer-overriding-action' to `display-buffer-pop-up-window'. But this doesn't work as expected: (let ((display-buffer-overriding-action '(display-buffer-pop-up-window))) (with-output-to-temp-buffer "*Help*" (princ "GNU Emacs Calculator.\n"))) It still displays the *Help* buffer in the same window when (add-to-list 'same-window-buffer-names "*Help*") is presented in .emacs.