Re: [code] Creating new buffers during Textadept's init.lua execution results in severe errors.

From: Mitchell <m.att.foicica.com>
Date: Tue, 30 Jul 2019 17:21:41 -0400 (EDT)

Hi,

On Tue, 30 Jul 2019, Mitchell wrote:

> Hi,
>
> On Mon, 29 Jul 2019, Mitchell wrote:
>
>> Hi David,
>>
>> On Mon, 29 Jul 2019, David Tamar wrote:
>>
>>> I don't know if it's just me, but it seems like a bug in Textadept's C
>>> layer. I can't figure it out.
>>> Any attempt to create new buffers during Textadept's init.lua execution
>>> will make the editor unusable.
>>> [snip]
>>
>> This is a known limitation and needs to be documented or fixed on my side.
>> Thanks for the reminder.
>
> This has now been documented:
> https://foicica.com/hg/textadept/rev/0fb15d8eb8d7

On second thought, I also added a more graceful failure mechanism if the user attempts to create buffers on init. Rather than allowing things to go horribly wrong, a simple error message is displayed.

https://foicica.com/hg/textadept/rev/9ce26784440e

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.
Received on Tue 30 Jul 2019 - 17:21:41 EDT

This archive was generated by hypermail 2.2.0 : Wed 31 Jul 2019 - 06:49:38 EDT