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

2020-11-11 Thread Carsten Bormann
On 2020-11-11, at 19:54, Kent Watsen wrote: > > I don’t understand the "extraction code should not be needed any more” > comment, but know that Shepherds and, to a lesser extent, Copy Editors, rely > on being able to extract the YANG modules and/or instance examples from the > `xml2rfc` XML

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

2020-11-11 Thread Kent Watsen
As a contributor: I don’t like the YIN format, but Lada makes some good points below. I don’t understand the "extraction code should not be needed any more” comment, but know that Shepherds and, to a lesser extent, Copy Editors, rely on being able to extract the YANG modules and/or instance

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

2020-11-11 Thread Ladislav Lhotka
tom petch writes: > > > In the category of general annoyance, rather than the points above, the IETF > has abolished the page number. Look at recent RFC and pagination has > vanished. The justification is that RFC are now available in different > format and that page numbers are not

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

2020-11-10 Thread tom petch
From: netmod on behalf of William Lupton Sent: 09 November 2020 09:38 To: NetMod WG Cc: tools-disc...@ietf.org Subject: Re: [netmod] [Tools-discuss] reflow of YANG descriptions, and general YANG format annoyances I ensured that I have the latest version of the Emacs YANG mode, and find

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] [Tools-discuss] reflow of YANG descriptions, and general YANG format annoyances

2020-11-06 Thread Carsten Bormann
On 2020-11-07, at 01:06, Michael Richardson wrote: > > M-q reflowed a paragraph, but made it too long with 76 columns wide. Is your .emacs setting fill-column to a non-standard value? C-x f 69 RET or put // -*- fill-column: 69 -*- into the first line of your YANG file (in a comment) or

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

2020-11-06 Thread Michael Richardson
Carsten Bormann wrote: > On 2020-11-06, at 22:24, Michael Richardson wrote: >> >> In one of my drafts, I guess some minor wording tweaks in one draft leads to >> some lines exceeding 72 characters (by one). Argh. Change from C-mode to >> text-mode. reflow. >

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

2020-11-06 Thread Carsten Bormann
On 2020-11-06, at 22:24, Michael Richardson wrote: > > In one of my drafts, I guess some minor wording tweaks in one draft leads to > some lines exceeding 72 characters (by one). Argh. Change from C-mode to > text-mode. reflow. https://www.emacswiki.org/emacs/yang-mode.el