From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Annoying resizing of Rmail windows Date: Sun, 10 Jul 2011 05:24:10 -0400 Message-ID: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1310289881 27728 80.91.229.12 (10 Jul 2011 09:24:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Jul 2011 09:24:41 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 10 11:24:36 2011 Return-path: Envelope-to: ged-emacs-devel@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 1QfqFf-0004A7-MQ for ged-emacs-devel@m.gmane.org; Sun, 10 Jul 2011 11:24:35 +0200 Original-Received: from localhost ([::1]:40354 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfqFe-00067H-F3 for ged-emacs-devel@m.gmane.org; Sun, 10 Jul 2011 05:24:34 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfqFK-00066g-Kb for emacs-devel@gnu.org; Sun, 10 Jul 2011 05:24:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QfqFI-000488-Tg for emacs-devel@gnu.org; Sun, 10 Jul 2011 05:24:14 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:55277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfqFI-000484-L1 for emacs-devel@gnu.org; Sun, 10 Jul 2011 05:24:12 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QfqFG-0003sk-I6 for emacs-devel@gnu.org; Sun, 10 Jul 2011 05:24:10 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:141891 Archived-At: With yesterday's trunk, I see an annoying resizing of windows when I work in Rmail. (I didn't try to use Rmail with Emacs 24 for a long time.) My window configuration in an Rmail frame is to split the frame in 2, and have the Rmail summary window above the window where Rmail shows the current message. I normally make the summary window small, so that only a few lines are shown in it, with the rest of the frame taken by the message display. I have even-window-heights set to nil in my ~/.emacs. I expect that, once I determine the size of each of these two windows, they are never resized by Emacs, only by myself. This workd in Emacs 23.3, but doesn't work with 24.0.50: whenever Rmail displays another message (e.g., when I type `n' or `p' to go to the next or previous message), the window sizes are "evened", although even-window-heights is nil. Stepping with Edebug through the Rmail code reveals that the windows are resized by the function rmail-pop-to-buffer, which calls pop-to-buffer. I see that the value of display-buffer-alist has this: (reuse-window-even-sizes . t) Shouldn't that part be gone when even-window-heights is nil? In any case, please help me get rid of this annoyance, TIA.