unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: david@adboyd.com (J. David Boyd)
Subject: Re: How to make the buffer to be display in one windows
Date: Mon, 06 Mar 2006 16:23:18 -0500	[thread overview]
Message-ID: <m3lkvnz2rd.fsf@adboyd.com> (raw)
In-Reply-To: 1141270795.690925.196650@v46g2000cwv.googlegroups.com

bbook1@gmail.com writes:

> Hi,
> When I use the M-x gid which use the lid -R grep ... to open a new
> buffer for displaying the search result. The problem is if I use M-X
> gid more times, The emacs will open buffers more than one, I only want
> to get the updated searched result, and can close the last opend buffer
> automatically, So I only have one buffer to be used for m-x gid
> command, that is its behavor should be like M-X shell. I try to setting
> same-window-regexps like "\\*lid -R grep.*", but it seems is not
> available.
>
> Thanks advanced,
>
> Bill

I get around this by doing M-x grep, then backspacing out the grep, and
running gid.

This opens up the results in the *grep* buffer, and always reuses the buffer.

Dave

      parent reply	other threads:[~2006-03-06 21:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-02  3:39 How to make the buffer to be display in one windows bbook1
2006-03-03  9:51 ` Peter Dyballa
2006-03-06 21:23 ` J. David Boyd [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=m3lkvnz2rd.fsf@adboyd.com \
    --to=david@adboyd.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.
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).