[ nedit-Patches-1745528 ] autoload macrofiles on file open

SourceForge.net noreply at sourceforge.net
Fri Jun 29 23:01:29 CEST 2007


Patches item #1745528, was opened at 2007-06-29 23:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=311005&aid=1745528&group_id=11005

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Program
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Bert Wesarg (lebert)
Assigned to: Nobody/Anonymous (nobody)
Summary: autoload macrofiles on file open

Initial Comment:
This is an other approach to address the same functionality of the NIM (NEdit Inline Macros) approach.
The problem I have with the NIM approach is, that you must alter the file, but this is sometimes impossible (like in an open source project where you can't just alter all files, think of the linux kernel) or in a project with many files (again think of the linux kernel).

Here NEdit looks recursive from / down to the file for files named ".nm" and load these as macro files. With this way you can easily alter settings for a whole subtree. As an improved functionality, on the way down a file named ".<language mode>.nm" is also loaded as macro file, after the ".nm" file, except for Plain mode files.

This is currently only executed when an existing file is opened. This should also fire when a language mode change away from plain is triggered and maybe other places.

There is also currently no setting to disable this, or limit this to some directories, language modes, or to 'save'/'secure' macro code. I don't know and haven't thought about this yet whether this is needed.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=311005&aid=1745528&group_id=11005


More information about the Develop mailing list