From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: Re: quit-window is broken Date: Mon, 17 Nov 2008 11:11:51 -0500 Message-ID: <492197C7.6080908@gnu.org> References: <49218C51.4000700@gnu.org> <492195F3.30905@gmx.at> Reply-To: Emacs Devel NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1226938334 875 80.91.229.12 (17 Nov 2008 16:12:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2008 16:12:14 +0000 (UTC) Cc: Emacs Devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 17 17:13:14 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L26is-0007tt-Ap for ged-emacs-devel@m.gmane.org; Mon, 17 Nov 2008 17:13:10 +0100 Original-Received: from localhost ([127.0.0.1]:58359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L26hj-0007Jx-Jg for ged-emacs-devel@m.gmane.org; Mon, 17 Nov 2008 11:11:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L26he-0007Fi-KH for emacs-devel@gnu.org; Mon, 17 Nov 2008 11:11:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L26hd-0007CK-2Z for emacs-devel@gnu.org; Mon, 17 Nov 2008 11:11:54 -0500 Original-Received: from [199.232.76.173] (port=33922 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L26hc-0007C8-Uk for emacs-devel@gnu.org; Mon, 17 Nov 2008 11:11:52 -0500 Original-Received: from mx1.janestcapital.com ([38.105.200.101]:59925) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L26hc-0002YJ-Qh for emacs-devel@gnu.org; Mon, 17 Nov 2008 11:11:52 -0500 Original-Received: from nyc-qsv-mail1.delacy.com ([172.25.22.57]) by mx1.janestcapital.com with esmtp (Exim 4.69) (envelope-from ) id 1L26hb-00032W-K0 for emacs-devel@gnu.org; Mon, 17 Nov 2008 11:11:51 -0500 Original-Received: from nyc-qws-005.delacy.com ([172.25.131.105]) by nyc-qsv-mail1.DELACY.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1L26hb-00030P-OT; Mon, 17 Nov 2008 11:11:51 -0500 User-Agent: Thunderbird 2.0.0.14 (X11/20080506) Original-Followup-To: gmane.emacs.devel In-Reply-To: <492195F3.30905@gmx.at> X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:105750 Archived-At: martin rudalics wrote: > > A recent change broke quit-window: > > I have it bound to f9, and when I hit f9 I now get this: > > > > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > > get-buffer(nil) > > switch-to-buffer(nil) > > quit-window(nil) > > call-interactively(quit-window nil nil) > > I changed this because it didn't do anything when you had two windows on > a frame, one of them was dedicated, and you wanted to delete that > window. Later Juanma dedected that I had changed its semantics and I > rewrote it once more. > > Does it still happen with today's sources? If so, please give me a > precise recipe so I can reproduce it. it does happen to me with the current cvs head - always, whether I have 10 or 2 or 1 windows in the frame. alas, this does not happen with "emacs -q", so I guess I will have to investigate further.