On 04/19/2012 10:09 AM, Aneesh Kumar K.V wrote:
> "Eric M. Ludlam"<ericludlam@...> writes:
>
>> On 04/19/2012 03:24 AM, Aneesh Kumar K.V wrote:
>>> "Aneesh Kumar K.V"<aneesh.kumar@...> writes:
>>>
>>>> Is there a version of semantic-fold.el that i can use with newtrunk
>>>> branch ?
>>>
>>> I started using this.
>>> http://www.emacswiki.org/emacs/semantic-tag-folding.el
>>
>> I think that is the same as the file in
>> cedet/contrib/semantic-tag-folding.el, and also in newtrunk/contrib.
>>
>> I'm not sure of it's current state in newtrunk.
>
> The bzr version had new changes so I switched to that. It added two new
> customization option for semantic-tag-folding-allow-folding-of "code"
> and "block". What is those two semantic class suppose to fold ? code
> blocks like 'if' and 'while' ?
Some languages like Emacs Lisp allow you to have code outside a
function, so a code tag is just some code sitting somewhere. I'm not
sure about block.
Anyway, there are a bunch of languages with different tag classes, so
the folding mode needs a few unusual tag classes to handle them.
Eric
|