From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Rename refactoring, or something like that Date: Sun, 15 Nov 2015 06:43:24 +0200 Message-ID: <56480D6C.2080408@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1447656923 10188 80.91.229.3 (16 Nov 2015 06:55:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Nov 2015 06:55:23 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 16 07:55:19 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 1ZyDh8-0000rU-Ph for ged-emacs-devel@m.gmane.org; Mon, 16 Nov 2015 07:55:18 +0100 Original-Received: from localhost ([::1]:46067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyDh8-0006qy-32 for ged-emacs-devel@m.gmane.org; Mon, 16 Nov 2015 01:55:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxpA3-00083D-Hr for emacs-devel@gnu.org; Sat, 14 Nov 2015 23:43:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zxp9z-0004sr-IF for emacs-devel@gnu.org; Sat, 14 Nov 2015 23:43:31 -0500 Original-Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:37860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zxp9z-0004sk-C3 for emacs-devel@gnu.org; Sat, 14 Nov 2015 23:43:27 -0500 Original-Received: by wmww144 with SMTP id w144so78306778wmw.0 for ; Sat, 14 Nov 2015 20:43:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=e55CdtVolKSuj3k3ggH/riTaNrJQkLp3qcTTJs0wR3Q=; b=Ge6tQRY2HjOOd/ApvFxSbpy/51+mfuUL8qhiwDqEMUnCxzEPnkC6061ippKQJ6AFDi j78XLGnykQsKrd3kiRVjrku0gjor9il4ub/mt+o0rMXd0ORYX/uPFFR+Nweg4d4VDqxi oJhbXgcjNU6G3C3qsSdjvN9sVmE0a8cEA1OxGnA5lKcQMXsiliIjZ4Fg+COUQ/d6eMgf gUhz9sUQMgyTn+qa7eyCUnBF24WYcFM/OArTo1vd/q41UC2l19CNnf6w1ZZO87OyQXTB PieB1Dz1qCvZsBMckQzZVs+uXNs9ml2wjY1FPHttGvJ+i7E8BSeI56DODFcIweQVfIai r7uA== X-Received: by 10.28.182.11 with SMTP id g11mr12515134wmf.42.1447562606679; Sat, 14 Nov 2015 20:43:26 -0800 (PST) Original-Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id jh4sm27578787wjb.33.2015.11.14.20.43.25 for (version=TLSv1/SSLv3 cipher=OTHER); Sat, 14 Nov 2015 20:43:25 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c09::22f 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:194515 Archived-At: 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.