From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.help Subject: Re: change font but not frame size? Date: Sun, 16 Dec 2007 08:37:45 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <1FF85F6E-1E40-41D0-BB51-69B7C2CB470D@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1197823255 14278 80.91.229.12 (16 Dec 2007 16:40:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Dec 2007 16:40:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 16 17:41:07 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J3wY4-0001OC-SL for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Dec 2007 17:41:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J3wXi-0003fg-8X for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Dec 2007 11:40:42 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!18g2000hsf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Original-NNTP-Posting-Host: 129.215.174.113 Original-X-Trace: posting.google.com 1197823066 29524 127.0.0.1 (16 Dec 2007 16:37:46 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 16 Dec 2007 16:37:46 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 18g2000hsf.googlegroups.com; posting-host=129.215.174.113; posting-account=dNOYNQ8AAACwfFSGn4ugtJc5znxYfzds User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv:1.8.1.11) Gecko/20071128 Camino/1.5.4,gzip(gfe),gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:154686 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:50113 Archived-At: On Dec 16, 3:44 pm, Eric Hanchrow wrote: > I have some absurdly complex code in my .emacs that adjusts the frame > size after setting the font size, in an attempt to make it the same > size it was originally, more or less sorta kinda. Lemme know if you'd > like to look at it (it isn't pretty). Sure. I've tried some absurdly complex things as well - such as creating an invisible frame, setting the font there, reading out the resulting char-height, and then trying to set the new height of the frame and its new font in one go with modify-frame-parameters. It didn't work (on several levels!). Post the code here - I'm interested!