From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: Rename refactoring, or something like that Date: Mon, 16 Nov 2015 11:03:14 +0100 Message-ID: References: <56480D6C.2080408@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1447709628 5126 80.91.229.3 (16 Nov 2015 21:33:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Nov 2015 21:33:48 +0000 (UTC) Cc: emacs-devel To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 16 22:33:38 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZyRP7-0007V1-4u for ged-emacs-devel@m.gmane.org; Mon, 16 Nov 2015 22:33:37 +0100 Original-Received: from localhost ([::1]:49884 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyRP6-0005Jx-Bz for ged-emacs-devel@m.gmane.org; Mon, 16 Nov 2015 16:33:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyGds-0001yt-D1 for emacs-devel@gnu.org; Mon, 16 Nov 2015 05:04:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyGdn-00052g-DA for emacs-devel@gnu.org; Mon, 16 Nov 2015 05:04:08 -0500 Original-Received: from mx6.bahnhof.se ([213.80.101.16]:37917) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyGdn-00052L-6t for emacs-devel@gnu.org; Mon, 16 Nov 2015 05:04:03 -0500 Original-Received: from localhost (mf.bahnhof.se [213.80.101.20]) by mx6-reinject (Postfix) with ESMTP id AB3BC46AE9; Mon, 16 Nov 2015 11:03:59 +0100 (CET) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MF3) Original-Received: from mf3.bahnhof.se ([127.0.0.1]) by localhost (mf3.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YiIkd3xV+jZB; Mon, 16 Nov 2015 11:03:51 +0100 (CET) Original-Received: from mta.verona.se (h-235-62.a149.priv.bahnhof.se [85.24.235.62]) by mf3.bahnhof.se (Postfix) with ESMTP id A950F3E8D54; Mon, 16 Nov 2015 11:03:24 +0100 (CET) Original-Received: from localhost (unknown [127.0.0.1]) by mta.verona.se (Postfix) with ESMTP id 391814E34F0; Mon, 16 Nov 2015 10:03:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at verona.se Original-Received: from mta.verona.se ([127.0.0.1]) by localhost (exodia.verona.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xUbiy6xj6HIV; Mon, 16 Nov 2015 11:03:14 +0100 (CET) Original-Received: from exodia.verona.se (www.verona.se [192.168.200.15]) by mta.verona.se (Postfix) with ESMTP id 8969D4E33EB; Mon, 16 Nov 2015 11:03:14 +0100 (CET) In-Reply-To: <56480D6C.2080408@yandex.ru> (Dmitry Gutov's message of "Sun, 15 Nov 2015 06:43:24 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 213.80.101.16 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:194565 Archived-At: Dmitry Gutov 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. > > 5. Feel hugely motivated, and write a better UI for all of that. > Does it work like one of the grep-edit implementations? -- Joakim Verona