unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Locking a buffer in Emacs.
@ 2006-09-12  2:05 Prasanna Mohanty
  0 siblings, 0 replies; 2+ messages in thread
From: Prasanna Mohanty @ 2006-09-12  2:05 UTC (permalink / raw)



Hello,

While using cscope on Emacs I see that a particular buffer I am interested 
in gets removed
from being display to make room for the cscope results. I would like to lock 
this buffer from
being swapped out. Could you please let knoe how would I be able do it?

Regards
/Prasanna

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

* Re: Locking a buffer in Emacs.
       [not found] <mailman.6807.1158026709.9609.help-gnu-emacs@gnu.org>
@ 2006-09-12 13:18 ` Mathias Dahl
  0 siblings, 0 replies; 2+ messages in thread
From: Mathias Dahl @ 2006-09-12 13:18 UTC (permalink / raw)


"Prasanna Mohanty" <mkprasanna@hotmail.com> writes:

> While using cscope on Emacs I see that a particular buffer I am
> interested in gets removed from being display to make room for the
> cscope results. I would like to lock this buffer from being swapped
> out. Could you please let knoe how would I be able do it?

While in the window you want to "lock", do this:

M-: (set-window-dedicated-p (selected-window) t) RET

/Mathias

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

end of thread, other threads:[~2006-09-12 13:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-12  2:05 Locking a buffer in Emacs Prasanna Mohanty
     [not found] <mailman.6807.1158026709.9609.help-gnu-emacs@gnu.org>
2006-09-12 13:18 ` Mathias Dahl

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