From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#6385: A slightly less aggressive fit-window-to-buffer Date: Sun, 13 Jun 2010 17:20:09 +0200 Message-ID: References: <4C12383E.5030405@gmx.at> <4C133EBB.5090702@gmx.at> <4C148E0C.7000201@gmx.at> <7F2242DF262349D8A22BB9285AAADE85@us.oracle.com> <4C14EC69.5000608@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1276442921 16588 80.91.229.12 (13 Jun 2010 15:28:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 Jun 2010 15:28:41 +0000 (UTC) Cc: 6385@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 13 17:28:39 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 1ONp6y-0002mZ-Mb for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Jun 2010 17:28:37 +0200 Original-Received: from localhost ([127.0.0.1]:46054 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONp6y-00025Q-2e for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Jun 2010 11:28:36 -0400 Original-Received: from [140.186.70.92] (port=49921 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONp6r-00023r-7H for bug-gnu-emacs@gnu.org; Sun, 13 Jun 2010 11:28:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ONp6p-0004RP-2O for bug-gnu-emacs@gnu.org; Sun, 13 Jun 2010 11:28:29 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57079) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ONp6o-0004RK-Uo for bug-gnu-emacs@gnu.org; Sun, 13 Jun 2010 11:28:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ONoze-0005QV-HZ; Sun, 13 Jun 2010 11:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman 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 15:21:02 +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.127644243820850 (code B ref 6385); Sun, 13 Jun 2010 15:21:02 +0000 Original-Received: (at 6385) by debbugs.gnu.org; 13 Jun 2010 15:20:38 +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 1ONozG-0005QF-5b for submit@debbugs.gnu.org; Sun, 13 Jun 2010 11:20:38 -0400 Original-Received: from mail-yw0-f197.google.com ([209.85.211.197]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ONozD-0005QA-DR for 6385@debbugs.gnu.org; Sun, 13 Jun 2010 11:20:35 -0400 Original-Received: by ywh35 with SMTP id 35so2602926ywh.29 for <6385@debbugs.gnu.org>; Sun, 13 Jun 2010 08:20:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=4+VX6FATdJXJkRfGT/oCmz1GUokcad5LUEyvAj2utiY=; b=Fxs39lNQmHxnl2RHWdn6YSIBWoa8wN6PVA0XeAcWsun1Gv70Zkrfpn3bsqX3cikFMo v6QllG8wFLr4RKeLXwIe64YIUf7SAgc+eB1uSzQn0MtsHo9I7bMElQtg3k0bBGIHE1Xg kgr85YgxzCafpcyMmtdlYvFCiBoona9MtfFHs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=a7O4zOBR267mba0V6AW4z5cahVGFtNKZAlJJoJ+k8ajaFjJU/mdUxIRkscO2LfUfNr 6QBLp9O4rMkO6vgPxBhyL2xIx4/WufK3zXZXjIFhEWQwmyCcjK4jNbdQJiXUGcNFIHbI 7VXGruSWNhBQTy3O8hUaT1S59d5qRlQHCad3s= Original-Received: by 10.101.160.30 with SMTP id m30mr3760821ano.192.1276442430297; Sun, 13 Jun 2010 08:20:30 -0700 (PDT) Original-Received: by 10.100.154.15 with HTTP; Sun, 13 Jun 2010 08:20:09 -0700 (PDT) In-Reply-To: <4C14EC69.5000608@gmx.at> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 13 Jun 2010 11:21: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:37742 Archived-At: On Sun, Jun 13, 2010 at 4:34 PM, martin rudalics wrote: > > Please post a recipe for reproducing the problem. =C2=A0I 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 t= he >> 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. =C2=A0Do= ing > this can eventually cause the deletion of that window after the binding > has been exited. =C2=A0This 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. I am currently let-binding window-min-height to something smaller than window-min-height, but I have never seen any problem because of that. I think it is very practical to be able to do let-bind window-min-height this way. I can look at the code of course and found out, but where is is possible deleting of small height windows done? Is there a thought behind it or is it a bug?