From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.devel Subject: Re: Note on 109327 Date: Tue, 31 Jul 2012 21:56:54 +0400 Message-ID: <50181C66.6040001@yandex.ru> References: <5017D1D4.2050601@yandex.ru> <83wr1jeua9.fsf@gnu.org> 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: dough.gmane.org 1343757431 10224 80.91.229.3 (31 Jul 2012 17:57:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 Jul 2012 17:57:11 +0000 (UTC) Cc: Juanma Barranquero , Eli Zaretskii , emacs-devel@gnu.org To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 31 19:57:11 2012 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 1SwGgw-000504-VV for ged-emacs-devel@m.gmane.org; Tue, 31 Jul 2012 19:57:11 +0200 Original-Received: from localhost ([::1]:49284 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwGgw-0001QR-CJ for ged-emacs-devel@m.gmane.org; Tue, 31 Jul 2012 13:57:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwGgu-0001QF-AE for emacs-devel@gnu.org; Tue, 31 Jul 2012 13:57:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwGgt-0002rN-7T for emacs-devel@gnu.org; Tue, 31 Jul 2012 13:57:08 -0400 Original-Received: from forward15.mail.yandex.net ([95.108.130.119]:40985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwGgp-0002n6-K5; Tue, 31 Jul 2012 13:57:03 -0400 Original-Received: from smtp12.mail.yandex.net (smtp12.mail.yandex.net [95.108.131.191]) by forward15.mail.yandex.net (Yandex) with ESMTP id F20059E2195; Tue, 31 Jul 2012 21:57:00 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1343757421; bh=N6WNn62YJHIdf086oiGo4yvlCwrT173ZGFC2T8OPgI8=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=X6kSQg2AKEf1nl5oITIlY43gWktaFqEFf7bGVY/DdMIqGpn7LMzUN7joX8s7H4We8 dmeyEGgMXtCr9uxwL5KgXPVu5Y5jWPCkEeX6eRVFYJ4fbTa28xOlgRVLvL2bi9wJ4Q nTZ+/xhDpCyXgjFBmTedAWXoJ5pokelYRvPeiF14= Original-Received: from smtp12.mail.yandex.net (localhost [127.0.0.1]) by smtp12.mail.yandex.net (Yandex) with ESMTP id A8CDB16A02A3; Tue, 31 Jul 2012 21:57:00 +0400 (MSK) Original-Received: from 155.gprs.mts.ru (155.gprs.mts.ru [213.87.130.155]) by smtp12.mail.yandex.net (nwsmtp/Yandex) with ESMTP id utmqH9nl-uwm4bMO6; Tue, 31 Jul 2012 21:56:59 +0400 X-Yandex-Rcpt-Suid: joakim@verona.se X-Yandex-Rcpt-Suid: eliz@gnu.org X-Yandex-Rcpt-Suid: lekktu@gmail.com X-Yandex-Rcpt-Suid: emacs-devel@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1343757420; bh=N6WNn62YJHIdf086oiGo4yvlCwrT173ZGFC2T8OPgI8=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=tV52E+6SH+8SYoCqvOMbAma+XwtuTORJ9IkjTHlxvdEks7Zl0tV1fSkkupDvWRULp tRuA8amNHPtFF+FP4x2x9wWUjEecC9CM3X4J+Cy3C4GCio8Ezl9WXx+14jCqHJsKUW jWLvwgixZPhUf6Owq7fzQBz77giqB690hilYjA7M= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 95.108.130.119 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:152020 Archived-At: On 07/31/2012 09:35 PM, joakim@verona.se wrote: >> Btw, can't we have in Emacs a feature that would allow such >> refactoring? The replacements don't seem too complex to me. Adding >> this to Emacs will both allow getting rid of an external tool, and be >> a valuable addition to Emacs abilities. WDYT? >> > > http://cedet.sourceforge.net/srecode.shtml > > The idea is that the two CEDET tools, Semantic and SRecode can cooperate > to provide such features, I think. Hm... not familiar with it too much. IIUC it's mostly for an interactive editing and navigation. But, if you know how to use it to do, for example, project-wide replacement of foo (X, Y) to foo (Y, X), where X and Y are arbitrary valid C expressions (which may include nested calls of foo), this might be the right direction. Dmitry