From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.help Subject: Re: Lock buffer to window Date: Fri, 08 Sep 2006 09:56:35 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157705132 8251 80.91.229.2 (8 Sep 2006 08:45:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Sep 2006 08:45:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 08 10:45:31 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GLbzH-0001hG-9Q for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Sep 2006 10:45:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLbzF-0003Lk-Sp for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Sep 2006 04:45:22 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsserver.news.garr.it!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-X-Trace: individual.net N1R+4UXWvH5JellcyoTYgQrGnD20+i+gxt/QBMzzbbp0SknaZw User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:8g93w99h7+k56G42o4gqAzq9KYQ= Original-Xref: shelby.stanford.edu gnu.emacs.help:141607 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37229 Archived-At: henning writes: > When using dired or rdired (from ESS) I sometimes want to keep a > buffer in a certain window. However, commands such as e.g. 'man' > might change the buffer in that window. Is there a way to dedicate a > window to a particular buffer so that that window becomes invisible > to commands that request a window for showing output? calculator is > another such example where I obviously dont want the man page to > show up in the tiny window created by the calculator command. This doesn't solve the problem in the exact way you want, but you might want to try it out anyway: Try this: (setq special-display-buffer-names (append special-display-buffer-names (list "*Help*"))) Then use any of the help commands, `C-h f' for example. Notice how the *Help* buffer opens in a new frame instead of splitting the current window. If you want to do more advanced matching of buffer names, try `special-display-regexps' instead.