unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Dan Debertin <airboss@nodewarrior.org>
Subject: Re: M-x grep/compile clobbers other buffers
Date: 13 Jan 2003 14:28:07 -0600	[thread overview]
Message-ID: <873cnwhk14.fsf@senator.nodewarrior.org> (raw)
In-Reply-To: 84y95ozukb.fsf@lucy.is.informatik.uni-duisburg.de

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

      reply	other threads:[~2003-01-13 20:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-13 17:37 M-x grep/compile clobbers other buffers Dan Debertin
2003-01-13 20:03 ` Kai Großjohann
2003-01-13 20:28   ` Dan Debertin [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873cnwhk14.fsf@senator.nodewarrior.org \
    --to=airboss@nodewarrior.org \
    /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.
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).