From: Noam Postavsky <npostavs@gmail.com>
To: "Basil L. Contovounesios" <contovob@tcd.ie>
Cc: ricercar <ricercar@lycos.com>, 36056@debbugs.gnu.org
Subject: bug#36056: 26.2; Python Documentation String Indent In Auto Fill Mode
Date: Sat, 22 Jun 2019 19:31:48 -0400 [thread overview]
Message-ID: <87sgs1tcwr.fsf@gmail.com> (raw)
In-Reply-To: <87h897scxi.fsf@tcd.ie> (Basil L. Contovounesios's message of "Mon, 03 Jun 2019 01:57:45 +0100")
tags 36056 fixed
close 36056 27.1
quit
"Basil L. Contovounesios" <contovob@tcd.ie> writes:
> I'm not familiar with this part of Emacs or python.el, and I don't know
> what else this may break, but from stepping through do-auto-fill I
> discovered the following setting gives the desired auto-fill behaviour:
>
> (add-hook 'python-mode-hook
> (lambda ()
> (setq-local fill-indent-according-to-mode t)))
Seems like fill-indent-according-to-mode isn't consulted for anything
else, so I've pushed a fix to master which sets this locally in
python-mode. The comment on fill-indent-according-to-mode says it can
break cc-mode filling "tricks", but hopefully python-mode won't have any
similar problems.
0f01a58c39 2019-06-22T19:25:44-04:00 "Fix python docstring auto-fill (Bug#36056)"
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=0f01a58c390faf30c33b369fc81b2a14ec5b7f2e
next prev parent reply other threads:[~2019-06-22 23:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-02 9:01 bug#36056: 26.2; Python Documentation String Indent In Auto Fill Mode ricercar
2019-06-03 0:57 ` Basil L. Contovounesios
2019-06-22 23:31 ` Noam Postavsky [this message]
2019-09-07 21:26 ` bug#36056: Regression? Dima Kogan
2019-09-08 14:46 ` bug#36056: Regression? (Python Documentation String Indent In Auto Fill Mode) Noam Postavsky
2019-09-09 22:02 ` Dima Kogan
2019-09-13 1:49 ` Noam Postavsky
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sgs1tcwr.fsf@gmail.com \
--to=npostavs@gmail.com \
--cc=36056@debbugs.gnu.org \
--cc=contovob@tcd.ie \
--cc=ricercar@lycos.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.