From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Yates Newsgroups: gmane.emacs.devel Subject: Re: Rename refactoring, or something like that Date: Tue, 17 Nov 2015 06:10:46 -0500 Message-ID: References: <56480D6C.2080408@yandex.ru> <87a8qe9jeo.fsf@wanadoo.es> <564A424A.2070904@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b672c72dde3d60524ba939d X-Trace: ger.gmane.org 1447758716 15761 80.91.229.3 (17 Nov 2015 11:11:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Nov 2015 11:11:56 +0000 (UTC) Cc: =?UTF-8?Q?=C3=93scar_Fuentes?= , Emacs developers To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 17 12:11:51 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 1ZyeAC-0001Fh-9W for ged-emacs-devel@m.gmane.org; Tue, 17 Nov 2015 12:11:04 +0100 Original-Received: from localhost ([::1]:57438 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyeAB-0000sp-P2 for ged-emacs-devel@m.gmane.org; Tue, 17 Nov 2015 06:11:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zye9x-0000rz-44 for emacs-devel@gnu.org; Tue, 17 Nov 2015 06:10:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zye9w-0001wP-7o for emacs-devel@gnu.org; Tue, 17 Nov 2015 06:10:49 -0500 Original-Received: from mail-pa0-x233.google.com ([2607:f8b0:400e:c03::233]:34590) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zye9v-0001wI-Rx for emacs-devel@gnu.org; Tue, 17 Nov 2015 06:10:47 -0500 Original-Received: by padhx2 with SMTP id hx2so6353435pad.1 for ; Tue, 17 Nov 2015 03:10:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=9XR09NbN9m4VjbXDa5So5nXnX08PWgBftCDHxuiuB18=; b=Bm4YAhtfMsQtesYwzQSMmHa2l19+VY7GXcfAyKWRHnFnMa/m7H/vCqZnWCOLOGC77J X/QlbGeKufAB2L/9LEPzxl6Aq2di6knj2okVpPp51mLdlo/fMi6+ajGJ1U4gfk162YfB /79YMT57+O96rVZwWfYryD98BqmOp0B1yWhg1Nn5YOCQxpZ7hXjkXTUrhsg3DBLNudNq 5hkC7iVT0iMMqlIFaLLxn1zCIfLu37j5qJP++jJFuMriEDkCPqp4Gy4YF0R5i+Dyx9U9 m+Jlq4pLNd10tia91Nmu6HwkI0XlSVpTIaSp4BmJuZ9Vu2LQTVus1f0Ti0l38fGbD+a8 dmiw== X-Received: by 10.68.103.227 with SMTP id fz3mr62355745pbb.159.1447758646860; Tue, 17 Nov 2015 03:10:46 -0800 (PST) Original-Received: by 10.66.84.35 with HTTP; Tue, 17 Nov 2015 03:10:46 -0800 (PST) In-Reply-To: <564A424A.2070904@yandex.ru> X-Google-Sender-Auth: SmBFRR8pDNnja5sWVxkp-s2Lfes X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::233 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:194636 Archived-At: --047d7b672c72dde3d60524ba939d Content-Type: text/plain; charset=UTF-8 As part of an improved UI I would hope that if I rename an identifier to an identifier of a different length there will be an easy way to visit the sites of the renames to fix up formatting (primarily adjusting whitespace and/or lines that have become too long). If the rename is not based on a strong semantic framework (e.g. in the C++ world something that can truly grok all of the name resolution rules) then there will need to be some means of incorporating human input (a la query-and-replace). If such querying occurs on a site by site basis then there could be a query respone that says "yes, do the rename but then pause and let me do some editing". /john --047d7b672c72dde3d60524ba939d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
As part of an improved UI I would hope that if I rename an identifier to an identifier of a differ= ent length there will be an easy way to visit the sites of the renames to f= ix up formatting (primarily adjusting whitespace and/or lines that have bec= ome too long).

If the rename is not based on a stro= ng semantic framework (e.g. in the C++ world something that can truly grok = all of the name resolution rules) then there will need to be some means of = incorporating human input (a la query-and-replace).=C2=A0 If such querying = occurs on a site by site basis then there could be a query respone that say= s "yes, do the rename but then pause and let me do some editing".=

/john

--047d7b672c72dde3d60524ba939d--