bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#28085: 24.5; Commentary section is not displayed correctly


From: Lars Ingebrigtsen
Subject: bug#28085: 24.5; Commentary section is not displayed correctly
Date: Mon, 10 Aug 2020 16:54:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Takushi Usami <takushi1969@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@gnu.org>
AuthorDate: Tue Oct 8 04:32:18 2019 -0300
Commit:     Stefan Kangas <stefankangas@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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]