emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Refactoring in Emacs


From: Jason Rumney
Subject: Re: Refactoring in Emacs
Date: Wed, 01 Aug 2012 22:05:23 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> Date: Tue, 31 Jul 2012 21:42:44 +0400
>> From: Dmitry Antipov <address@hidden>
>> 
>> IIUC real refactoring of C should imply preprocessing and full
>> syntactic analysis
>
> Why is that?  Can you give a couple of examples?
>
> Even if a full-fledged refactoring engine does need that, we could
> have a somewhat limited one that doesn't, could we?  AFAICS, the
> refactoring you did until now were all quite simple.

Preprocessing might even be a disadvantage, as it would mean skipping
blocks of code that are currently #ifdef'ed out because of the
configuration constants of the platform on which the refactoring is
being done.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]