From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#3419: 23.0.94; calc, calendar and temp-buffer-resize-mode Date: Sat, 30 May 2009 14:19:32 +0200 Message-ID: <4A212454.8070109@gmx.at> References: <87skinjwuz.fsf@gmail.com> <873aanxrnd.fsf@gmail.com> <4A2101B1.8080106@gmx.at> Reply-To: martin rudalics , 3419@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1243687054 22849 80.91.229.12 (30 May 2009 12:37:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 May 2009 12:37:34 +0000 (UTC) Cc: 3419@emacsbugs.donarmstrong.com To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 30 14:37:31 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MANoX-0003sB-TW for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 May 2009 14:37:30 +0200 Original-Received: from localhost ([127.0.0.1]:59432 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MANoX-0004gg-At for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 May 2009 08:37:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MANoT-0004gM-8a for bug-gnu-emacs@gnu.org; Sat, 30 May 2009 08:37:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MANoO-0004fh-0n for bug-gnu-emacs@gnu.org; Sat, 30 May 2009 08:37:24 -0400 Original-Received: from [199.232.76.173] (port=43329 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MANoN-0004fW-Pu for bug-gnu-emacs@gnu.org; Sat, 30 May 2009 08:37:19 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:38540) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MANoN-00008Q-9v for bug-gnu-emacs@gnu.org; Sat, 30 May 2009 08:37:19 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4UCbH1t001507; Sat, 30 May 2009 05:37:17 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n4UCP6Y4031016; Sat, 30 May 2009 05:25:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 30 May 2009 12:25:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3419 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3419-submit@emacsbugs.donarmstrong.com id=B3419.124368598629728 (code B ref 3419); Sat, 30 May 2009 12:25:05 +0000 Original-Received: (at 3419) by emacsbugs.donarmstrong.com; 30 May 2009 12:19:46 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with SMTP id n4UCJf90029700 for <3419@emacsbugs.donarmstrong.com>; Sat, 30 May 2009 05:19:43 -0700 Original-Received: (qmail invoked by alias); 30 May 2009 12:19:35 -0000 Original-Received: from 62-47-45-167.adsl.highway.telekom.at (EHLO [62.47.45.167]) [62.47.45.167] by mail.gmx.net (mp018) with SMTP; 30 May 2009 14:19:35 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+deZE3Yr2dpRHlKfm95khl5ViAYhN07NWBnkxPjQ 8GzU2e+2B7o1+I User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-FuHaFi: 0.72 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 30 May 2009 08:37:24 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28319 Archived-At: > I wonder if it may be possible to distinguish program or human changing > the size. In most cases, when a program (in this case: > temp-buffer-resize-mode) changes the size, it is hardly ideal to keep > that change. But I agree that for example, if a user drags the calc > window to be bigger, it is desirable to keep that change permanent. It can be done but it's not trivial. > At the moment I have to have (setq calc-window-height 7) at my finger > tip to get rid of the size change sometimes accidentally happens. In your use case it might make sense to set `split-height-threshold' to a smaller value so the "other" window gets split instead of reused. Alternatively we could allow `temp-buffer-resize-mode' to resize a window iff it was obtained by splitting a window before. martin