From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pjb@informatimago.com (Pascal J. Bourguignon) Newsgroups: gmane.emacs.help Subject: Re: How to make window don't response DELETE WINDOWS COMMAND? Date: Sat, 13 Sep 2008 10:00:11 +0200 Organization: Informatimago Message-ID: <87sks4a31w.fsf@hubble.informatimago.com> References: <877i9gy3a9.fsf@manatee.domain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1221295290 29855 80.91.229.12 (13 Sep 2008 08:41:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Sep 2008 08:41:30 +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 10:42:25 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 1KeQi0-0007rM-Gf for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Sep 2008 10:42:24 +0200 Original-Received: from localhost ([127.0.0.1]:38458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeQgz-0006bO-VO for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Sep 2008 04:41:22 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!proxad.net!feeder1-2.proxad.net!cleanfeed1-a.proxad.net!nnrp3-2.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:XE53i2Qs5gFCAAjoyJGLFe0PuZk= Original-Lines: 19 Original-NNTP-Posting-Date: 13 Sep 2008 10:00:10 MEST Original-NNTP-Posting-Host: 88.182.134.169 Original-X-Trace: 1221292810 news-2.free.fr 1129 88.182.134.169:40444 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:162169 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:57516 Archived-At: 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. ? You could define an :around advice on delete-window and delete-other-window to check whether you want to delete the concerned window or not. Read the documentation about defadvice. -- __Pascal Bourguignon__ http://www.informatimago.com/ READ THIS BEFORE OPENING PACKAGE: According to certain suggested versions of the Grand Unified Theory, the primary particles constituting this product may decay to nothingness within the next four hundred million years.