From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Stewart Newsgroups: gmane.emacs.help Subject: Re: How to make window don't response DELETE WINDOWS COMMAND? Date: Sat, 13 Sep 2008 16:28:12 +0800 Organization: Bentium Ltd. (CN99) Message-ID: <873ak4xxer.fsf@manatee.domain> References: <877i9gy3a9.fsf@manatee.domain> <87sks4a31w.fsf@hubble.informatimago.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1221298961 6090 80.91.229.12 (13 Sep 2008 09:42:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Sep 2008 09:42:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 13 11:43:35 2008 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 1KeRf8-0006Bk-Bc for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Sep 2008 11:43:30 +0200 Original-Received: from localhost ([127.0.0.1]:42461 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeRe7-0008Ps-U3 for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Sep 2008 05:42:27 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!newsgate.cuhk.edu.hk!news.cn99.com!manatee.domain!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-NNTP-Posting-Host: 222.212.131.86 Original-X-Trace: news.cn99.com 1221296883 22232 222.212.131.86 (13 Sep 2008 09:08:03 GMT) Original-X-Complaints-To: usenet@news.cn99.com Original-NNTP-Posting-Date: Sat, 13 Sep 2008 09:08:03 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:egytYwhKGWJftY5koIGUMt7RV8o= Original-Xref: news.stanford.edu gnu.emacs.help:162176 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:57519 Archived-At: >>>>> "Pascal" == Pascal J Bourguignon writes: Hi!. Thanks for your relay. I will read it. :) Regards. Andy. Pascal> Andy Stewart writes: >> Hi, all. I want to ask one question: When i activate ECB windows, >> and i use 'delete-other-windows' at other window. And ECB windows >> can't delete by this command. How to implement this to make window >> don't response 'delete-other-windows' and 'delete-window' etc. ? Pascal> You could define an :around advice on delete-window and Pascal> delete-other-window to check whether you want to delete the concerned Pascal> window or not. Read the documentation about defadvice. Pascal> -- Pascal> __Pascal Bourguignon__ http://www.informatimago.com/ Pascal> READ THIS BEFORE OPENING PACKAGE: According to certain suggested Pascal> versions of the Grand Unified Theory, the primary particles Pascal> constituting this product may decay to nothingness within the next Pascal> four hundred million years.