unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to make the buffer to be display in one windows
@ 2006-03-02  3:39 bbook1
  2006-03-03  9:51 ` Peter Dyballa
  2006-03-06 21:23 ` J. David Boyd
  0 siblings, 2 replies; 3+ messages in thread
From: bbook1 @ 2006-03-02  3:39 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to make the buffer to be display in one windows
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2006-03-03  9:51 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 02.03.2006 um 04:39 schrieb bbook1@gmail.com:

> When I use the M-x gid which use the lid -R grep

I don't know anything about gid (accept that it's my group's id) or  
lid (I once read at school non-German cars had such things then), I  
usually do a shell-command and it's output appears in a *Shell  
Command Output* buffer -- and there is only one or none at any time.

--
Greetings

   Pete


"Evolution"            o           __o                     _o _
           °\___o      /0~         -\<,              ^\___ /=\\_/-%
oo~_______ /\ /\______/ \_________O/ O_______________o===>-->O--o____
""

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to make the buffer to be display in one windows
  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
  1 sibling, 0 replies; 3+ messages in thread
From: J. David Boyd @ 2006-03-06 21:23 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-06 21:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).