Re: HTML-formatted NEWS for Emacs 29
Peter Oliver <[email protected]>
| Newsgroups | gmane.emacs.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 28 Aug 2026, Sean Whitton wrote:
> but for the edits to
> the NEWS files, can I regenerate those myself instead of just applying
> your diff? That way we verify everything is in sync.
Sure. My process was:
1. Observe that the following code in make-news-html-file would move back too far if the lisp snippet it had found in the NEWS file was not preceded by a blank line:
;; Format code blocks.
(while (re-search-forward "^ " nil t)
(let ((elisp-block (looking-at "(")))
(backward-paragraph)
2. Run `grep -B1 '^ (' etc/NEWS*`, and manually fix anything that looked like it would trip up the code mentioned in 1.
--
Peter Oliver