From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: Re: want user option for pop-to-buffer to split window horizontally not vertically Date: Fri, 16 Dec 2005 09:48:07 +0200 Organization: JURTA Message-ID: <87hd99jybc.fsf@jurta.org> References: <87mzj2squu.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1134723688 25157 80.91.229.2 (16 Dec 2005 09:01:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Dec 2005 09:01:28 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, walter_gillett@hotmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 16 10:01:26 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EnBSX-0004hN-0M for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Dec 2005 10:01:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EnBTC-0003FU-87 for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Dec 2005 04:01:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EnB0E-0002NZ-EG for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2005 03:31:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EnB0C-0002MG-B5 for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2005 03:31:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EnB0B-0002LD-Br for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2005 03:31:43 -0500 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EnB2X-0004hA-D2; Fri, 16 Dec 2005 03:34:09 -0500 Original-Received: from mail.neti.ee (80-235-33-94-dsl.mus.estpak.ee [80.235.33.94]) by Relayhost1.neti.ee (Postfix) with ESMTP id 1E2663841; Fri, 16 Dec 2005 10:31:13 +0200 (EET) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Thu, 15 Dec 2005 20:52:13 -0500") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:14661 Archived-At: > So now I see that not including it to the next release would be a big > mistake. More and more people have wide-screen monitors, and hardwiring > the current default is very annoying for them. > > I really don't want to add new features. Sometimes I agree to > redesign new features so that don't get their first release in > suboptimal form. And sometimes I agree to fix a bug in a way that > includes a new Lisp-level feature, because there's no other way. Many users who have widescreen monitors or use small fonts prefer resizing Emacs frames to more than 160 columns wide. Usually text in Emacs buffers is no longer than 80 columns, and not using remaining horizontal space is suboptimal in this case. So users are forced to repeatedly type `C-x 3' before invoking every command that splits a window into two windows. This is very annoying. The worst fact is that it is impossible now to change this default window splitting behavior at the Lisp level, because there are two places in window.c where the `horflag' argument of `split-window' is hardcoded to nil: window.c:3583: window = Fsplit_window (window, Qnil, Qnil); window.c:3597: window = Fsplit_window (window, Qnil, Qnil); My patch replaces nil in these two places with the value of a new user option which is nil by default. -- Juri Linkov http://www.jurta.org/emacs/