all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Alex Bennée" <kernel-hacker@bennee.com>
To: Eric James Michael Ritz <EricJMRitz@yahoo.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Creating Custom Occur Mode Buffers
Date: Thu, 27 Feb 2014 22:08:37 +0000	[thread overview]
Message-ID: <87sir4fbtm.fsf@bennee.com> (raw)
In-Reply-To: <530E99B2.6090608@yahoo.com>


Eric James Michael Ritz <EricJMRitz@yahoo.com> 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




      parent reply	other threads:[~2014-02-27 22:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-27  1:49 Creating Custom Occur Mode Buffers Eric James Michael Ritz
2014-02-27  9:08 ` Thorsten Jolitz
2014-02-27 22:08 ` Alex Bennée [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sir4fbtm.fsf@bennee.com \
    --to=kernel-hacker@bennee.com \
    --cc=EricJMRitz@yahoo.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.