bug#81437: 32.0.50; [PATCH] Improve styling of `emacs-build-description'
Eli Zaretskii <[email protected]>
| Newsgroups | gmane.emacs.bugs |
|---|---|
| Message-ID | <[email protected]> |
> Cc: [email protected] > Date: Thu, 23 Jul 2026 10:11:30 +0300 > From: Eli Zaretskii <[email protected]> > > > Date: Wed, 22 Jul 2026 11:01:14 +0800 > > From: Huang Jing <[email protected]> > > Cc: Huang Jing <[email protected]>, > > [email protected] > > > > This part (from | macOS xxx| to |macOS xxx|): > > > > (defun report-emacs-bug-insert-to-mailer () > > "Send the message to your preferred mail client. > > @@ -127,7 +128,8 @@ This requires either the macOS \"open\" command, or the freedesktop > > (goto-char (point-min)) > > (if (re-search-forward (format "^%s\\s-*:\\s-+\\(.*\\)$" s) > > nil t) > > - (setq os (concat os " " (match-string 1))))))) > > + (setq os (if os (concat os " " (match-string 1)) > > + (match-string 1))))))) > > os)) > > ((eq system-type 'windows-nt) > > (or report-emacs-bug--os-description > > I fixed this (in a slightly different way). > > > and this part (from |System Description| to |System description|): > > > > @@ -411,18 +413,19 @@ copy text to your preferred mail program.\n" > > (if (fboundp 'x-server-vendor) > > (condition-case nil > > ;; This is used not only for X11 but also W32 and others. > > - (insert "Windowing system distributor '" (x-server-vendor) > > - "', version " > > + (insert "Windowing system distributor: " (x-server-vendor) " " > > (mapconcat #'number-to-string (x-server-version) ".") "\n") > > (error t))) > > (let ((os (ignore-errors (report-emacs-bug--os-description)))) > > (if (stringp os) > > - (insert "System Description: " os "\n\n"))) > > + (insert "System description: " os "\n\n"))) > > > > The window system distributor part is a good to have one, but strictly > > speaking is not a ``typo fix.'' > > Right, so I see no reason to change this. No further comments, so I'm now closing this bug.