mlf176f2/auto-indent-mode.el — Issue #2: Strange EOL kill behavior
Author: tdavis
Created: 2012-02-13 17:04:20+00:00
State: open

With the default behavior, given a line like this (where `|` is the cursor):

thing(a=1,|
b=1)

`C-k` results in:

|thing(a=1, b=1)

I've played extensively with auto-indent customize options and nothing fixes this behavior; the best I can get, actually, is this:

thing(a=1,
|)

But what I really want is what auto-indent claims the default should do: at the end of a line, killing joins the next line and removes whitespace. Not only is whitespace not removed (making it no better than the default), it actually puts my cursor back Home, which is way worse than the default without auto-indent. I also tried disabling other modes in the buffer to no effect.

Running Emacs 24; this example with python-mode.

Any thoughts? I'd really love if the default behavior worked; I hate having to do `C-k M-SPC`, especially on the Kinesis...