all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nikolaj Schumacher <n_schumacher@web.de>
To: Nikolaj Fogh <nikolajfogh@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Lock buffer to window
Date: Thu, 24 May 2007 16:32:17 +0200	[thread overview]
Message-ID: <m2lkfes366.fsf@nschum.de> (raw)
In-Reply-To: <4654ab90$0$90266$14726298@news.sunsite.dk> (Nikolaj Fogh's message of "Wed\, 23 May 2007 21\:14\:58 +0200")

Nikolaj Fogh <nikolajfogh@gmail.com> wrote

> I was wondering if there was any way of locking a specific buffer to a
> window it emacs, so that that window never changes buffer.


Hello Nikolaj,


try adding the following to your .emacs:

(define-minor-mode sticky-buffer-mode
  "Make the current window always display this buffer."
  nil " sticky" nil
  (set-window-dedicated-p (selected-window) sticky-buffer-mode))

then M-x sticky-buffer-mode.



regards,
Nikolaj Schumacher

  parent reply	other threads:[~2007-05-24 14:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-23 19:14 Lock buffer to window Nikolaj Fogh
     [not found] ` <mailman.1165.1180017190.32220.help-gnu-emacs@gnu.org>
2007-05-24 14:05   ` Nikolaj Fogh
2007-05-24 14:32 ` Nikolaj Schumacher [this message]
2007-05-24 21:45   ` Xavier Maillard
2007-05-24 21:45 ` Xavier Maillard
  -- strict thread matches above, loose matches on Subject: below --
2006-09-11 12:28 martin rudalics
     [not found] <mailman.6613.1157699819.9609.help-gnu-emacs@gnu.org>
2006-09-08  7:56 ` Mathias Dahl
2006-09-08  8:00   ` Mathias Dahl
2006-09-11  7:23   ` henning
2006-09-08  7:16 henning

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=m2lkfes366.fsf@nschum.de \
    --to=n_schumacher@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=nikolajfogh@gmail.com \
    /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.