pdee/pdee — Issue #26: Smart Operator
Author: davidmiller
Created: 2011-12-09 13:46:27+00:00
State: open

The version of Smart Operator in extensions is quite a long way from the upstream version [1] inasmuch as It lacks the improvements and bugfixes in the upstream version.

The only addition in the Pdee/extensions version has a better way to determine whether Point is in a comment in Python buffers.

The lack of the upstream bugfixes makes Smart-Operator quite hard to use for Ruby/Perl and also lacks support for string formatting, PEP 8 formatting of keyword arguments [2], shebangs &etc.

Propose merging with the Upstream version. (Actually with the fork[3] that supports PEP 8 kwargs )

Also, I would suggest enabling it by default although this is far more of a taste thing - thoughts/opinions etc?

[1] https://github.com/xwl/xwl-elisp/blob/master/smart-operator.el
[2] foo(bar=1) rather than foo(bar = 1)
[3] https://github.com/davidmiller/emacs/blob/master/ungot/smart-operator.el