From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrew Goodnough Newsgroups: gmane.emacs.help Subject: Re: Buffer list location Date: Wed, 12 Aug 2009 19:43:00 -0500 Message-ID: References: <87y6pq19bd.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd1e878bee0f60470fb372a X-Trace: ger.gmane.org 1250131064 29198 80.91.229.12 (13 Aug 2009 02:37:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Aug 2009 02:37:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 13 04:37:37 2009 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.50) id 1MbQC7-0003zY-AA for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Aug 2009 04:37:35 +0200 Original-Received: from localhost ([127.0.0.1]:34980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbQC4-0002ob-LD for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Aug 2009 22:37:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbOPO-0002Ct-FU for help-gnu-emacs@gnu.org; Wed, 12 Aug 2009 20:43:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbOPH-0002A8-SA for help-gnu-emacs@gnu.org; Wed, 12 Aug 2009 20:43:09 -0400 Original-Received: from [199.232.76.173] (port=42548 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbOPH-00029z-Pl for help-gnu-emacs@gnu.org; Wed, 12 Aug 2009 20:43:03 -0400 Original-Received: from mail-ew0-f207.google.com ([209.85.219.207]:36811) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbOPH-0008CK-66 for help-gnu-emacs@gnu.org; Wed, 12 Aug 2009 20:43:03 -0400 Original-Received: by ewy3 with SMTP id 3so566043ewy.42 for ; Wed, 12 Aug 2009 17:43:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=0m9qYj2WL465D+514jwA3SAyE4/tBfd+h+JoBw0uCY0=; b=FZhUTFBAw141WVRAnFnBBYyGXerp0mUiJ6Welahl/vZa50TYjJR0/KrnS9KqgYqclc yHip6KcyqIf8QwU93bqKyVVSFoQUw0xHiUJ1xeYhp6QWwEkMllSyrytbueZeGirnsie7 N4AlHMeJQ/A34Wddf6TWpZuk5uxTzAzahDMF8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ty7bbdoyUTyDO8NIe0bn8Lm5FCknQsDMxsA34Bn0p5aOC2bw9F85Wg4q7uaVeiVWXP MLX5vPd0YJ3cWKQ74TOOqwW2t62whLz9dNNmyXAIuI8wz/dt9oOS1NpZ091E3t0D+95c jAaMDj7pn236eIZoZxjqv6c0A26ZoWwJZ8H+o= Original-Received: by 10.211.162.11 with SMTP id p11mr854301ebo.85.1250124181196; Wed, 12 Aug 2009 17:43:01 -0700 (PDT) In-Reply-To: <87y6pq19bd.fsf@thinkpad.tsdh.de> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 12 Aug 2009 22:34:23 -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:67107 Archived-At: --000e0cd1e878bee0f60470fb372a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Your (a) case was what I was looking for (as I still want to be able to split other windows vertically) and setting split-width-threshold to nil worked great. Thanks. Andy On Tue, Aug 11, 2009 at 1:42 PM, Tassilo Horn wrote: > Andrew Goodnough writes: > > Hi Andrew, > > > I'd like the Buffer List to always appear as a horizontal window at > > the bottom. But when I have emacs maximized and show the Buffer List, > > it appears in a new window, split vertically on the right side. I > > think emacs is trying to be smart about where I've got the most screen > > real estate at the moment but I wish it would always go on the bottom. > > Is there a variable to set this by chance? > > Is that (a) special for the buffer list, or (b) do you want emacs never > to split vertically? > > In case (b), add > > (setq split-width-threshold nil) > > to your ~/.emacs. In case (b), you can use an advice around > buffer-list. > > (defadvice list-buffers (around forbid-horizontal-split activate) > (let ((split-width-threshold nil)) > ad-do-it)) > > Bye, > Tassilo > > > > --000e0cd1e878bee0f60470fb372a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Your (a) case was what I was looking for (as I still want to be able to spl= it other windows vertically) and setting split-width-threshold to nil worke= d great.=A0 Thanks.

Andy

On Tue, A= ug 11, 2009 at 1:42 PM, Tassilo Horn <tassilo@member.fsf.org> wrote:
Andrew Goodnough = <agoodno@gmail.com> writes:<= br>
Hi Andrew,

> I'd like the Buffer List to always appear as a horizontal window a= t
> the bottom. =A0But when I have emacs maximized and show the Buffer Lis= t,
> it appears in a new window, split vertically on the right side. =A0I > think emacs is trying to be smart about where I've got the most sc= reen
> real estate at the moment but I wish it would always go on the bottom.=
> Is there a variable to set this by chance?

Is that (a) special for the buffer list, or (b) do you want ema= cs never
to split vertically?

In case (b), add

=A0 =A0(setq split-width-threshold nil)

to your ~/.emacs. =A0In case (b), you can use an advice around
buffer-list.

=A0 =A0(defadvice list-buffers (around forbid-horizontal-split activate) =A0 =A0 =A0(let ((split-width-threshold nil))
=A0 =A0 =A0 =A0ad-do-it))

Bye,
Tassilo




--000e0cd1e878bee0f60470fb372a--