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

From: Mitchell <>
Date: Tue, 30 Jul 2019 15:36:19 -0400 (EDT)

Hi David,

On Mon, 29 Jul 2019, David Tamar wrote:

> Hi, Mitchell.
> I tried to test this with the event right now, the result is very similar to case #1 in my previous mail:
> The file is opened and shown, but the lexer fails to show the colors on first look, but switching between tabs brings the colors back.
> Here's the sample from my "init.lua":
> local function test()
> io.open_file("/home/david/.textadept/init.lua")
> end
> events.connect(events.INITIALIZED, test)

It put this into a clean *init.lua* file, modified the file path to be something on my machine, and ran Textadept without issue. The Lua file opened with the correct highlighting.

I'm going to guess there's something else in your *init.lua* that is causing trouble.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Tue 30 Jul 2019 - 15:36:19 EDT

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