On Wed, Dec 8, 2021 at 10:52 AM vitalije <[email protected]> wrote:
> Today, I've completely rewritten split_root function. This was necessary > to allow importing files from mypy repository. > Rev ee7ff9c51f8a7 successfully imports all python files from mypy > repository except one. One of the files (misc/upload-pypi.py) has a line > in the comments that looks like section reference and Leo can't produce > same output as is the input, because the section is missing. > Excellent. Well done. > > Regarding your condition that new importer must use vnode_info, IMHO that > would be just a make-work. There is no need for any post pass because new > importer deals with decorators and comment lines as well as blank lines, > and it adds at-language and at-tabwidth directives. > I'll agree with you for now. We can revisit this question later if need be. > I plan only to clean up a little this new version and to add some comments > and explanations. In case you find some other input that new importer can't > import, I'll try my best to fix the issue. > Let me know when you want to merge the importers branch into devel. But I don't plan to use vnode_info. If you really wish it, you can add it > yourself. It would be easy to reverse engineer vnode_info from the > resulting outline, but I have zero interest doing that. > No problem. I think the issue will remain moot. > I'll write an ENB on the subject when I finish cleaning and documenting > code. > Thanks. I'll look forward to it. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAMF8tS0dZNrXboHa2THRAH51Pe_2mR8y1GpnoToKqF5d%2BvqZzw%40mail.gmail.com.
