From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Debertin Newsgroups: gmane.emacs.help Subject: Re: M-x grep/compile clobbers other buffers Date: 13 Jan 2003 14:28:07 -0600 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <873cnwhk14.fsf@senator.nodewarrior.org> References: <877kd9gddi.fsf@senator.nodewarrior.org> <84y95ozukb.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1042489918 22953 80.91.224.249 (13 Jan 2003 20:31:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 13 Jan 2003 20:31:58 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18YBFV-0005xw-00 for ; Mon, 13 Jan 2003 21:31:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18YBEZ-0006Zi-0A for gnu-help-gnu-emacs@m.gmane.org; Mon, 13 Jan 2003 15:30:59 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news-peer.gip.net!news.gsl.net!gip.net!nntp1.roc.gblx.net!nntp.gblx.net!nntp.gblx.net!priapus.visi.com!news-out.visi.com!hermes.visi.com!gemini.bitstream.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Lines: 22 Original-NNTP-Posting-Host: 3250cb69.news.bitstream.net Original-X-Trace: 1042489687 gemini.bitstream.net 79557 216.243.168.27 Original-X-Complaints-To: abuse@bitstream.net Original-Xref: shelby.stanford.edu gnu.emacs.help:108923 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5451 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5451 kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes: > You can dedicate a window to a buffer, M-x apropos RET dedicat RET. > It's not a command, I think, so you have to invoke some Lisp. > > Does this help? Yes, that's exactly what I was looking for. This appears to do what I want -- (add-hook 'shell-mode-hook '((lambda () (set-window-dedicated-p (selected-window) t)))) Thanks; I knew there had to be something for that. Dan -- /^Dan Debertin$/ airboss@nodewarrior.org | Did I sleep a little too late, www.nodewarrior.org | or am I awake? --Byrne