From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: MBR Newsgroups: gmane.emacs.help Subject: Re: Annoying change in "other window" behavior Date: Wed, 24 Aug 2011 12:11:46 -0400 Message-ID: <4E5522C2.5000303@arlsoft.com> References: <4E534EDA.3040103@arlsoft.com> <4E539030.4070406@pobox.com> <190733f2-a83a-42ea-a2b8-ff1d782db451@glegroupsg2000goo.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------090706050900050906080509" X-Trace: dough.gmane.org 1314202328 20469 80.91.229.12 (24 Aug 2011 16:12:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Aug 2011 16:12:08 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Jason Rumney To: gnu.emacs.help@googlegroups.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 24 18:12:04 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QwG3f-000176-Fs for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Aug 2011 18:12:03 +0200 Original-Received: from localhost ([::1]:53762 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwG3f-0008Ca-0E for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Aug 2011 12:12:03 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwG3Z-0008C3-Gz for help-gnu-emacs@gnu.org; Wed, 24 Aug 2011 12:11:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwG3Y-0000oZ-F3 for help-gnu-emacs@gnu.org; Wed, 24 Aug 2011 12:11:57 -0400 Original-Received: from cario.hostforweb.net ([66.225.230.82]:56310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwG3Y-0000o9-Ax for help-gnu-emacs@gnu.org; Wed, 24 Aug 2011 12:11:56 -0400 Original-Received: from c-24-61-86-182.hsd1.ma.comcast.net ([24.61.86.182]:2337 helo=[127.0.0.1]) by cario.hostforweb.net with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.69) (envelope-from ) id 1QwG3T-0001NS-Rl; Wed, 24 Aug 2011 11:11:52 -0500 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 In-Reply-To: <190733f2-a83a-42ea-a2b8-ff1d782db451@glegroupsg2000goo.googlegroups.com> X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cario.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - arlsoft.com X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: Linux 2.6? (barebone, rare!) X-Received-From: 66.225.230.82 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82048 Archived-At: This is a multi-part message in MIME format. --------------090706050900050906080509 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Much obliged. Thanks for bringing that to my attention. Mark On 8/24/2011 1:51 AM, Jason Rumney wrote: > C-h n will give you the NEWS file, explaining all the changes in the latest version of Emacs. In there you will find the answer you are looking for (how to get the old behaviour back): > > ** Changes affecting display-buffer > > *** display-buffer tries to be smarter when splitting windows. > The new option split-window-preferred-function lets you specify your own > function to pop up new windows. Its default value split-window-sensibly > can split a window either vertically or horizontally, whichever seems > more suitable in the current configuration. You can tune the behavior > of split-window-sensibly by customizing split-height-threshold and the > new option split-width-threshold. Both options now take the value nil > to inhibit splitting in one direction. Setting split-width-threshold to > nil inhibits horizontal splitting and gets you the behavior of Emacs 22 > in this respect. In any case, display-buffer may now split the largest > window vertically even when it is not as wide as the containing frame. > > > This is for 23.3, for 23.2, you may not have the option of setting it to nil (judging by the wording above, this was added at a later date) but setting it to a very large value (more columns than will fit on your display) should also work. --------------090706050900050906080509 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Much obliged.  Thanks for bringing that to my attention.
Mark
On 8/24/2011 1:51 AM, Jason Rumney wrote:
C-h n will give you the NEWS file, explaining all the changes in the latest version of Emacs.  In there you will find the answer you are looking for (how to get the old behaviour back):

** Changes affecting display-buffer

*** display-buffer tries to be smarter when splitting windows.
The new option split-window-preferred-function lets you specify your own
function to pop up new windows.  Its default value split-window-sensibly
can split a window either vertically or horizontally, whichever seems
more suitable in the current configuration.  You can tune the behavior
of split-window-sensibly by customizing split-height-threshold and the
new option split-width-threshold.  Both options now take the value nil
to inhibit splitting in one direction.  Setting split-width-threshold to
nil inhibits horizontal splitting and gets you the behavior of Emacs 22
in this respect.  In any case, display-buffer may now split the largest
window vertically even when it is not as wide as the containing frame.


This is for 23.3, for 23.2, you may not have the option of setting it to nil (judging by the wording above, this was added at a later date) but setting it to a very large value (more columns than will fit on your display) should also work.
--------------090706050900050906080509--