help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Some annoying behaviours


From: Drew Adams
Subject: RE: Some annoying behaviours
Date: Thu, 21 Feb 2008 01:35:57 -0800

> Emacs is cool but I'd still like to fix some annoying details 
> to make it perfect.
> 
> The first one is about the 'completion' window which doesn't close
> automatically once it's no more needed. I know I can switch to this
> window and close it but it would be really nice to make this auto.

This is fixed in Icicles. You might want to try it:
http://www.emacswiki.org/cgi-bin/wiki/Icicles

> The second one is about new windows that are automatically open
> by Emacs, for example when I start a compilation or GDB. Emacs
> choose an old widow (almost randomly) and replace this one with
> the new one. But it always choose the wrong window to replace.
> Is it possible to make a 'sticky' window that is a window that
> can't be chosen by Emacs to be switched by a new one ?

You can make a window dedicated, which does just what you want. You can do
it for all windows or windows for buffers whose names match some pattern,
and so on.

Check the Elisp manual (that's Emacs Lisp), and look for `dedicated'
windows. See, in particular, user options `special-display-buffer-names' and
`special-display-regexps'.

HTH.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]