From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Halliday Newsgroups: gmane.emacs.help Subject: Re: customise grep-find Date: Wed, 4 Feb 2015 13:58:26 -0800 (PST) Message-ID: References: <84386l6ew2.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1423087283 7020 80.91.229.3 (4 Feb 2015 22:01:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Feb 2015 22:01:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 04 23:01:23 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YJ80h-0004VZ-1C for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Feb 2015 23:01:23 +0100 Original-Received: from localhost ([::1]:39052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJ80g-0003vC-LE for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Feb 2015 17:01:22 -0500 X-Received: by 10.182.251.231 with SMTP id zn7mr565926obc.24.1423087106741; Wed, 04 Feb 2015 13:58:26 -0800 (PST) X-Received: by 10.140.39.239 with SMTP id v102mr8519qgv.40.1423087106716; Wed, 04 Feb 2015 13:58:26 -0800 (PST) Original-Path: usenet.stanford.edu!hl2no7309427igb.0!news-out.google.com!q4ni11068qan.0!nntp.google.com!v8no6648020qal.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <84386l6ew2.fsf@gmail.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=188.29.164.139; posting-account=kRukCAoAAAANs-vsVh9dFwo5kp5pwnPz Original-NNTP-Posting-Host: 188.29.164.139 User-Agent: G2/1.0 Injection-Date: Wed, 04 Feb 2015 21:58:26 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:210207 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102484 Archived-At: On Wednesday, 4 February 2015 12:27:13 UTC, Marco Wahl wrote: > Sam Halliday writes: > > I use grep-find a lot[1] but it irks me that: > > > > 1. it opens the results in a new window > Still open for more comments. > > 2. when selecting a result (e.g. with RET), navigation happens in the > > other window. > C-o runs the command compilation-display-error for me. This could be > what you want. I think that is the same behaviour as I'm currently seeing. I want to navigate in the current window, not the other one. > > Ideally I'd like the results buffer to appear in the current window, > > and for selected entries to open in a new window. > > > > > > Sadly I was unable to find any way to customise this behaviour in the > > docs[2]. > > Not a direct answer, but have you played already with "You can find the > corresponding lines in the original files using C-x ` ..." (from the > docs)? That, also, does the navigation in the other window. Best regards, Sam