From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Perry E. Metzger" Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Implement functions for measuring fonts and max chars per line Date: Sat, 17 Jan 2015 19:11:37 -0500 Message-ID: <20150117191137.2117d98d@jabberwock.cb.piermont.com> References: <87k31j3g03.fsf@posteo.de> <87d27b2ugp.fsf@posteo.de> <87zjaeo7eg.fsf@posteo.de> <874mrp46ns.fsf@posteo.de> <20150117153839.0de5fa7b@jabberwock.cb.piermont.com> <83k30lywa4.fsf@gnu.org> <20150117172122.0ccfba34@jabberwock.cb.piermont.com> <87vbk5avw0.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1421539910 26944 80.91.229.3 (18 Jan 2015 00:11:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Jan 2015 00:11:50 +0000 (UTC) Cc: Eli Zaretskii , malsburg@posteo.de, emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 18 01:11:49 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 1YCdT0-00063k-On for ged-emacs-devel@m.gmane.org; Sun, 18 Jan 2015 01:11:46 +0100 Original-Received: from localhost ([::1]:60553 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCdT0-0007tO-02 for ged-emacs-devel@m.gmane.org; Sat, 17 Jan 2015 19:11:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCdSw-0007tH-6O for emacs-devel@gnu.org; Sat, 17 Jan 2015 19:11:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YCdSv-000236-6Y for emacs-devel@gnu.org; Sat, 17 Jan 2015 19:11:42 -0500 Original-Received: from hacklheber.piermont.com ([2001:470:30:84:e276:63ff:fe62:3400]:58942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCdSs-000224-NY; Sat, 17 Jan 2015 19:11:38 -0500 Original-Received: from snark.cb.piermont.com (localhost [127.0.0.1]) by hacklheber.piermont.com (Postfix) with ESMTP id 6249940A; Sat, 17 Jan 2015 19:11:38 -0500 (EST) Original-Received: from jabberwock.cb.piermont.com (jabberwock.cb.piermont.com [10.160.2.107]) by snark.cb.piermont.com (Postfix) with ESMTP id 106752DEB1E; Sat, 17 Jan 2015 19:11:38 -0500 (EST) In-Reply-To: <87vbk5avw0.fsf@fencepost.gnu.org> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-apple-darwin14.0.0) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2001:470:30:84:e276:63ff:fe62:3400 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:181391 Archived-At: On Sat, 17 Jan 2015 23:24:15 +0100 David Kastrup wrote: > > No, frame. I'd like to be able to set my default frame height to > > "full height" for the display (filling the display from top to > > bottom) -- right now I do guesswork to do this, and my .emacs > > breaks when I switch to a new display. >=20 > Uh, maximize vertically? I do that with my window manager, I can't. > but Emacs also offers it as a command line option >=20 > =E2=80=98-fh=E2=80=99 > =E2=80=98--fullheight=E2=80=99 > Specify that the height should be the height of the screen. Yes. What I want to do is do it programatically in elisp, not on the command line. I would like to put it in my .emacs and such. Right now I just manually figure out what maximum height is on a given system with a given font and hard code that. I don't want to hard code it. Perry --=20 Perry E. Metzger perry@piermont.com