* Re: Kedit-like ALL command for emacs
[not found] <mailman.3.1301413811.27153.help-gnu-emacs@gnu.org>
@ 2011-03-30 8:56 ` Marc Mientki
2011-03-30 11:53 ` Tom
[not found] ` <mailman.6.1301486023.6119.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 7+ messages in thread
From: Marc Mientki @ 2011-03-30 8:56 UTC (permalink / raw
To: help-gnu-emacs
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?
HTH
regards
Marc
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Kedit-like ALL command for emacs
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>
1 sibling, 0 replies; 7+ messages in thread
From: Tom @ 2011-03-30 11:53 UTC (permalink / raw
To: help-gnu-emacs
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] 7+ messages in thread
* Re: Kedit-like ALL command for emacs
[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
0 siblings, 1 reply; 7+ messages in thread
From: brian powell @ 2011-04-07 15:48 UTC (permalink / raw
To: help-gnu-emacs
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
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] 7+ messages in thread
* Re: Kedit-like ALL command for emacs
2011-04-07 15:48 ` brian powell
@ 2011-04-08 18:06 ` Jambunathan K
[not found] ` <BANLkTindCwtENejh7mqTgTET7f+pKsd4yQ@mail.gmail.com>
2011-04-09 16:53 ` Tom
0 siblings, 2 replies; 7+ messages in thread
From: Jambunathan K @ 2011-04-08 18:06 UTC (permalink / raw
To: brian powell; +Cc: help-gnu-emacs
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] 7+ messages in thread
* 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; 7+ messages 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
and/or
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
changes."
So you could do something like "emacs blahfiles*" and then:
Mx multi-occur
and/or
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] 7+ messages in thread
* Re: Kedit-like ALL command for emacs
2011-04-08 18:06 ` Jambunathan K
[not found] ` <BANLkTindCwtENejh7mqTgTET7f+pKsd4yQ@mail.gmail.com>
@ 2011-04-09 16:53 ` Tom
2011-04-09 17:18 ` Drew Adams
1 sibling, 1 reply; 7+ messages in thread
From: Tom @ 2011-04-09 16:53 UTC (permalink / raw
To: help-gnu-emacs
Jambunathan K <kjambunathan <at> gmail.com> writes:
>
> 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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Kedit-like ALL command for emacs
2011-04-09 16:53 ` Tom
@ 2011-04-09 17:18 ` Drew Adams
0 siblings, 0 replies; 7+ messages in thread
From: Drew Adams @ 2011-04-09 17:18 UTC (permalink / raw
To: 'Tom', help-gnu-emacs
> > 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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-04-09 17:18 UTC | newest]
Thread overview: 7+ messages (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>
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
[not found] ` <BANLkTindCwtENejh7mqTgTET7f+pKsd4yQ@mail.gmail.com>
2011-04-08 19:27 ` Fwd: " brian powell
2011-04-09 16:53 ` Tom
2011-04-09 17:18 ` Drew Adams
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.