Closed selmanj closed 7 years ago
Thanks very much for your contribution!
I have slightly mixed feelings about this; on the one hand, sentence-end-double-space
is an established way of configuring this behavior, and people's opinions on how it should work differ. On the other, one of the major motivations for this mode to exist is to avoid projects having diff noise when people have different configurations for re-wrapping docstrings.
If someone configured sentence-end-double-space
in custom
because they just happened to prefer the aesthetics, it would mean they'd be mangling docstring sentence-ends in any shared project they were to touch.
I'm not sure what the right solution is here; perhaps a separate, explicit python-docstring-honor-sentence-end-double-space
that defaults to nil
?
That makes sense. I'll add a customize option that lets you use single spacing (defaulting to double space).
This is ready for review.
I've sat on this long enough :) thank you for your contribution.
python-docstring.el will respect the value of sentence-end-double-space.