From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Thread: 103376,4368e7c7118de06c X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: ICFP2004 results are in Date: 23 Sep 2004 19:58:37 -0400 Organization: Cuivre, Argent, Or Message-ID: References: <4150C42D.9070009@acm.org> <4151957C.3030800@acm.org> <87acvifbyk.fsf@beeblebrox.rfc1149.net> <87acvhqdf4.fsf@beeblebrox.rfc1149.net> NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: melchior.cuivre.fr.eu.org 1095983933 17049 212.85.156.195 (23 Sep 2004 23:58:53 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Thu, 23 Sep 2004 23:58:53 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: In-Reply-To: <87acvhqdf4.fsf@beeblebrox.rfc1149.net> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: g2news1.google.com comp.lang.ada:4061 Date: 2004-09-23T19:58:37-04:00 Samuel Tardieu writes: > >>>>> "Stephen" == Stephen Leake writes: > > Stephen> What are the features of a "refactoring editor" that Emacs + > Stephen> GNAT lack? > > Ed made a very interesting answer, so I won't repeat it. Here are two > concrete examples of things I often do in Smalltalk: > > - select a piece of code in a method, choose "make new method" -- > the piece of code is extracted, moved into a new method with the > appropriate signature, temporary variables are put in the > appropriate place, original location is replaced by a call, > similar piece of codes in other methods are replaced (after user > validation) by a call Interesting. The editor clearly has to know the syntax of the language, and some of the semantics. I can see using ASIS to get there with Ada, but it would have to run fast to be acceptably interactive. > - move a method up or down the hierarchy -- if it is up, remove > unnecessary redundant implementation in subclasses I do this on occasion, and GNAT doesn't provide much help in identifying what needs to be removed. I think the "require override" feature in Ada 05 will help here. -- -- Stephe