From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: completions - remove window after use? Date: Thu, 12 Nov 2009 10:15:25 -0500 Message-ID: References: <61C01A08-8FB6-4908-B9F1-B9F1CE3E3D92@gmail.com> <20091111212658.GD12012@headley> <864oozdg51.wl%lluis@ginnungagap.pc.ac.upc.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258040149 27985 80.91.229.12 (12 Nov 2009 15:35:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Nov 2009 15:35:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?iso-8859-1?Q?Llu=EDs?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 12 16:35:42 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N8bi1-0008DP-AN for ged-emacs-devel@m.gmane.org; Thu, 12 Nov 2009 16:35:41 +0100 Original-Received: from localhost ([127.0.0.1]:56555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8bi0-0004Ad-OB for ged-emacs-devel@m.gmane.org; Thu, 12 Nov 2009 10:35:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8bOZ-0001ei-L2 for emacs-devel@gnu.org; Thu, 12 Nov 2009 10:15:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8bOR-0001SG-Tb for emacs-devel@gnu.org; Thu, 12 Nov 2009 10:15:32 -0500 Original-Received: from [199.232.76.173] (port=58293 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8bOR-0001Rs-6R for emacs-devel@gnu.org; Thu, 12 Nov 2009 10:15:27 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:41539 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N8bOQ-00021y-BP for emacs-devel@gnu.org; Thu, 12 Nov 2009 10:15:26 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvIEALu1+0pMCpsp/2dsb2JhbACBTtt1hDwEiSg X-IronPort-AV: E=Sophos;i="4.44,728,1249272000"; d="scan'208";a="49218913" Original-Received: from 76-10-155-41.dsl.teksavvy.com (HELO ceviche.home) ([76.10.155.41]) by ironport2-out.pppoe.ca with ESMTP; 12 Nov 2009 10:15:25 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 1A28170072; Thu, 12 Nov 2009 10:15:25 -0500 (EST) In-Reply-To: <864oozdg51.wl%lluis@ginnungagap.pc.ac.upc.edu> (=?iso-8859-1?Q?=22Llu=EDs=22's?= message of "Thu, 12 Nov 2009 14:30:50 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:116887 Archived-At: > Well, window height can be calculated, so that it's filled up like: > 1 4 > 2 5 > 3 5 > ---- page boundary > 6 9 > 7 10 > 8 Actually, with faces and whatnot, computing the amount of text that will fit is *very* difficult (the "simple" solution will work in most cases, tho). Stefan