From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: customise grep-find Date: Thu, 05 Feb 2015 00:37:20 +0000 Message-ID: <87zj8turb3.fsf@robertthorpeconsulting.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423096666 23322 80.91.229.3 (5 Feb 2015 00:37:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Feb 2015 00:37:46 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Sam Halliday Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 05 01:37:42 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 1YJARx-0008NL-Fz for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Feb 2015 01:37:41 +0100 Original-Received: from localhost ([::1]:39521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJARx-0002JY-0I for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Feb 2015 19:37:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJARm-0002JS-EI for help-gnu-emacs@gnu.org; Wed, 04 Feb 2015 19:37:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJARg-0002hT-0f for help-gnu-emacs@gnu.org; Wed, 04 Feb 2015 19:37:30 -0500 Original-Received: from outbound-smtp04.blacknight.com ([81.17.249.35]:47097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJARf-0002hP-Qv for help-gnu-emacs@gnu.org; Wed, 04 Feb 2015 19:37:23 -0500 Original-Received: from mail.blacknight.com (pemlinmail03.blacknight.ie [81.17.254.16]) by outbound-smtp04.blacknight.com (Postfix) with ESMTPS id F2A8699120 for ; Thu, 5 Feb 2015 00:37:21 +0000 (UTC) Original-Received: (qmail 8257 invoked from network); 5 Feb 2015 00:37:21 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.76.163.120]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 5 Feb 2015 00:37:21 -0000 In-Reply-To: (message from Sam Halliday on Wed, 4 Feb 2015 13:58:26 -0800 (PST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.35 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:102486 Archived-At: Sam Halliday writes: > I think that is the same behaviour as I'm currently seeing. I want to navigate in the current window, not the other one. So, you want the *grep* buffer to open with the cursor in it rather than with the cursor in the buffer you started in? That's going to be tricky. Grep & grep-find work by using compile mode. This is compile mode's default behaviour, it can't be easily changed as far as I can tell. Changing the code in compile.el would change all buffers that use it. BR, Robert Thorpe