From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Newsgroups: gmane.emacs.help Subject: Re: Should delete-window switch to next buffer when there is only one window? Date: Tue, 14 Jan 2014 15:16:18 -0800 (PST) Message-ID: <64e2823c-29c6-4874-b9a2-6dfa6eda4c4a@googlegroups.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1389741612 8568 80.91.229.3 (14 Jan 2014 23:20:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jan 2014 23:20:12 +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 Jan 15 00:20:20 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W3DHP-0007lS-BA for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Jan 2014 00:20:19 +0100 Original-Received: from localhost ([::1]:51195 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3DHO-0005nL-Sx for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Jan 2014 18:20:18 -0500 X-Received: by 10.52.229.41 with SMTP id sn9mr408282vdc.6.1389741378900; Tue, 14 Jan 2014 15:16:18 -0800 (PST) X-Received: by 10.50.87.129 with SMTP id ay1mr110684igb.16.1389741378754; Tue, 14 Jan 2014 15:16:18 -0800 (PST) Original-Path: usenet.stanford.edu!6no10692903qao.1!news-out.google.com!fv6ni3230qab.1!nntp.google.com!p15no15040170qaj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=161.43.88.196; posting-account=xn0CbQoAAAASWsnV689K01BfDuqsREZp Original-NNTP-Posting-Host: 161.43.88.196 User-Agent: G2/1.0 Injection-Date: Tue, 14 Jan 2014 23:16:18 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:203131 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:95400 Archived-At: On Wednesday, January 15, 2014 9:30:57 AM UTC+11, Ernest Adrogu=E9 wrote: > Hi. >=20 >=20 >=20 > Currently if you attempt to delete an only window, the following message >=20 > shows up >=20 >=20 >=20 > Attempt to delete minibuffer or sole ordinary window >=20 >=20 >=20 > I think that perhaps it would be better if it switched buffers instead. >=20 > What do you think? No, I think it is doing the right thing. It doesn't make any sense for YOUR= code to delete the only window that exists. If it just switched buffers (t= o what? what rule should apply in this case? A random buffer selection?) th= en it isn't doing what you requested - which is to delete the window. I think a bit more thought on your side should be applied rather than sugge= sting that Emacs behaviour change to suit you.