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: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: 28937 <at> debbugs.gnu.org, Alex <agrambot <at> gmail.com>
Subject: bug#28937: 26.0.60; Value after elisp docstring is filled (boundaries on forward-paragraph)
Date: Fri, 05 Mar 2021 14:02:10 +0100
"Basil L. Contovounesios" <contovob <at> tcd.ie> writes:

>> 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*).
>
> (*cough*)
>
> 0. emacs -Q
> 1. (progn
>      (insert "\n\n(defvar foo nil\n  \"First.\nSecond\n\nThird.\")\n")
>      (end-of-line -2)
>      (dotimes (_ 15)
>        (insert " abcd")))
> 2. C-x C-e
> 3. M-q

(*cough* *cough*)

I hope it's not catching!

This should be fixed now -- I forgot to preserve point after doing the
narrowing.

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




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

Previous Next


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