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: Tue, 23 Aug 2011 12:34:06 -0400 Message-ID: <4E53D67E.8070605@arlsoft.com> References: <4E534EDA.3040103@arlsoft.com> <4E539030.4070406@pobox.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------000402020602060507060209" X-Trace: dough.gmane.org 1314117298 24636 80.91.229.12 (23 Aug 2011 16:34:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Aug 2011 16:34:58 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: bernardo.bacic@pobox.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 23 18:34:50 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 1Qvtw4-0006Up-Lg for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Aug 2011 18:34:47 +0200 Original-Received: from localhost ([::1]:36140 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qvtw3-0004Sp-NS for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Aug 2011 12:34:43 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:37714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qvtvq-0004HT-KL for help-gnu-emacs@gnu.org; Tue, 23 Aug 2011 12:34:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qvtvp-0000w0-2N for help-gnu-emacs@gnu.org; Tue, 23 Aug 2011 12:34:30 -0400 Original-Received: from cario.hostforweb.net ([66.225.230.82]:46911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qvtvo-0000vv-RN for help-gnu-emacs@gnu.org; Tue, 23 Aug 2011 12:34:29 -0400 Original-Received: from c-24-61-86-182.hsd1.ma.comcast.net ([24.61.86.182]:3827 helo=[127.0.0.1]) by cario.hostforweb.net with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.69) (envelope-from ) id 1QvtvV-0001Fw-NW; Tue, 23 Aug 2011 11:34:10 -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: <4E539030.4070406@pobox.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:82040 Archived-At: This is a multi-part message in MIME format. --------------000402020602060507060209 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Thank you! I just Googled the variable you pointed me to (split-width-threshold), and instantly turned up the Emacs 23.3 page at http://www.gnu.org/software/emacs/elisp/html_node/Choosing-Window.html, which describes the function display-buffer. display-buffer is described as "the basic facility that chooses a window to display a buffer in." This sounds like exactly the function I was looking for. The documentation shown when I run M-x describe-function display-buffer in 21.3 doesn't contain any mention of a variable named split-width-threshold, which is pretty strong evidence that that feature wasn't added until some later version. Mark On 8/23/2011 7:34 AM, Bernardo wrote: > >> After I type "o" it used to look like: >> >> +-----------------------------------------+ >> | Dired buffer | >> | ...>file #1 | >> | ... file #2 | >> | ... file #3 | >> | ... file #4 | >> | | >> +-----------------------------------------+ >> | This window now displays the contents | >> | of file #1. | >> | | >> | | >> | | >> | | >> +-----------------------------------------+ >> >> BUT NOW it looks like: >> >> +--------------------+--------------------+ >> | Dired buffer | This window now | >> | ...>file #1 | displays the | >> | ... file #2 | contents of | >> | ... file #3 | file #1. | >> | ... file #4 | | >> | | | >> +--------------------+--------------------+ >> | | >> | | >> | | >> | | >> | | >> | | >> +-----------------------------------------+ >> > > setting the value of split-width-threshold variable to a larger value > might help; > maybe something like this will make a difference: > (setq split-width-threshold 300) > --------------000402020602060507060209 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thank you!  I just Googled the variable you pointed me to (split-width-threshold), and instantly turned up the Emacs 23.3 page at http://www.gnu.org/software/emacs/elisp/html_node/Choosing-Window.html, which describes the function display-buffer.    display-buffer is described as "the basic facility that chooses a window to display a buffer in."  This sounds like exactly the function I was looking for.  The documentation shown when I run M-x describe-function display-buffer in 21.3 doesn't contain any mention of a variable named split-width-threshold, which is pretty strong evidence that that feature wasn't added until some later version.
Mark
On 8/23/2011 7:34 AM, Bernardo wrote:

After I type "o" it used to look like:

    +-----------------------------------------+
    |  Dired buffer                           |
    |  ...>file #1                           |
    |  ... file #2                            |
    |  ... file #3                            |
    |  ... file #4                            |
    |                                         |
    +-----------------------------------------+
    |  This window now displays the contents  |
    |  of file #1.                            |
    |                                         |
    |                                         |
    |                                         |
    |                                         |
    +-----------------------------------------+

BUT NOW it looks like:

    +--------------------+--------------------+
    |  Dired buffer      |  This window now   |
    |  ...>file #1      |  displays the      |
    |  ... file #2       |  contents of       |
    |  ... file #3       |  file #1.          |
    |  ... file #4          |                    |
    |                    |                    |
    +--------------------+--------------------+
    |                                         |
    |                                         |
    |                                         |
    |                                         |
    |                                         |
    |                                         |
    +-----------------------------------------+


setting the value of split-width-threshold variable to a larger value might help;
maybe something like this will make a difference:
(setq split-width-threshold 300)

--------------000402020602060507060209--