Re: [netmod] [Tools-discuss] reflow of YANG descriptions, and general YANG format annoyances

2020-11-09 Thread William Lupton
I ensured that I have the latest version of the Emacs YANG mode, and find that M-q works well to wrap description strings, but... 1. Should I expect intelligent behaviour of RET and TAB when within a description (or other) string? I find that (in this context) RET positions the cursor at

Re: [netmod] reflow of YANG descriptions, and general YANG format annoyances

2020-11-09 Thread Ladislav Lhotka
Hi, my solution that I've been using for years is to write YANG modules in the YIN syntax. With the nXML mode of emacs this is actually rather effective (statement completion, on-the-fly validation). I also extended the YIN syntax with a few XML elements from the XHTML namespace. This helps