Re: HTML-formatted NEWS for Emacs 29
Eli Zaretskii <[email protected]>
| Newsgroups | gmane.emacs.devel |
|---|---|
| Message-ID | <[email protected]> |
> Date: Fri, 28 Aug 2026 19:14:12 +0100 (BST) > From: Peter Oliver <[email protected]> > cc: [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. It would be good not to have such requirements for formatting NEWS; we already have too many. Otherwise, someone will; need to remember to run the above before release. to make sure the expectations are met.