From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: face-remap.el patch to resize window Date: Sun, 9 Aug 2009 20:27:49 -0700 Message-ID: <2DD5D9B518394F17A3AA77158B671255@us.oracle.com> References: <7D6750DD60204DB082A761ECEE706CEA@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1249874874 19527 80.91.229.12 (10 Aug 2009 03:27:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Aug 2009 03:27:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'Stefan Monnier'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 10 05:27:47 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 1MaLY2-0003wN-ME for ged-emacs-devel@m.gmane.org; Mon, 10 Aug 2009 05:27:46 +0200 Original-Received: from localhost ([127.0.0.1]:36311 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaLY2-0003Zy-4P for ged-emacs-devel@m.gmane.org; Sun, 09 Aug 2009 23:27:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MaLXw-0003Zo-Tz for emacs-devel@gnu.org; Sun, 09 Aug 2009 23:27:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MaLXs-0003Zc-FG for emacs-devel@gnu.org; Sun, 09 Aug 2009 23:27:40 -0400 Original-Received: from [199.232.76.173] (port=40729 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaLXs-0003ZZ-AB for emacs-devel@gnu.org; Sun, 09 Aug 2009 23:27:36 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:7616) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MaLXr-00088I-Qi for emacs-devel@gnu.org; Sun, 09 Aug 2009 23:27:35 -0400 Original-Received: from rcsinet11.oracle.com ([148.87.113.123] helo=rgminet11.oracle.com) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MaLXq-0001DR-TE for emacs-devel@gnu.org; Sun, 09 Aug 2009 23:27:35 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n7A3RYCi003502 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 10 Aug 2009 03:27:35 GMT Original-Received: from abhmt004.oracle.com (abhmt004.oracle.com [141.146.116.13]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n7A3RUoN018473; Mon, 10 Aug 2009 03:27:30 GMT Original-Received: from dradamslap1 (/141.144.160.81) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 09 Aug 2009 20:27:28 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcoZZr6vPYDpj6APRpi7xlmLTcPN7AAAKa0w X-Source-IP: abhmt004.oracle.com [141.146.116.13] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010206.4A7F93A0.00CA:SCFSTAT5015188,ss=1,fgs=0 X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:113935 Archived-At: > > Doesn't it make sense to resize the window to take > > advantage of space freed up when text is scaled > > smaller? As an option at least? > > To me the fact that text-scale-increase doesn't change the window's > size is one of its greatest features. The savings in space come when you decrease text size, not increase it. In any case, given your personal preference, you would simply leave the option value as nil. This is about giving users the option. The default value can be nil. > Resizing windows is the job of the window-manager (and most > of my window's sizes are dicated by the screen size). Of course, if your windows are full-screen, then this wouldn't be very useful to you. But some users split windows; some often have windows that are less than full-screen. > But if people like it, I won't object to this feature as an option, as > long as it's well integrated. The small patch I sent does that.