GNU bug report logs - #28085
24.5; Commentary section is not displayed correctly

Previous Next

Package: emacs;

Reported by: Takushi Usami <takushi1969 <at> gmail.com>

Date: Mon, 14 Aug 2017 15:38:02 UTC

Severity: normal

Tags: fixed, patch

Found in version 24.5

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Takushi Usami <takushi1969 <at> gmail.com>
Cc: 28085 <at> debbugs.gnu.org
Subject: bug#28085: 24.5; Commentary section is not displayed correctly
Date: Mon, 10 Aug 2020 16:54:01 +0200
Takushi Usami <takushi1969 <at> gmail.com> writes:

>   	    (when commentary
> + 	      (let ((pos 0)
> + 		    (omit-regex "^\\(?:;;;[[:space:]]*Commentary.*?\n\\|;;\\)"))
> + 		(while (setq pos (string-match omit-regex commentary pos))
> + 		  (setq commentary (replace-match "" t t commentary))))

This was fixed in a different way some months back:

commit 963a9ffd66cb29f0370e9a4b854dddda242c54a6
Author:     Bruno Félix Rezende Ribeiro <oitofelix <at> gnu.org>
AuthorDate: Tue Oct 8 04:32:18 2019 -0300
Commit:     Stefan Kangas <stefankangas <at> gmail.com>
CommitDate: Thu Jan 23 22:57:23 2020 +0100

    Globally sanitize single-file package long descriptions (Bug#37548)
    
    Consistent with multi-file package descriptions which don’t have
    commentary sections nor double semicolon prefixes.
    * lisp/emacs-lisp/lisp-mnt.el (lm-commentary): Remove commentary
    header, double semicolon prefixes of each line, trailing new-lines and
    trailing white-space from commentary.
    * lisp/emacs-lisp/package.el (package--get-description)
    (describe-package-1):
    * lisp/finder.el (finder-commentary):
    * lisp/info.el (Info-finder-find-node): Remove ad-hoc sanitation.

So I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 280 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.