Re: [code] [textadept] Textadept 10.0 alpha

From: Pedro Andres Aranda Gutierrez <paaguti.att.gmail.com>
Date: Wed, 3 Jan 2018 07:26:03 +0100

Hi Mitchell,

tried and got the same warning. Again, it's just cosmetic but anyhow it
looks like a bit of an overkill. :-)
Anyway of triggering this warning when the function gets called?

/PA

On 2 January 2018 at 19:20, Mitchell <m.att.foicica.com> wrote:

> Hi Pedro,
>
> On Tue, 2 Jan 2018, Pedro Andres Aranda Gutierrez wrote:
>
> Happy New Year to everyone:
>>
>> Nice code. I'm running it on XUbuntu 16.04 clean from compilation and have
>> experienced no problems so far.
>> Being extremely itchy I'd just complain about a quirk:
>>
>> In my init code, I have the following to be able to move between pre9.7
>> and
>> post9.7:
>>
>> --
>> -- Prepare transition for 9.7
>> --
>> set_theme = (ui.set_theme ~= nil) and ui.set_theme or buffer.set_theme
>>
>> to use the right set_theme function:
>>
>> set_theme(
>> ftheme,
>> {
>> font = fname,
>> fontsize = fsize,
>> ['style.linenumber'] = lnstyle,
>> })
>>
>> since ui.set_theme doesn't actually called, the set-theme warning looks
>> just a little overkill ;-)
>>
>
> Try `set_theme = buffer.set_theme or ui.set_theme`
>
> Cheers,
> Mitchell
>
> --
> You are subscribed to code.att.foicica.com.
> To change subscription settings, send an e-mail to code+help.att.foicica.com.
> To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
>
>

-- 
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellet zu werden
Georg Kreisler
-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Wed 03 Jan 2018 - 01:26:03 EST

This archive was generated by hypermail 2.2.0 : Wed 03 Jan 2018 - 06:45:46 EST