From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Ritchford Newsgroups: gmane.emacs.help Subject: Re: Suddenly, grep, list-buffers etc. split the screen horizontally... but .emacs is unchanged! Date: Sat, 20 Mar 2010 11:12:56 -0700 (PDT) Organization: http://groups.google.com Message-ID: <8c04f403-1e15-4683-a134-d672280e8b32@o30g2000yqb.googlegroups.com> References: <659350bb-6e8b-4649-92b5-9d0c0c1de331@t23g2000yqt.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1273056057 26907 80.91.229.12 (5 May 2010 10:40:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 May 2010 10:40:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 05 12:40:56 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9c28-0005yT-Q7 for geh-help-gnu-emacs@m.gmane.org; Wed, 05 May 2010 12:40:53 +0200 Original-Received: from localhost ([127.0.0.1]:53853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9c28-00022z-3o for geh-help-gnu-emacs@m.gmane.org; Wed, 05 May 2010 06:40:52 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!o30g2000yqb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-NNTP-Posting-Host: 64.131.209.220 Original-X-Trace: posting.google.com 1269108776 14171 127.0.0.1 (20 Mar 2010 18:12:56 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 20 Mar 2010 18:12:56 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o30g2000yqb.googlegroups.com; posting-host=64.131.209.220; posting-account=5v6rpgoAAABFy2eR1WK9RDUabl9vr892 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.307.11 Safari/532.9, gzip(gfe), gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:177514 X-Mailman-Approved-At: Tue, 04 May 2010 16:48:08 -0400 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:73361 Archived-At: On Mar 20, 1:15=A0pm, Joost Kremers wrote: > Tom Ritchford wrote: > > Suddenly, in the middle of a long emacs session (it had been up for > > over a week) my terminal-based emacs -nw now splits horizontally for > > every new window (grep, compilation, list-buffers, etc). =A0I've used > > emacs for over 25 years and never gotten into this state. > > What's the size of the terminal Emacs is running in? Did you change it? > display-buffer (the function usually responsible for splitting buffers to= show > output etc.) may split the window horizontally or vertically, depending o= n the > size of the window. See the documentation for split-window-sensibly for d= etails. Thanks for the pointer to "split-window-sensibly" - very interesting. I wish I could tell you that fixed it - but the good news is that it, somehow, fixed itself - and I didn't even restart the emacs (running in the terminal). And now I can't reproduce it. I tried restarting the character-only emacs. I tried running it with and without the Windowing emacs running. I looked at the timestamps of every file in my directory - none of them has changed. I tried running it in tall thin terminal windows and short, squat ones! As I (claimed) before, I try to be really systematic, have a local git instance for all development as well as Apple's own Time Machine, so I'm at a loss as to how it happened - and how it reverted. (But I wrote this up in case someone else runs into it...) Thanks for the tip, I now know something new...