Last active
December 7, 2016 00:55
-
-
Save MetroWind/d4473afceec91f8313756db530c10287 to your computer and use it in GitHub Desktop.
Emacs python-mode docstring fill bug. Emacs fills the 1st line of a docstring incorrectly. The fill width is counted from the """, where for the rest of the lines, the fill is counted from the beginning of the line. See bugs https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20860 and https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21254
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- fill-column: 40; -*- | |
def f(): | |
"""a a a a a a a a a a a a a a a a a a a | |
a a a a a a a a a a a a a a a a a a | |
a a a a a | |
""" | |
def f(): | |
"""a a a a a a a a a a a a a a a a a a a | |
a a a a a a a a a a a a a a a a | |
a a a a a a a | |
""" | |
def f(): | |
"""a a a a a a a a a a a a a a a a a a a | |
a a a a a a a a a a a a a a | |
a a a a a a a a a | |
""" | |
# ↑ | |
# column 40 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment