unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: pjb@informatimago.com (Pascal J. Bourguignon)
To: help-gnu-emacs@gnu.org
Subject: Re: How to make window don't response DELETE WINDOWS COMMAND?
Date: Sat, 13 Sep 2008 10:00:11 +0200	[thread overview]
Message-ID: <87sks4a31w.fsf@hubble.informatimago.com> (raw)
In-Reply-To: 877i9gy3a9.fsf@manatee.domain

Andy Stewart <lazycat.manatee@gmail.com> 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.


  reply	other threads:[~2008-09-13  8:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-13  6:21 How to make window don't response DELETE WINDOWS COMMAND? Andy Stewart
2008-09-13  8:00 ` Pascal J. Bourguignon [this message]
2008-09-13  8:28   ` Andy Stewart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sks4a31w.fsf@hubble.informatimago.com \
    --to=pjb@informatimago.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).