From: Fabian Braennstroem <fab@ddorf.de>
Subject: Re: display information in seperate buffer
Date: 30 Jun 2005 09:42:44 GMT [thread overview]
Message-ID: <slrndc7g0q.153.fab@node1.ddorf.de> (raw)
In-Reply-To: slrndc5crn.153.fab@node1.ddorf.de
Hi,
On 2005-06-29, Fabian Braennstroem <fab@ddorf.de> wrote:
> Hi Emilio,
>
> On 2005-06-29, Emilio Lopes <eclig@gmx.net> wrote:
> > Fabian Braennstroem <fab <at> ddorf.de> writes:
> >
> > > I wonder if there exist any package that filters out some
> > > information about certain files using dired and display
> > > those in a separate buffer.
> > > I mean I would like to extract lines with certain keywords
> > > (e.g. fluid and turbulence) or special lines from the file
> > > which is currently 'active' in dired. It is probably similar
> > > to some mbox filtering. And more advanced: if two files are
> > > 'active/marked' then show the infos in separate windows and
> > > highlight the differences (probably like ediff-buffers).
> >
> > Do you know about `occur', `multi-occur' and `dired-do-igrep'
> > (from igrep.el)? They should be a good starting point.
>
> No, never heard of occur and my first attempt to use the
> igrep did not work.
> Thanks, I will take a look at it.
Occur/Multi-occur looks great and igrep was just an old version :-) I always
had problems to find the newest packages; it looks like that
emacswiki has some of the newest ones...
One question to multi-occur, right now it displays the
matching lines for the given regexp for the chosen files, which is
fine, but am I able to run some kine of ediff so multi-occur
highlights the different listed lines, e.g.:
20 matches for "inlet" in buffer: *Occur*<2>
35: inletvelocity = 10 [m/s]
38: inlet = 2
9 matches for "inlet" in buffer: keps_small_301.out
36: inletvelocity = 20 [m/s]
40: inlet = 2
So it would highlight the lines containing 'inletvelocity'!?
Greetings, Fabian
next prev parent reply other threads:[~2005-06-30 9:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-28 10:04 display information in seperate buffer Fabian Braennstroem
2005-06-29 7:18 ` Emilio Lopes
[not found] ` <mailman.1563.1120030207.2857.help-gnu-emacs@gnu.org>
2005-06-29 14:36 ` Fabian Braennstroem
2005-06-30 9:42 ` Fabian Braennstroem [this message]
2005-06-30 17:01 ` Kevin Rodgers
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=slrndc7g0q.153.fab@node1.ddorf.de \
--to=fab@ddorf.de \
--cc=f.braennstroem@gmx.de \
/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.