From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex =?utf-8?Q?Benn=C3=A9e?= Newsgroups: gmane.emacs.help Subject: Re: Creating Custom Occur Mode Buffers Date: Thu, 27 Feb 2014 22:08:37 +0000 Message-ID: <87sir4fbtm.fsf@bennee.com> References: <530E99B2.6090608@yahoo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1393538979 749 80.91.229.3 (27 Feb 2014 22:09:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Feb 2014 22:09:39 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Eric James Michael Ritz Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 27 23:09:46 2014 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 1WJ99E-0003Bs-1b for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Feb 2014 23:09:44 +0100 Original-Received: from localhost ([::1]:48297 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJ99D-0003zb-IM for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Feb 2014 17:09:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJ98O-0003QQ-R6 for help-gnu-emacs@gnu.org; Thu, 27 Feb 2014 17:08:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJ98G-000163-BA for help-gnu-emacs@gnu.org; Thu, 27 Feb 2014 17:08:52 -0500 Original-Received: from static.88-198-71-155.clients.your-server.de ([88.198.71.155]:33097 helo=socrates.bennee.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJ98G-00015G-5E for help-gnu-emacs@gnu.org; Thu, 27 Feb 2014 17:08:44 -0500 Original-Received: from localhost ([127.0.0.1]) by socrates.bennee.com with esmtp (Exim 4.80) (envelope-from ) id 1WJ98F-0004QY-Bp; Thu, 27 Feb 2014 23:08:43 +0100 User-agent: mu4e 0.9.9.6pre2; emacs 24.3.50.2 In-reply-to: <530E99B2.6090608@yahoo.com> X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: kernel-hacker@bennee.com X-SA-Exim-Scanned: No (on socrates.bennee.com); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 88.198.71.155 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:96217 Archived-At: Eric James Michael Ritz writes: > I am working on a mode where I want the user to take some user input, > run it through an external program which will return all lines in a > file matching that input, and then show those lines in an *Occur* > buffer so that the user can easily navigate them. I'm confused as to what your trying to achieve other than re-implementing occur-mode with an external step? > What is the best > way to create and populate a buffer to work with Occur Mode? Or is > there a better approach which I should consider? You may want to look at helm (helm-occur, helm-swoop etc). If none of the existing helm-* functions do what you need it's built to make it fairly easy to navigate and narrow any list of stuff. > > Thank’s everyone in advanced for any help. -- Alex Bennée