Nedit session

A.V.Kuznetsov kuzn at umps.mephi.ru
Mon May 21 12:11:21 CEST 2007


Hi,

I made macro package NEsession to manage Nedit sessions.
Using this package you can save/restore editor state
and delete auxiliary files.
New features of list_dialog() macro added by Tony Balinski in
the patch listDialogKeyWords are used by NEsession so you need to
compile NEdit from the CVS snapshot.

The package can be downloaded from Niki's Macro Collection or
directly from
ftp://194.67.66.164/nedit/nesession_1.tar.gz

I found incompleteness of NEdit macro language.

There is the $read_only system variable.
It state can not be changed using a macro, as a result,
read-only status of buffers is lost when you open saved sessions. 
Seems the macro set_read_only() must be added to the
Window Preferences Actions.

There is the $match_syntax_based system variable which is
undefined in general case. If one try to check it value,
error breaks macro execution, as result, the value can not
be saved. At the same time, action set_match_syntax_based()
exists. Seems that $match_syntax_based must be defined in
any case, but it value can be 0 or 1 or "undefined".

Should I make a bug report?

Alexey Kuznetsov 


More information about the Discuss mailing list