[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interative batch query-replace question
From: |
Joel J. Adamson |
Subject: |
Re: Interative batch query-replace question |
Date: |
Thu, 29 Nov 2007 16:16:15 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Andreas Röhler <andreas.roehler@online.de> writes:
> If you could give a short description of your task,
> that may help to find the code.
>
> AFAIK `dired-' is designed to be called from the
> dired-buffer. If you do query-replace from a program,
> you probably should use other functions.
>
>
> Andreas Röhler
>
>> The problem is:
>> (defun batch-query-replace-regexp()
>> (interactive)
>> (switch-to-buffer "*Find*")
>> (dired-do-query-replace-regexp "jp\\.co" "jp.co2")
>> ->can't reach here (switch-to-buffer "*Find*")
>> (dired-do-query-replace-regexp "java" "java2")
>> )
>>
>> Ke Lu <lu@luxdo.jp> writes:
I'm coming in late on this convo, but AFAIK dired and ibuffer do their
own "batch" query-replace-regexp functions.
Joel
--
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA 02114
(617) 643-1432
(303) 880-3109
- Interative batch query-replace question, Ke Lu, 2007/11/28
- Re: Interative batch query-replace question, Ke Lu, 2007/11/29
- Re: Interative batch query-replace question, Andreas Röhler, 2007/11/29
- Message not available
- Message not available
- Re: Interative batch query-replace question, Ke Lu, 2007/11/29
- Re: Interative batch query-replace question, Andreas Röhler, 2007/11/30
- Message not available
- Re: Interative batch query-replace question, Ke Lu, 2007/11/30
- Re: Interative batch query-replace question, Joel J. Adamson, 2007/11/30
- Re: Interative batch query-replace question, Andreas Röhler, 2007/11/30
- Message not available
- Re: Interative batch query-replace question, Ke Lu, 2007/11/30
Re: Interative batch query-replace question, Andreas Röhler, 2007/11/29