From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: henning Newsgroups: gmane.emacs.help Subject: Re: Lock buffer to window Date: Mon, 11 Sep 2006 00:23:30 -0700 (PDT) Message-ID: <6242158.post@talk.nabble.com> References: <6204081.post@talk.nabble.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1157959518 9300 80.91.229.2 (11 Sep 2006 07:25:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Sep 2006 07:25:18 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 11 09:25:14 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 1GMgA9-0000ac-JE for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Sep 2006 09:25:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMgA9-0005Ay-0w for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Sep 2006 03:25:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GMg8m-0003rE-7N for help-gnu-emacs@gnu.org; Mon, 11 Sep 2006 03:23:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GMg8k-0003pU-JJ for Help-gnu-emacs@gnu.org; Mon, 11 Sep 2006 03:23:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMg8k-0003pI-8R for Help-gnu-emacs@gnu.org; Mon, 11 Sep 2006 03:23:34 -0400 Original-Received: from [72.21.53.35] (helo=talk.nabble.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GMg9x-0005QB-SC for Help-gnu-emacs@gnu.org; Mon, 11 Sep 2006 03:24:50 -0400 Original-Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GMg8g-00029b-KB for Help-gnu-emacs@gnu.org; Mon, 11 Sep 2006 00:23:31 -0700 Original-To: Help-gnu-emacs@gnu.org In-Reply-To: X-Nabble-From: henning.red@googlemail.com 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:37284 Archived-At: Thanks, but you are right, its not really what I want to do, I would like to force a window to show current buffer and not switch buffer until I explicitly say so. I have been trying to implement this but it was harder than I had imagined. Maybe I can get by with what you suggested though. Cheers, H Mathias Dahl-4 wrote: > > henning writes: > > 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. > > -- View this message in context: http://www.nabble.com/Lock-buffer-to-window-tf2237460.html#a6242158 Sent from the Emacs - Help forum at Nabble.com.