emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Fwd: Kedit-like ALL command for emacs
       [not found]         ` <BANLkTindCwtENejh7mqTgTET7f+pKsd4yQ@mail.gmail.com>
@ 2011-04-08 19:27           ` brian powell
  0 siblings, 0 replies; only message in thread
From: brian powell @ 2011-04-08 19:27 UTC (permalink / raw)
  To: emacs-orgmode

Well, if that is what he wanted; then, suggest one of these:

Mx query-replace


Mx query-replace-regexp

--EMACS has the best/fastest regexp engine available for doing an

Mx query-replace-regexp

Because ELISP has a lot of functions optimized for editing files,
using multiple buffers, windows, etc.

The regexp engine is optimized for "first-character-matching"; i.e.
quickly finding and highlighting and replacing characters in a
buffer--faster than anything else, last time I checked.

Suggest using QEMACS if you want to edit multigigabyte files.

Also, to use an occur buffer (which you seem to refer to below) all
you would do there would be:

Mx occur

Then go to the *Occur* buffer where it shows the matching regexp in
highlighted text and then LeftMouse on the line (anywhere on the line)
and the line will pop up in the other window.

Also, there is a way to edit every file in the set of a regexp in a
directory tree (a
top-level directory and all of its subdirectories) that contains a
regexp--one replacement at a time:

** "Occur mode changes:

*** The new command `multi-occur' is just like `occur', except it can
search multiple buffers.  There is also a new command
`multi-occur-in-matching-buffers' which allows you to specify the
buffers to search by their filenames or buffer names.  Internally,
Occur mode has been rewritten, and now uses font-lock, among other

So you could do something like "emacs blahfiles*" and then:

Mx multi-occur


Mx multi-occur-in-matching-buffers

On Fri, Apr 8, 2011 at 2:06 PM, Jambunathan K <kjambunathan@gmail.com> wrote:
> brian powell <briangpowellms@gmail.com> writes:
>> After reviewing what KEDIT ALL is; it seems to me all you want to do
>> is--in an EMACS buffer--regardless of the version or type of EMACS:
>> Mx list-matching-lines
> I haven't used KEDIT.
> I did try out all.el. Within the occur-like buffer that all.el pops up,
> one can edit the matches and have the replacements propagated to the
> searched buffers.
> But list-matching-lines pops up a read-only buffer. Also the last line
> of the docstring says `In any case the searched buffers are not
> modified'.
> I think OP wanted something where the searched buffers are modified from
> within the occur buffer.
> Jambunathan K.
>> On Mar 30, 7:53 am, Tom <adatgyu...@gmail.com> wrote:
>>> Marc Mientki <no <at> no.com> writes:
>>> > Am 29.03.2011 17:42, schrieb Tom:
>>> > > Do you know a package which implements the KEDIT ALL command for Emacs?
>>> > >http://www.kedit.com/hint_all.html
>>> >ftp://ftp.dina.kvl.dk/pub/Staff/Per.Abrahamsen/auctex/all.el
>>> > Maybe?
>>> Looks good. Thanks.
>>> I wonder why it is not part of the Emacs distribution. Seems like a
>>> useful package.
> --

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-08 19:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.3.1301413811.27153.help-gnu-emacs@gnu.org>
     [not found] ` <imur7v$323$1@news.onet.pl>
     [not found]   ` <mailman.6.1301486023.6119.help-gnu-emacs@gnu.org>
     [not found]     ` <e201cf7e-67be-4c77-8895-50902e45eac5@m13g2000yqb.googlegroups.com>
     [not found]       ` <811v1cty6w.fsf@gmail.com>
     [not found]         ` <BANLkTindCwtENejh7mqTgTET7f+pKsd4yQ@mail.gmail.com>
2011-04-08 19:27           ` Fwd: Kedit-like ALL command for emacs brian powell

Code repositories for project(s) associated with this inbox:


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).