unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to make window don't response DELETE WINDOWS COMMAND?
@ 2008-09-13  6:21 Andy Stewart
  2008-09-13  8:00 ` Pascal J. Bourguignon
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Stewart @ 2008-09-13  6:21 UTC (permalink / raw)
  To: help-gnu-emacs

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. ?

Regards.

Andy.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to make window don't response DELETE WINDOWS COMMAND?
  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
  2008-09-13  8:28   ` Andy Stewart
  0 siblings, 1 reply; 3+ messages in thread
From: Pascal J. Bourguignon @ 2008-09-13  8:00 UTC (permalink / raw)
  To: help-gnu-emacs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to make window don't response DELETE WINDOWS COMMAND?
  2008-09-13  8:00 ` Pascal J. Bourguignon
@ 2008-09-13  8:28   ` Andy Stewart
  0 siblings, 0 replies; 3+ messages in thread
From: Andy Stewart @ 2008-09-13  8:28 UTC (permalink / raw)
  To: help-gnu-emacs

>>>>> "Pascal" == Pascal J Bourguignon <pjb@informatimago.com> writes:

Hi!.

Thanks for your relay.

I will read it. :)

Regards.

Andy.


    Pascal> 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. ?

    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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-13  8:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2008-09-13  8:28   ` Andy Stewart

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).