Re: [code] [textadept] Textadept 6.5

From: Ryan Pusztai <>
Date: Tue, 2 Apr 2013 08:18:57 -0400

Hi Mitchell,

On Tue, Apr 2, 2013 at 12:37 AM, Mitchell <> wrote:

> Hi Ryan,
> I know you mentioned that the paths accepted are now just strings, but
>> during my conversion I left it as a table and the error is a bit vague
>> (/bin/textadept_6.5.x86_64/**core/file_io.lua:433: attempt to call method
>> 'gmatch' (a nil value)). Maybe check that the type is table? Just a
>> thought.
> I would prefer to keep the API simple. If you still want to use a table,
> my recommendation is to call `io.snapopen(table.concat(t, '\n'))`. This is
> a valid concern though, so thanks for bringing it up.

It is much more about the error message not being clear than about using a
table. What about making the error clearer?

You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Tue 02 Apr 2013 - 08:18:57 EDT

This archive was generated by hypermail 2.2.0 : Wed 03 Apr 2013 - 06:38:37 EDT