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#6385: A slightly less aggressive fit-window-to-buffer Date: Sun, 13 Jun 2010 16:34:17 +0200 Message-ID: <4C14EC69.5000608@gmx.at> References: <4C12383E.5030405@gmx.at> <4C133EBB.5090702@gmx.at> <4C148E0C.7000201@gmx.at> <7F2242DF262349D8A22BB9285AAADE85@us.oracle.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: dough.gmane.org 1276441121 10807 80.91.229.12 (13 Jun 2010 14:58:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 Jun 2010 14:58:41 +0000 (UTC) Cc: 6385@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 13 16:58:38 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1ONody-0006q2-9K for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Jun 2010 16:58:38 +0200 Original-Received: from localhost ([127.0.0.1]:42382 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONodx-0000DZ-LS for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Jun 2010 10:58:37 -0400 Original-Received: from [140.186.70.92] (port=39652 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONodo-0000Cn-1v for bug-gnu-emacs@gnu.org; Sun, 13 Jun 2010 10:58:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ONodm-0000Gq-BA for bug-gnu-emacs@gnu.org; Sun, 13 Jun 2010 10:58:27 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43120) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ONodm-0000Gg-8l for bug-gnu-emacs@gnu.org; Sun, 13 Jun 2010 10:58:26 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ONoH8-00054n-1F; Sun, 13 Jun 2010 10:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Jun 2010 14:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6385 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6385-submit@debbugs.gnu.org id=B6385.127643966819500 (code B ref 6385); Sun, 13 Jun 2010 14:35:01 +0000 Original-Received: (at 6385) by debbugs.gnu.org; 13 Jun 2010 14:34:28 +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 1ONoGZ-00054T-WC for submit@debbugs.gnu.org; Sun, 13 Jun 2010 10:34:28 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1ONoGX-00054N-EA for 6385@debbugs.gnu.org; Sun, 13 Jun 2010 10:34:27 -0400 Original-Received: (qmail invoked by alias); 13 Jun 2010 14:34:19 -0000 Original-Received: from 62-47-32-13.adsl.highway.telekom.at (EHLO [62.47.32.13]) [62.47.32.13] by mail.gmx.net (mp072) with SMTP; 13 Jun 2010 16:34:19 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+sfzErhuOsv4S8nApTxGVqMLRdhlipQ41/UMHCmh DfQ2nZqFJc6NgK User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <7F2242DF262349D8A22BB9285AAADE85@us.oracle.com> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 13 Jun 2010 10:35:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , 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:37741 Archived-At: > There doesn't seem to be a problem before Emacs 23. Maybe there is a problem, > theoretically, but I haven't encountered one. What about returning to the pre-23 > code? Please post a recipe for reproducing the problem. I never had any problem with this in practice so I can't tell. > What are your thoughts about let-binding `min-window-height'? What are the cases > where that won't fix the problem? Let-binding `window-min-height' (I suppose that's the variable you mean) can be used to make a window less than `window-min-height' high. Doing this can eventually cause the deletion of that window after the binding has been exited. This is not a speciality of `fit-window-to-buffer' but a consequence of the fact that Emacs can delete windows that are smaller than `window-min-height' high. martin