From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "spamfilteraccount@gmail.com" Newsgroups: gmane.emacs.help Subject: Re: Nested grep Date: 16 Nov 2006 00:02:22 -0800 Organization: http://groups.google.com Message-ID: <1163664141.997812.261210@e3g2000cwe.googlegroups.com> References: <1163609242.275999.77440@m7g2000cwm.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1163666448 32244 80.91.229.2 (16 Nov 2006 08:40:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Nov 2006 08:40:48 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 16 09:40:44 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 1GkcnX-0007ZL-MU for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Nov 2006 09:40:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GkcnW-0001Ns-Gk for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Nov 2006 03:40:38 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!e3g2000cwe.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: 194.88.55.211 Original-X-Trace: posting.google.com 1163664156 29581 127.0.0.1 (16 Nov 2006 08:02:36 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 16 Nov 2006 08:02:36 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.00 (X11; Linux i686; U; en),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: e3g2000cwe.googlegroups.com; posting-host=194.88.55.211; posting-account=b98TkQ0AAAD7PsllN8gfWGRoPOPWdnv4 Original-Xref: shelby.stanford.edu gnu.emacs.help:143133 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:38750 Archived-At: Drew Adams wrote: > > OK. I just added similar commands to compile+20.el, for use with Emacs > versions prior to 22: http://www.emacswiki.org/cgi-bin/wiki/compile%2b20.el. > However, since there is no grep-specific keymap prior to Emacs 22, I have > not bound the new commands. > Thanks, it's working well. Though I'm missing something like I originally suggested: an easy way to go back to the previous grep buffer. I think when one opens a new grep buffer (while keeping the previous one) then one usually does it to quickly investigate something which occured when perusing the first grep. So it would be logical to have a means to easily close the current grep buffer and return to the previous one. Currently, in your implementation pressing 'q' in the grep buffer only closes the current one leaving to the user to switch to the previous grep buffer. Wouldn't make it more sense for q to switch to the last recently used grep buffer if there is one? With an option maybe?