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: Re: [PATCH] Implement functions for measuring fonts and max chars per line Date: Sat, 17 Jan 2015 22:41:55 +0200 Message-ID: <83k30lywa4.fsf@gnu.org> References: <87k31j3g03.fsf@posteo.de> <87d27b2ugp.fsf@posteo.de> <87zjaeo7eg.fsf@posteo.de> <874mrp46ns.fsf@posteo.de> <20150117153839.0de5fa7b@jabberwock.cb.piermont.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1421527340 7860 80.91.229.3 (17 Jan 2015 20:42:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Jan 2015 20:42:20 +0000 (UTC) Cc: malsburg@posteo.de, emacs-devel@gnu.org To: "Perry E. Metzger" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 17 21:42:16 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YCaCF-00069K-HM for ged-emacs-devel@m.gmane.org; Sat, 17 Jan 2015 21:42:15 +0100 Original-Received: from localhost ([::1]:60227 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCaCE-0007Fk-T8 for ged-emacs-devel@m.gmane.org; Sat, 17 Jan 2015 15:42:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCaCB-0007FZ-7F for emacs-devel@gnu.org; Sat, 17 Jan 2015 15:42:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YCaC7-00048d-7e for emacs-devel@gnu.org; Sat, 17 Jan 2015 15:42:11 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:52015) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCaC6-00045k-W4 for emacs-devel@gnu.org; Sat, 17 Jan 2015 15:42:07 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NIC001009780W00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Sat, 17 Jan 2015 22:42:05 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NIC000IU9I5RY80@a-mtaout22.012.net.il>; Sat, 17 Jan 2015 22:42:05 +0200 (IST) In-reply-to: <20150117153839.0de5fa7b@jabberwock.cb.piermont.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:181385 Archived-At: > Date: Sat, 17 Jan 2015 15:38:39 -0500 > From: "Perry E. Metzger" > Cc: emacs-devel@gnu.org > > This all brings to mind: is there a good way now to determine what > the maximum number of lines in a frame would be in a given font on > the user's display? You mean window, not frame, right? See window-screen-lines, which I think does what you want.