GNU bug report logs -
#36056
26.2; Python Documentation String Indent In Auto Fill Mode
Previous Next
Reported by: ricercar <ricercar <at> lycos.com>
Date: Sun, 2 Jun 2019 14:55:01 UTC
Severity: normal
Tags: fixed
Found in version 26.2
Fixed in version 27.1
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #22 received at 36056 <at> debbugs.gnu.org (full text, mbox):
Hi. I was seeing unexpected filling behavior, and a bisection pointed to
this commit. I don't know if this is a "regression", but I'd like to get
the old behavior back. Let's say I had a python buffer with this:
r'''aaa
this is a test this is a test this is a test this is a test this is a test this is a test
'''
And let's say the point is at the end of the long line. Prior to the fix
to this bug if I hit M-q I'd get this:
r'''aaa
this is a test this is a test this is a test this is a test this is a
test this is a test
'''
This is what I'd expect. After the fix (i.e. if
fill-indent-according-to-mode is t) I get this:
r'''aaa
this is a test this is a test this is a test this is a test this is a
test this is a test
'''
For some reason it now wants to add one space at the beginning of every
line in a paragraph except the first. Is there some interpretation where
this the "correct" behavior? I can simply (setq
fill-indent-according-to-mode nil) in my local setup, but there could be
something actually incorrect here.
Thanks
This bug report was last modified 5 years and 249 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.