[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rename refactoring, or something like that
From: |
Óscar Fuentes |
Subject: |
Re: Rename refactoring, or something like that |
Date: |
Mon, 16 Nov 2015 14:13:35 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Dmitry Gutov <address@hidden> writes:
> We have "something like that" now, implemented as an xref command
> acting on a list of search results. To try it out:
>
> 1. M-x xref-find-references, or M-x project-find-regexp. Input
> something real, get a list of matches.
>
> 2. In the results buffer, press `r'.
>
> 3. Somewhat counter-intuitively, press RET to agree to `.*', then
> enter the replacement string, and press RET again.
>
> 4. Press `y' or `n' a few times, to choose which of the matches to
> actually replace. M-x save-some-buffers, then `!', to save the
> changes.
How is this different from grepping and then using grep-edit.el?
> 5. Feel hugely motivated, and write a better UI for all of that.
I suspect that the UI is the least of our concerns.
Re: A better UI than perform-replace, Andreas Schwab, 2015/11/18
Re: A better UI than perform-replace, Eric Ludlam, 2015/11/20
Re: Rename refactoring, or something like that,
Óscar Fuentes <=
Re: Rename refactoring, or something like that, joakim, 2015/11/16
Re: Rename refactoring, or something like that, Eli Zaretskii, 2015/11/16