GNU bug report logs - #28937
26.0.60; Value after elisp docstring is filled (boundaries on forward-paragraph)

Previous Next

Package: emacs;

Reported by: Alex <agrambot <at> gmail.com>

Date: Sun, 22 Oct 2017 07:30:02 UTC

Severity: normal

Tags: confirmed, fixed

Found in version 26.0.60

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: Alex <agrambot <at> gmail.com>
Cc: 28937 <at> debbugs.gnu.org
Subject: bug#28937: 26.0.60; Value after elisp docstring is filled (boundaries on forward-paragraph)
Date: Thu, 04 Feb 2021 16:14:28 +0100
Alex <agrambot <at> gmail.com> writes:

> Consider:
>
> (defun test ()
>   "This is a test docstring.
> Here is some more text."
>   1
>   2
>   3
>   4
>   5)
>
> In an Emacs Lisp/Lisp Interaction buffer press `M-q' anywhere in the
> docstring to fill the above. Notice that 1 through 5 are all filled with
> the docstring, when none of them should be.

I've now changed this in Emacs 28 to narrow to the string before doing
the filling, which seems to fix this problem, and hopefully shouldn't
have any adverse effects (*cough*).

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




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

Previous Next


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