all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Gary .'" <help-gnu-emacs@garydjones.name>,
	"'emacs list'" <help-gnu-emacs@gnu.org>
Subject: RE: Window configuration
Date: Thu, 27 May 2010 08:33:29 -0700	[thread overview]
Message-ID: <ECCDC04AA0A342839477024A9E76D362@us.oracle.com> (raw)
In-Reply-To: <AANLkTilHHpN8qgpiIMma_dJ6R7-pAO_YJlG88Ca4ejxB@mail.gmail.com>

> I swear, if emacs "steals" a window to reuse for something else again,
> I'm going to swing an axe at it.
> 
> Is there any way to specify that windows containing buffers which have
> a certain mode should *never* be reused or closed unless specifically
> by user action (for example visiting a new file from the window)?

Yes, make them dedicated windows.
See the Elisp manual, node `Dedicated Windows'.
See the Elisp manual, node `Choosing Window'.

The easiest way to do this is to use `special-display-regexps', giving it a
regexp that matches all buffer names. By default, a "special-display" buffer is
shown in a dedicated window.




  reply	other threads:[~2010-05-27 15:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-27 15:08 Window configuration Gary .
2010-05-27 15:33 ` Drew Adams [this message]
2010-05-27 15:49   ` Drew Adams
2010-05-27 18:05     ` Drew Adams
2010-05-27 19:28   ` Gary
     [not found]   ` <mailman.4.1274988537.9628.help-gnu-emacs@gnu.org>
2010-05-28  0:52     ` Stefan Monnier
     [not found] <mailman.5.1274972891.6808.help-gnu-emacs@gnu.org>
2010-06-02 20:02 ` Andreas Politz
2010-06-04 18:10   ` Joseph Brenner

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

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

  git send-email \
    --in-reply-to=ECCDC04AA0A342839477024A9E76D362@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@garydjones.name \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.