From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: delete-windows-on Date: Fri, 02 Oct 2009 19:25:55 +0200 Message-ID: <4AC637A3.3070305@gmx.at> References: <8EA9172832C04915909AE7B506260481@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1254504418 8751 80.91.229.12 (2 Oct 2009 17:26:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Oct 2009 17:26:58 +0000 (UTC) Cc: Drew Adams , emacs-devel@gnu.org To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 02 19:26:51 2009 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 1Mtlu6-0005CH-CZ for ged-emacs-devel@m.gmane.org; Fri, 02 Oct 2009 19:26:50 +0200 Original-Received: from localhost ([127.0.0.1]:34582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mtlu5-0005iC-DF for ged-emacs-devel@m.gmane.org; Fri, 02 Oct 2009 13:26:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MtltL-0004v3-4x for emacs-devel@gnu.org; Fri, 02 Oct 2009 13:26:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MtltG-0004qM-Ip for emacs-devel@gnu.org; Fri, 02 Oct 2009 13:26:02 -0400 Original-Received: from [199.232.76.173] (port=35115 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MtltG-0004qD-4c for emacs-devel@gnu.org; Fri, 02 Oct 2009 13:25:58 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:45292) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MtltF-0006Dy-Jj for emacs-devel@gnu.org; Fri, 02 Oct 2009 13:25:58 -0400 Original-Received: (qmail invoked by alias); 02 Oct 2009 17:25:56 -0000 Original-Received: from 62-47-36-205.adsl.highway.telekom.at (EHLO [62.47.36.205]) [62.47.36.205] by mail.gmx.net (mp051) with SMTP; 02 Oct 2009 19:25:56 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18ZpRkD0+4ZQWwOLiae1HYepxkbhDHmzRp4Nl1q0g QtJFAZhGXjab20 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:115855 Archived-At: >> 2. Besides, it is not the purpose of `delete-windows-on' to determine whether >> the BUFFER arg in fact corresponds to an existing buffer or someone just fucked >> up. Its purpose is to delete a window (or do nothing). > > No. Its purpose is to "[d]elete all windows showing BUFFER-OR-NAME." > An incorrect BUFFER-OR-NAME is an error. A BUFFER-OR-NAME argument must be treated consistently through all functions that have it. So raising an error is obviously TRT here. martin