From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "knubee" Newsgroups: gmane.emacs.help Subject: Re: quick change of face-size? Date: 12 Nov 2005 07:58:51 -0800 Organization: http://groups.google.com Message-ID: <1131811131.018861.39370@o13g2000cwo.googlegroups.com> References: <1131483373.233647.250280@g44g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1131811278 28103 80.91.229.2 (12 Nov 2005 16:01:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 12 Nov 2005 16:01:18 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 12 17:01:17 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Eaxo1-0007Oj-Dv for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Nov 2005 17:00:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eaxo0-0007P4-Vt for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Nov 2005 11:00:41 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!o13g2000cwo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 83.250.5.197 Original-X-Trace: posting.google.com 1131811136 32144 127.0.0.1 (12 Nov 2005 15:58:56 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 12 Nov 2005 15:58:56 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: o13g2000cwo.googlegroups.com; posting-host=83.250.5.197; posting-account=MkYT1A0AAAAygkk8ajaRXhpLS0AUkwvK Original-Xref: shelby.stanford.edu gnu.emacs.help:135420 Original-To: help-gnu-emacs@gnu.org 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:31014 Archived-At: >> it it relies on the existence of fonts that correspond to those >> size increments. > > Yes. But, as I said, you can control the increment size. Drew, I think it is great how you write and post so many emacs utility files. However, this last comment of yours (and several others you have made) suggests that I am not being clear about why the solution implemented in zoom-frm.el is fragile. Consider that someone has a family of fonts in the following sizes: 9 10 12 14 15 22 Simply selecting the NUMBER associated with the current font size and incrementing/decrementing that value by some fixed numerical value is not guaranteed to consistently return an existing font, no matter what the increment/decrement value. When I get the time, I will try to hack together a solution based on your zoom-frm.el and some of the results returned by x-list-fonts (thanks for the pointer, rgb).