bbatsov/emacs-prelude — Issue #32: C-p and C-n seem to (me at least) to randomly respect column cursor placement
Author: vinbarnes
Created: 2011-11-29 04:02:13+00:00
State: open

When I hit C-a to go to the beginning of a line and then navigate up or down (using C-p or C-n) the cursor doesn't always respect the first column. I've tried to present a sequence of commands and the resulting cursor placement.

https://img.skitch.com/20111129-byf1pk9y3jpk2j18q1anruadnp.jpg

This seems confusing to me as I'd expect the cursor to hug the first column when navigating a line at a time. And indeed this is the case *most* of the time. It's not that big of a deal but sometimes it catches me by surprise when I've set my mark and navigated up or down to set the end, copied (or cut) and then pasted the region only to realize that the end mark was indented one column in. This is most troublesome when cutting as it requires manual fixing to go back and indent the code. Again this isn't that big of a deal except when it happens it something that syntactically requires proper indentation like HAML.

Through the years, I don't remember having this issue in other emacs implementations or with other included modules.

Thanks.