Re: [textadept] annoying adeptsense warnings

From: mitchell <c....at.caladbolg.net>
Date: Fri, 18 Mar 2011 11:24:36 -0400 (Eastern Daylight Time)

On Fri, 18 Mar 2011, Zhehao Mao wrote:

> One more thing, though. When I disabled the python module by commenting out
> "require 'python' " and restarting textadept, the same warnings kept cropping
> up. Is there anything I have to do besides commenting out the require
> statement in order to disable a module?

By default textadept tries to load a language module when a lexer is
loaded. You don't have to manually 'require' python in your init.lua; ta
does it automatically when a python file is loaded. If you want to disable
this behavior, rename the python directory to 'python2' or something.

mitchell

>
> On 03/18/2011 11:13 AM, mitchell wrote:
>> Correction:
>>
>> sense.syntax.class_definition = 'class%s+([%w_]+)'
>>
>> The class name should be multiple characters, not just a single one ;)
>>
>> mitchell
>>
>> On Fri, 18 Mar 2011, mitchell wrote:
>>
>>> Hi,
>>>
>>> On Fri, 18 Mar 2011, Zhehao Mao wrote:
>>>
>>>> Certainly.
>>>>
>>>> I was editing in python when the warnings started cropping up. I
>>>> tried disabling the python module and restarting textadept, but the
>>>> same thing kept happening.
>>>
>>> Okay, this is a bug with Robert's python module:
>>>
>>> sense.syntax.class_definition = 'class%s+([%w_]'
>>>
>>> should be
>>>
>>> sense.syntax.class_definition = 'class%s+([%w_])'
>>>
>>> That will stop the error you are seeing.
>>>
>>> mitchell
>>>
>>>>
>>>> On 03/18/2011 11:03 AM, mitchell wrote:
>>>>> Hi,
>>>>>
>>>>> On Fri, 18 Mar 2011, Zhehao Mao wrote:
>>>>>
>>>>>> Adeptsense keeps outputting some annoying warnings while I am trying
>>>>>> to edit
>>>>>>
>>>>>> ...local/lib/textadept/modules/textadept/adeptsense.lua:365:
>>>>>> unfinished capture
>>>>>>
>>>>>> Is there a way to turn these warnings off? It's a real nuisance when
>>>>>> the message buffer pops up after each line. Thanks a lot.
>>>>>
>>>>> This is a bug. What language are you using? Can you please provide more
>>>>> information?
>>>>>
>>>>> Thanks,
>>>>> mitchell
>>>>>
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "textadept" group.
>>>>>> To post to this group, send email to textadept.at.googlegroups.com.
>>>>>> To unsubscribe from this group, send email to
>>>>>> textadept+unsubscribe.at.googlegroups.com.
>>>>>> For more options, visit this group at
>>>>>> http://groups.google.com/group/textadept?hl=en.
>>>>>>
>>>>>>
>>>>>
>>>>> mitchell
>>>>>
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "textadept" group.
>>>> To post to this group, send email to textadept.at.googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> textadept+unsubscribe.at.googlegroups.com.
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/textadept?hl=en.
>>>>
>>>>
>>>
>>> mitchell
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "textadept" group.
>>> To post to this group, send email to textadept.at.googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> textadept+unsubscribe.at.googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/textadept?hl=en.
>>>
>>>
>>
>> mitchell
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "textadept" group.
> To post to this group, send email to textadept.at.googlegroups.com.
> To unsubscribe from this group, send email to
> textadept+unsubscribe.at.googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/textadept?hl=en.
>
>

mitchell
Received on Fri 18 Mar 2011 - 11:24:36 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:02:41 EST