emacs-devel
[Top][All Lists]
Advanced

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

Re: VC check-in and window configuration


From: Stefan Monnier
Subject: Re: VC check-in and window configuration
Date: Wed, 14 Nov 2001 09:51:48 -0500

> "Stefan Monnier" <monnier+gnu/address@hidden> writes:
> > My current "best" idea is to extend the notion of dedicated window
> > to allow a "soft" for of dedication: a soft-dedicated window still
> > allows things like `switch-to-buffer' (at which point it goes back
> > to non-dedicated).
> ....
> > This way
> > 
> >     (progn
> >       (pop-to-buffer buf)
> >       (bury-buffer))
> > 
> > should not change the window configuration.
> 
> Why should `switch-to-buffer' make a window non-dedicated, but
> `bury-buffer' not?  How are they different?  I certainly use them both
> in a similar way...

bury-buffer would as well (it internally calls switch-to-buffer, IIRC).
I.e. the above is not a no-op but it does restore the window layout.


        Stefan




reply via email to

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