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: Mon, 10 Aug 2009 09:59:35 -0700 Message-ID: <024F37F212204A4E88CD1750F42C5D8E@us.oracle.com> References: <7D6750DD60204DB082A761ECEE706CEA@us.oracle.com><91793771320945CAA5CA2B600D0E9B67@us.oracle.com> <87bpmnbohx.fsf@catnip.gol.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 1249923691 6814 80.91.229.12 (10 Aug 2009 17:01:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Aug 2009 17:01:31 +0000 (UTC) Cc: 'Stefan Monnier' , emacs-devel@gnu.org To: "'Miles Bader'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 10 19:01:24 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 1MaYFQ-0004yr-9H for ged-emacs-devel@m.gmane.org; Mon, 10 Aug 2009 19:01:24 +0200 Original-Received: from localhost ([127.0.0.1]:41010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaYFP-0007RS-GV for ged-emacs-devel@m.gmane.org; Mon, 10 Aug 2009 13:01:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MaYDr-0006oQ-UZ for emacs-devel@gnu.org; Mon, 10 Aug 2009 12:59:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MaYDn-0006ml-J0 for emacs-devel@gnu.org; Mon, 10 Aug 2009 12:59:47 -0400 Original-Received: from [199.232.76.173] (port=60925 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaYDn-0006me-Aj for emacs-devel@gnu.org; Mon, 10 Aug 2009 12:59:43 -0400 Original-Received: from rcsinet12.oracle.com ([148.87.113.124]:57584 helo=rgminet12.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MaYDl-000413-6F; Mon, 10 Aug 2009 12:59:41 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rgminet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n7AGxYls027559 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 10 Aug 2009 16:59:35 GMT Original-Received: from abhmt007.oracle.com (abhmt007.oracle.com [141.146.116.16]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n7AGxcv9022880; Mon, 10 Aug 2009 16:59:38 GMT Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 10 Aug 2009 09:59:35 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcoZ2vLEFM7PL2HATuO50SpGMBAIGgAAGmQw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 In-Reply-To: <87bpmnbohx.fsf@catnip.gol.com> X-Source-IP: abhmt007.oracle.com [141.146.116.16] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010209.4A8051F8.010A:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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:113980 Archived-At: > The main problem is that I think it often depends on the > buffer contents (or etc) as to whether such window-adaptation > is useful. That's precisely an advantage of the variable approach. Just make the variable buffer-local for given buffers. Don't resize for buffer A, resize horizontally for buffer B, vertically for buffer C, both for buffer D. Set the default for other buffers to whichever behavior you prefer most of the time.