unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Alex <agrambot@gmail.com>
Cc: 28937@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	[thread overview]
Message-ID: <87wnvnq2zv.fsf@gnus.org> (raw)
In-Reply-To: <87lgk3vdwf.fsf@gmail.com> (Alex's message of "Sun, 22 Oct 2017 01:29:36 -0600")

Alex <agrambot@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





  reply	other threads:[~2021-02-04 15:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-22  7:29 bug#28937: 26.0.60; Value after elisp docstring is filled (boundaries on forward-paragraph) Alex
2021-02-04 15:14 ` Lars Ingebrigtsen [this message]
2021-03-05 12:55   ` Basil L. Contovounesios
2021-03-05 13:02     ` Lars Ingebrigtsen
2021-03-05 13:36       ` Basil L. Contovounesios

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wnvnq2zv.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=28937@debbugs.gnu.org \
    --cc=agrambot@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).