From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bbook1@gmail.com Newsgroups: gmane.emacs.help Subject: How to make the buffer to be display in one windows Date: 1 Mar 2006 19:39:55 -0800 Organization: http://groups.google.com Message-ID: <1141270795.690925.196650@v46g2000cwv.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1141352375 6330 80.91.229.2 (3 Mar 2006 02:19:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Mar 2006 02:19:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 03 03:19:34 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 1FEztF-0002T9-LW for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Mar 2006 03:19:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FEztD-0000NR-Tn for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Mar 2006 21:19:32 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed101.telia.com!nf02.dk.telia.net!atl-c05.usenetserver.com!news.usenetserver.com!postnews.google.com!v46g2000cwv.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Original-NNTP-Posting-Host: 210.22.102.218 Original-X-Trace: posting.google.com 1141270802 9346 127.0.0.1 (2 Mar 2006 03:40:02 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 2 Mar 2006 03:40:02 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: v46g2000cwv.googlegroups.com; posting-host=210.22.102.218; posting-account=xvhupQ0AAAA7h3h-y8l9A3NXE5vcd-Fw Original-Xref: shelby.stanford.edu gnu.emacs.help:137857 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:33473 Archived-At: 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