unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Tom'" <adatgyujto@gmail.com>, <help-gnu-emacs@gnu.org>
Subject: RE: Kedit-like ALL command for emacs
Date: Sat, 9 Apr 2011 10:18:14 -0700	[thread overview]
Message-ID: <5382A11CF0DA40B68C82BA0D355C7A9F@us.oracle.com> (raw)
In-Reply-To: <loom.20110409T185038-712@post.gmane.org>


> > I think OP wanted something where the searched buffers are 
> > modified from within the occur buffer.
> 
> Yes.
> 
> List-matching-lines is simply an alias for occur, so it's definitely 
> not what I asked for, all.el on the other hand is pretty close.

It sounds like Per's `all.el' should be about what you want.

Maybe this will also help; dunno:  You can use `icicle-occur' (bound to `C-'' by
default) on any number of buffers.  You can use it to search and replace text,
where the replacement happens on demand, on the fly.  Unlike
`query-replace(-regexp)', you can skip around and just hit a key when you want
to make a change - you are not queried about the hits.

*Completions* shows you essentially what `occur' and `all' show you, but without
any context lines.  And the hits are highlighted in the original buffer (which
shows the complete context).  Unlike `occur' and `all', the hits change
dynamically as you type text into the minibuffer.  IOW, it's like an instant,
incrementally updated `occur'/`all'.

icicle-occur:
http://www.emacswiki.org/emacs/Icicles_-_Search_Commands%2c_Overview

Search-and-replace:
http://www.emacswiki.org/emacs/Icicles_-_Search-And-Replace




  reply	other threads:[~2011-04-09 17:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3.1301413811.27153.help-gnu-emacs@gnu.org>
2011-03-30  8:56 ` Kedit-like ALL command for emacs Marc Mientki
2011-03-30 11:53   ` Tom
     [not found]   ` <mailman.6.1301486023.6119.help-gnu-emacs@gnu.org>
2011-04-07 15:48     ` brian powell
2011-04-08 18:06       ` Jambunathan K
2011-04-09 16:53         ` Tom
2011-04-09 17:18           ` Drew Adams [this message]
2011-03-29 15:42 Tom

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=5382A11CF0DA40B68C82BA0D355C7A9F@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=adatgyujto@gmail.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).